aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/SparcV9/SparcV9InstrSelection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/SparcV9InstrSelection.cpp b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
index 8966db2f3e..d1b7149960 100644
--- a/lib/Target/SparcV9/SparcV9InstrSelection.cpp
+++ b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
@@ -1858,7 +1858,7 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
Method* method = instr->getParent()->getParent();
MachineCodeForMethod& mcInfo = MachineCodeForMethod::get(method);
- int offsetFromFP = mcInfo.allocateLocalVar(target, instr);
+ int offsetFromFP = mcInfo.allocateLocalVar(target, instr, (unsigned int) tsize);
// Create a temporary Value to hold the constant offset.
// This is needed because it may not fit in the immediate field.