| Index: src/builtins/arm/builtins-arm.cc
|
| diff --git a/src/builtins/arm/builtins-arm.cc b/src/builtins/arm/builtins-arm.cc
|
| index 7964fa8e4bec5b583bd6cbd92c7ccbc40f53d274..87ab53a8d82a4914a9586c9874787e285d51d46e 100644
|
| --- a/src/builtins/arm/builtins-arm.cc
|
| +++ b/src/builtins/arm/builtins-arm.cc
|
| @@ -737,8 +737,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
|
| __ str(r2, FieldMemOperand(r1, JSGeneratorObject::kResumeModeOffset));
|
|
|
| // Load suspended function and context.
|
| - __ ldr(cp, FieldMemOperand(r1, JSGeneratorObject::kContextOffset));
|
| __ ldr(r4, FieldMemOperand(r1, JSGeneratorObject::kFunctionOffset));
|
| + __ ldr(cp, FieldMemOperand(r4, JSFunction::kContextOffset));
|
|
|
| // Flood function if we are stepping.
|
| Label prepare_step_in_if_stepping, prepare_step_in_suspended_generator;
|
|
|