From 7ae7f84cf3570e82facb0cf9032084e7c4549191 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Mon, 28 Oct 2002 00:28:31 +0000 Subject: Changed `MachineCodeForMethod' to `MachineFunction'. llvm-svn: 4301 --- llvm/lib/Target/TargetMachine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Target/TargetMachine.cpp') 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 -- cgit v1.2.3