Index: src/full-codegen.cc |
diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
index 349626b0e08181dcf90781cbc91c51464a384f94..c4521bbea635c2e4b34b1789ba99597fab6c5db1 100644 |
--- a/src/full-codegen.cc |
+++ b/src/full-codegen.cc |
@@ -292,6 +292,11 @@ void BreakableStatementChecker::VisitCompareOperation(CompareOperation* expr) { |
} |
+void BreakableStatementChecker::VisitSpreadOperation(SpreadOperation* expr) { |
+ Visit(expr->expression()); |
+} |
+ |
+ |
void BreakableStatementChecker::VisitThisFunction(ThisFunction* expr) { |
} |
@@ -1683,6 +1688,11 @@ void FullCodeGenerator::VisitThrow(Throw* expr) { |
} |
+void FullCodeGenerator::VisitSpreadOperation(SpreadOperation* expr) { |
+ Visit(expr->expression()); |
+} |
+ |
+ |
FullCodeGenerator::NestedStatement* FullCodeGenerator::TryCatch::Exit( |
int* stack_depth, |
int* context_length) { |