aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2002-10-28 00:28:31 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2002-10-28 00:28:31 +0000
commitfce1143bcfa73f61845002fa50473d1a01384202 (patch)
treef8953fdcdd5a3ff127e9897746af825ff28eebc3 /lib/Target/TargetMachine.cpp
parent6f8fd25697c2aec8c915c34f3c90ee52b77b8f56 (diff)
Changed `MachineCodeForMethod' to `MachineFunction'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r--lib/Target/TargetMachine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp
index 5a0acfd439..a61a804088 100644
--- a/lib/Target/TargetMachine.cpp
+++ b/lib/Target/TargetMachine.cpp
@@ -14,7 +14,7 @@
#include "llvm/CodeGen/InstrScheduling.h"
#include "llvm/CodeGen/RegisterAllocation.h"
#include "llvm/CodeGen/PeepholeOpts.h"
-#include "llvm/CodeGen/MachineCodeForMethod.h"
+#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineCodeForInstruction.h"
#include "llvm/Reoptimizer/Mapping/MappingInfo.h"
#include "llvm/Reoptimizer/Mapping/FInfo.h"
@@ -87,7 +87,7 @@ public:
}
bool runOnFunction(Function &F) {
- MachineCodeForMethod::construct(&F, Target);
+ MachineFunction::construct(&F, Target);
return false;
}
};
@@ -117,7 +117,7 @@ struct FreeMachineCodeForFunction : public FunctionPass {
void
TargetMachine::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
{
- // Construct and initialize the MachineCodeForMethod object for this fn.
+ // Construct and initialize the MachineFunction object for this fn.
PM.add(new ConstructMachineCodeForFunction(*this));
//Insert empty stackslots in the stack frame of each function