aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/SparcV9StackSlots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/SparcV9/SparcV9StackSlots.cpp')
-rw-r--r--lib/Target/SparcV9/SparcV9StackSlots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/SparcV9StackSlots.cpp b/lib/Target/SparcV9/SparcV9StackSlots.cpp
index 693d29e50d..90aca0d864 100644
--- a/lib/Target/SparcV9/SparcV9StackSlots.cpp
+++ b/lib/Target/SparcV9/SparcV9StackSlots.cpp
@@ -40,7 +40,7 @@ namespace {
unsigned Size = Target.getTargetData().getTypeSize(PtrInt);
Value *V = Constant::getNullValue(Type::IntTy);
- MF.getInfo()->allocateLocalVar(V, 2*Size);
+ MF.getInfo<SparcV9FunctionInfo>()->allocateLocalVar(V, 2*Size);
return true;
}
};