aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-26 23:49:58 +0000
committerChris Lattner <sabre@nondot.org>2003-07-26 23:49:58 +0000
commitd281de21815d4766cf4960ad2ef075bee3beac0b (patch)
tree53af54b30520d108ba121a743f596aa9965ba715 /lib/Target/X86/X86TargetMachine.cpp
parent1194e9501984daf0d3237ed1bf18a156173e7fd4 (diff)
Rename function to be more consistent with filename
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 9137f6befc..a3aa458d77 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -45,7 +45,7 @@ X86TargetMachine::X86TargetMachine(unsigned Config)
bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
std::ostream &Out) {
PM.add(createLowerSwitchPass());
- PM.add(createSimpleX86InstructionSelector(*this));
+ PM.add(createX86SimpleInstructionSelector(*this));
PM.add(createLocalRegisterAllocator());
PM.add(createX86FloatingPointStackifierPass());
PM.add(createPrologEpilogCodeInserter());
@@ -62,7 +62,7 @@ bool X86TargetMachine::addPassesToJITCompile(PassManager &PM) {
// FIXME: Implement the switch instruction in the instruction selector!
PM.add(createLowerSwitchPass());
- PM.add(createSimpleX86InstructionSelector(*this));
+ PM.add(createX86SimpleInstructionSelector(*this));
// TODO: optional optimizations go here