Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index b033fdec47bcaebf6315d3c390fabdc530dc54fc..b2703b3a40db9ec3e56cb5a88c9bd0029b5917d8 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -748,8 +748,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ StoreP(r4, FieldMemOperand(r3, JSGeneratorObject::kResumeModeOffset)); |
// Load suspended function and context. |
- __ LoadP(cp, FieldMemOperand(r3, JSGeneratorObject::kContextOffset)); |
__ LoadP(r6, FieldMemOperand(r3, JSGeneratorObject::kFunctionOffset)); |
+ __ LoadP(cp, FieldMemOperand(r6, JSFunction::kContextOffset)); |
// Flood function if we are stepping. |
Label prepare_step_in_if_stepping, prepare_step_in_suspended_generator; |