[C++11] Mark the target fast isel classes as 'final' so that the compiler can de...
authorCraig Topper <craig.topper@gmail.com>
Tue, 18 Mar 2014 07:27:13 +0000 (07:27 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 18 Mar 2014 07:27:13 +0000 (07:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204123 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMFastISel.cpp
lib/Target/PowerPC/PPCFastISel.cpp
lib/Target/X86/X86FastISel.cpp

index de6a03cde5ce23738fb87af163e1f7fc13280d9f..a81917638bb7b1a7f079cea93a5c6daaa87feced 100644 (file)
@@ -73,7 +73,7 @@ namespace {
      }
   } Address;
 
-class ARMFastISel : public FastISel {
+class ARMFastISel final : public FastISel {
 
   /// Subtarget - Keep a pointer to the ARMSubtarget around so that we can
   /// make the right decision when generating code for different targets.
index aedee7c207fca71d526145a43eec9387636de02b..e0c89fa8ce8b2ae2ea1b0572edebed24f90f1661 100644 (file)
@@ -80,7 +80,7 @@ typedef struct Address {
    }
 } Address;
 
-class PPCFastISel : public FastISel {
+class PPCFastISel final : public FastISel {
 
   const TargetMachine &TM;
   const TargetInstrInfo &TII;
index 2a0eb247dd518c5c9fe37c4d9e7cbc13433c2370..0751af45e33472c2d733707e2692f79c13664eda 100644 (file)
@@ -41,7 +41,7 @@ using namespace llvm;
 
 namespace {
 
-class X86FastISel : public FastISel {
+class X86FastISel final : public FastISel {
   /// Subtarget - Keep a pointer to the X86Subtarget around so that we can
   /// make the right decision when generating code for different targets.
   const X86Subtarget *Subtarget;