Index: src/interpreter/interpreter.cc |
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc |
index d03c7975dc216a55319d539203ea84b078577b54..b65c779a7da84bc219f07c3ab741c5706f049524 100644 |
--- a/src/interpreter/interpreter.cc |
+++ b/src/interpreter/interpreter.cc |
@@ -2726,7 +2726,7 @@ void Interpreter::DoSuspendGenerator(InterpreterAssembler* assembler) { |
__ Bind(&ok); |
Node* array = |
- __ LoadObjectField(generator, JSGeneratorObject::kOperandStackOffset); |
+ __ LoadObjectField(generator, JSGeneratorObject::kRegisterFileOffset); |
Node* context = __ GetContext(); |
Node* state = __ GetAccumulator(); |
@@ -2758,7 +2758,7 @@ void Interpreter::DoResumeGenerator(InterpreterAssembler* assembler) { |
Node* generator = __ LoadRegister(generator_reg); |
__ ImportRegisterFile( |
- __ LoadObjectField(generator, JSGeneratorObject::kOperandStackOffset)); |
+ __ LoadObjectField(generator, JSGeneratorObject::kRegisterFileOffset)); |
Node* old_state = |
__ LoadObjectField(generator, JSGeneratorObject::kContinuationOffset); |