| Index: src/ia32/codegen-ia32.cc
|
| ===================================================================
|
| --- src/ia32/codegen-ia32.cc (revision 4427)
|
| +++ src/ia32/codegen-ia32.cc (working copy)
|
| @@ -11740,7 +11740,17 @@
|
|
|
| // Result returned in eax, or eax+edx if result_size_ is 2.
|
|
|
| + // Check stack alignment.
|
| + if (FLAG_debug_code) {
|
| + __ CheckStackAlignment();
|
| + }
|
| +
|
| if (do_gc) {
|
| + // Pass failure code returned from last attempt as first argument to
|
| + // PerformGC. No need to use PrepareCallCFunction/CallCFunction here as the
|
| + // stack alignment is known to be correct. This function takes one argument
|
| + // which is passed on the stack, and we know that the stack has been
|
| + // prepared to pass at least one argument.
|
| __ mov(Operand(esp, 0 * kPointerSize), eax); // Result.
|
| __ call(FUNCTION_ADDR(Runtime::PerformGC), RelocInfo::RUNTIME_ENTRY);
|
| }
|
|
|