mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-28 22:43:29 +00:00
Fix off-by-one in Interpreter::getFirstVarArg(), which was punishing
any attempts by LLI to use varargs (possibly left over from the introduction of IntrinsicLowering??) llvm-svn: 11370
This commit is contained in:
parent
c16e56ea41
commit
40b9cf9615
@ -159,7 +159,7 @@ public:
|
||||
}
|
||||
|
||||
GenericValue *getFirstVarArg () {
|
||||
return &(ECStack[ECStack.size () - 2].VarArgs[0]);
|
||||
return &(ECStack.back ().VarArgs[0]);
|
||||
}
|
||||
|
||||
//FIXME: private:
|
||||
|
Loading…
Reference in New Issue
Block a user