summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit7ae7f84cf3570e82facb0cf9032084e7c4549191 (patch)
treeadbe7ea506a7470b8feaea2f9b8539281dff5d05 /llvm/lib/Target/TargetMachine.cpp
parent52c2d10a19ed5fc58844ae223561ba6653f995f2 (diff)
downloadbcm5719-llvm-7ae7f84cf3570e82facb0cf9032084e7c4549191.tar.gz
bcm5719-llvm-7ae7f84cf3570e82facb0cf9032084e7c4549191.zip
Changed `MachineCodeForMethod' to `MachineFunction'.
llvm-svn: 4301
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index 5a0acfd4399..a61a804088e 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud