Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index 8c0cddc0d0175718b3cf6994f39c9aba3e137238..1ac118ca916cd09220419e587a5e0c3e69a92718 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -696,27 +696,6 @@ void FullCodeGenerator::VisitSuperCallReference(SuperCallReference* super) { |
} |
-void FullCodeGenerator::EmitGeneratorNext(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 2); |
- EmitGeneratorResume(args->at(0), args->at(1), JSGeneratorObject::NEXT); |
-} |
- |
- |
-void FullCodeGenerator::EmitGeneratorReturn(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 2); |
- EmitGeneratorResume(args->at(0), args->at(1), JSGeneratorObject::RETURN); |
-} |
- |
- |
-void FullCodeGenerator::EmitGeneratorThrow(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK(args->length() == 2); |
- EmitGeneratorResume(args->at(0), args->at(1), JSGeneratorObject::THROW); |
-} |
- |
- |
void FullCodeGenerator::EmitDebugBreakInOptimizedCode(CallRuntime* expr) { |
context()->Plug(handle(Smi::FromInt(0), isolate())); |
} |