Index: src/ia32/lithium-codegen-ia32.cc |
=================================================================== |
--- src/ia32/lithium-codegen-ia32.cc (revision 6592) |
+++ src/ia32/lithium-codegen-ia32.cc (working copy) |
@@ -2142,6 +2142,9 @@ |
ASSERT(receiver.is(eax)); |
v8::internal::ParameterCount actual(eax); |
__ InvokeFunction(edi, actual, CALL_FUNCTION, &safepoint_generator); |
+ |
+ // Restore context. |
+ __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
} |