Index: src/runtime/runtime-generator.cc |
diff --git a/src/runtime/runtime-generator.cc b/src/runtime/runtime-generator.cc |
index 120e4ba124b6fedad8b238cf739292232af72975..4d1a9ba7ddc2ea61ec1410f57c3e20d722a612fc 100644 |
--- a/src/runtime/runtime-generator.cc |
+++ b/src/runtime/runtime-generator.cc |
@@ -23,14 +23,14 @@ RUNTIME_FUNCTION(Runtime_CreateJSGeneratorObject) { |
DCHECK(function->shared()->HasBytecodeArray()); |
DCHECK(!function->shared()->HasBaselineCode()); |
int size = function->shared()->bytecode_array()->register_count(); |
- Handle<FixedArray> operand_stack = isolate->factory()->NewFixedArray(size); |
+ Handle<FixedArray> register_file = isolate->factory()->NewFixedArray(size); |
Handle<JSGeneratorObject> generator = |
isolate->factory()->NewJSGeneratorObject(function); |
generator->set_function(*function); |
generator->set_context(isolate->context()); |
generator->set_receiver(*receiver); |
- generator->set_operand_stack(*operand_stack); |
+ generator->set_register_file(*register_file); |
generator->set_continuation(JSGeneratorObject::kGeneratorExecuting); |
return *generator; |
} |