Index: src/builtins/mips64/builtins-mips64.cc |
diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc |
index 1473d711c1bc67e97c681a4f57152d088c75c8cd..1025836959ae5b386d4867da8ca5310256e7f968 100644 |
--- a/src/builtins/mips64/builtins-mips64.cc |
+++ b/src/builtins/mips64/builtins-mips64.cc |
@@ -740,8 +740,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ sd(a2, FieldMemOperand(a1, JSGeneratorObject::kResumeModeOffset)); |
// Load suspended function and context. |
- __ ld(cp, FieldMemOperand(a1, JSGeneratorObject::kContextOffset)); |
__ ld(a4, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); |
+ __ ld(cp, FieldMemOperand(a4, JSFunction::kContextOffset)); |
// Flood function if we are stepping. |
Label prepare_step_in_if_stepping, prepare_step_in_suspended_generator; |