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:
897bf0d
)
Fix off-by-one in Interpreter::getFirstVarArg(), which was punishing
author
Brian Gaeke
<gaeke@uiuc.edu>
Fri, 13 Feb 2004 06:18:39 +0000
(06:18 +0000)
committer
Brian Gaeke
<gaeke@uiuc.edu>
Fri, 13 Feb 2004 06:18:39 +0000
(06:18 +0000)
any attempts by LLI to use varargs (possibly left over from the introduction
of IntrinsicLowering??)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11370
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/ExecutionEngine/Interpreter/Interpreter.h
patch
|
blob
|
history
diff --git
a/lib/ExecutionEngine/Interpreter/Interpreter.h
b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 5757327c208cde495d39f26baf29bb0f40accf2d..ce5285e3523991532d50e049c8a59a57e4d0b8f5 100644
(file)
--- a/
lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/
lib/ExecutionEngine/Interpreter/Interpreter.h
@@
-159,7
+159,7
@@
public:
}
GenericValue *getFirstVarArg () {
- return &(ECStack
[ECStack.size () - 2]
.VarArgs[0]);
+ return &(ECStack
.back ()
.VarArgs[0]);
}
//FIXME: private: