Index: src/builtins/ppc/builtins-ppc.cc |
diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc |
index 96e2d9bfbcd3aac108313fd2406849e2164a7cdc..c0f5d299b750a46b5efdecb3b9af58fbc631d138 100644 |
--- a/src/builtins/ppc/builtins-ppc.cc |
+++ b/src/builtins/ppc/builtins-ppc.cc |
@@ -749,8 +749,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) { |
__ StoreP(r5, FieldMemOperand(r4, JSGeneratorObject::kResumeModeOffset), r0); |
// Load suspended function and context. |
- __ LoadP(cp, FieldMemOperand(r4, JSGeneratorObject::kContextOffset)); |
__ LoadP(r7, FieldMemOperand(r4, JSGeneratorObject::kFunctionOffset)); |
+ __ LoadP(cp, FieldMemOperand(r7, JSFunction::kContextOffset)); |
// Flood function if we are stepping. |
Label prepare_step_in_if_stepping, prepare_step_in_suspended_generator; |