mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Implement the full V8 ABI for incoming arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24825 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -367,7 +367,7 @@ void V8ISel::LoadArgumentsToVirtualRegs (Function *LF) {
|
||||
// FIXME: We could avoid storing any args onto the stack that don't
|
||||
// need to be in memory, because they come before the ellipsis in the
|
||||
// parameter list (and thus could never be accessed through va_arg).
|
||||
if (LF->getFunctionType ()->isVarArg ()) {
|
||||
if (LF->getFunctionType()->isVarArg()) {
|
||||
for (unsigned i = 0; i < 6; ++i) {
|
||||
int FI = F->getFrameInfo()->CreateFixedObject(4, ArgOffset);
|
||||
assert (IAR != IAREnd
|
||||
|
Reference in New Issue
Block a user