mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 01:15:32 +00:00
[C++11] Mark the target fast isel classes as 'final' so that the compiler can de-virtualize some of the internal calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204123 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b645797db
commit
a9d93e3c74
@ -73,7 +73,7 @@ namespace {
|
|||||||
}
|
}
|
||||||
} Address;
|
} Address;
|
||||||
|
|
||||||
class ARMFastISel : public FastISel {
|
class ARMFastISel final : public FastISel {
|
||||||
|
|
||||||
/// Subtarget - Keep a pointer to the ARMSubtarget around so that we can
|
/// Subtarget - Keep a pointer to the ARMSubtarget around so that we can
|
||||||
/// make the right decision when generating code for different targets.
|
/// make the right decision when generating code for different targets.
|
||||||
|
@ -80,7 +80,7 @@ typedef struct Address {
|
|||||||
}
|
}
|
||||||
} Address;
|
} Address;
|
||||||
|
|
||||||
class PPCFastISel : public FastISel {
|
class PPCFastISel final : public FastISel {
|
||||||
|
|
||||||
const TargetMachine &TM;
|
const TargetMachine &TM;
|
||||||
const TargetInstrInfo &TII;
|
const TargetInstrInfo &TII;
|
||||||
|
@ -41,7 +41,7 @@ using namespace llvm;
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
class X86FastISel : public FastISel {
|
class X86FastISel final : public FastISel {
|
||||||
/// Subtarget - Keep a pointer to the X86Subtarget around so that we can
|
/// Subtarget - Keep a pointer to the X86Subtarget around so that we can
|
||||||
/// make the right decision when generating code for different targets.
|
/// make the right decision when generating code for different targets.
|
||||||
const X86Subtarget *Subtarget;
|
const X86Subtarget *Subtarget;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user