Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index af7797e01f38c5c805458ca0036e404e2d0caa09..e31cb0934ee94de2b11da7a44b2a2f722585b034 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -669,13 +669,13 @@ Expression* ParserTraits::NewTargetExpression(Scope* scope, |
Expression* ParserTraits::FunctionSentExpression(Scope* scope, |
AstNodeFactory* factory, |
int pos) { |
- // We desugar function.sent into %GeneratorGetInput(generator). |
+ // We desugar function.sent into %_GeneratorGetInput(generator). |
Zone* zone = parser_->zone(); |
ZoneList<Expression*>* args = new (zone) ZoneList<Expression*>(1, zone); |
VariableProxy* generator = factory->NewVariableProxy( |
parser_->function_state_->generator_object_variable()); |
args->Add(generator, zone); |
- return factory->NewCallRuntime(Runtime::kGeneratorGetInput, args, pos); |
+ return factory->NewCallRuntime(Runtime::kInlineGeneratorGetInput, args, pos); |
} |