Index: src/builtins/x87/builtins-x87.cc |
diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc |
index 5c50d1cd326996bcfd617403701c178cd46f1201..dba2822c5f6cf07d37249bce623b81d2ed3fa1ec 100644 |
--- a/src/builtins/x87/builtins-x87.cc |
+++ b/src/builtins/x87/builtins-x87.cc |
@@ -387,8 +387,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; |