Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index fe3c43f692086ec56d17b31570941467463a7076..bad634cf3fd0e9fd02cc69eb93e5c27d7ee4d950 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -926,10 +926,10 @@ void FullCodeGenerator::EmitInlineRuntimeCall(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitGeneratorSend(CallRuntime* expr) { |
+void FullCodeGenerator::EmitGeneratorNext(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
ASSERT(args->length() == 2); |
- EmitGeneratorResume(args->at(0), args->at(1), JSGeneratorObject::SEND); |
+ EmitGeneratorResume(args->at(0), args->at(1), JSGeneratorObject::NEXT); |
} |