Index: src/builtins/mips/builtins-mips.cc |
diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc |
index bdc2135c694a497fbdceff2842a071c5fe230b77..4c216213bb891a8c8200232940a65339f95a9911 100644 |
--- a/src/builtins/mips/builtins-mips.cc |
+++ b/src/builtins/mips/builtins-mips.cc |
@@ -864,8 +864,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ sw(a2, FieldMemOperand(a1, JSGeneratorObject::kResumeModeOffset)); |
// Load suspended function and context. |
- __ lw(cp, FieldMemOperand(a1, JSGeneratorObject::kContextOffset)); |
__ lw(t0, FieldMemOperand(a1, JSGeneratorObject::kFunctionOffset)); |
+ __ lw(cp, FieldMemOperand(t0, JSFunction::kContextOffset)); |
// Flood function if we are stepping. |
Label prepare_step_in_if_stepping, prepare_step_in_suspended_generator; |