aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/SparcV9StackSlots.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/SparcV9/SparcV9StackSlots.cpp
parent6f8fd25697c2aec8c915c34f3c90ee52b77b8f56 (diff)
downloadexternal_llvm-fce1143bcfa73f61845002fa50473d1a01384202.zip
external_llvm-fce1143bcfa73f61845002fa50473d1a01384202.tar.gz
external_llvm-fce1143bcfa73f61845002fa50473d1a01384202.tar.bz2
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/SparcV9/SparcV9StackSlots.cpp')
-rw-r--r--lib/Target/SparcV9/SparcV9StackSlots.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SparcV9/SparcV9StackSlots.cpp b/lib/Target/SparcV9/SparcV9StackSlots.cpp
index c7584d2..10cccd3 100644
--- a/lib/Target/SparcV9/SparcV9StackSlots.cpp
+++ b/lib/Target/SparcV9/SparcV9StackSlots.cpp
@@ -13,7 +13,7 @@
#include "llvm/Function.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Pass.h"
-#include "llvm/CodeGen/MachineCodeForMethod.h"
+#include "llvm/CodeGen/MachineFunction.h"
class StackSlots : public FunctionPass {
const TargetMachine &Target;
@@ -32,7 +32,7 @@ public:
const Type *PtrInt = PointerType::get(Type::IntTy);
unsigned Size = Target.DataLayout.getTypeSize(PtrInt);
- MachineCodeForMethod &mcInfo = MachineCodeForMethod::get(&F);
+ MachineFunction &mcInfo = MachineFunction::get(&F);
Value *V = Constant::getNullValue(Type::IntTy);
mcInfo.allocateLocalVar(Target, V, 2*Size);
return true;