Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index 61b547a88b26fbfb87e9cb5af503a50e27d1134b..eebca04bea8735e91825ad728a0f59f8233d6de5 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -386,8 +386,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ mov(FieldOperand(ebx, JSGeneratorObject::kResumeModeOffset), edx); |
// Load suspended function and context. |
- __ mov(esi, FieldOperand(ebx, JSGeneratorObject::kContextOffset)); |
__ mov(edi, FieldOperand(ebx, JSGeneratorObject::kFunctionOffset)); |
+ __ mov(esi, FieldOperand(edi, JSFunction::kContextOffset)); |
// Flood function if we are stepping. |
Label prepare_step_in_if_stepping, prepare_step_in_suspended_generator; |