projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c47c72
)
Fix use of AllocateLocalVar for alloca instruction!
author
Vikram S. Adve
<vadve@cs.uiuc.edu>
Thu, 15 Nov 2001 15:22:39 +0000
(15:22 +0000)
committer
Vikram S. Adve
<vadve@cs.uiuc.edu>
Thu, 15 Nov 2001 15:22:39 +0000
(15:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1319
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/SparcV9InstrSelection.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9InstrSelection.cpp
b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
index 8966db2f3e4a3693191313bdd2864d6e57ccf417..d1b7149960dfd078331c266c210d59a51ec893d7 100644
(file)
--- 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.