forked from OSchip/llvm-project
Fix NotTest - round up extraStack to the nearest doubleword, if it is
not zero. llvm-svn: 17728
This commit is contained in:
parent
fe3f4e6ebd
commit
347a000be6
|
@ -13,7 +13,7 @@ SingleSource/Benchmarks (excluding Shootout-C++):
|
|||
fldry heapsort objinst Queens chomp misr pi whetstone bigfib
|
||||
|
||||
SingleSource/UnitTests:
|
||||
C++Catch SimpleC++Test 2002-05-02-ArgumentTest 2002-05-03-NotTest
|
||||
C++Catch SimpleC++Test 2002-05-02-ArgumentTest
|
||||
2003-05-07-VarArgs 2003-07-09-SignedArgs 2003-08-11-VaListArg
|
||||
|
||||
To-do
|
||||
|
|
|
@ -780,6 +780,8 @@ void V8ISel::visitCallInst(CallInst &I) {
|
|||
default: extraStack += 4; break;
|
||||
}
|
||||
}
|
||||
// Round up extra stack size to the nearest doubleword.
|
||||
if (extraStack) { extraStack = (extraStack + 7) & ~7; }
|
||||
|
||||
// Deal with args
|
||||
static const unsigned OutgoingArgRegs[] = { V8::O0, V8::O1, V8::O2, V8::O3,
|
||||
|
|
Loading…
Reference in New Issue