Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index 2cd75e7eb69b14a73698087c0787295b229fcdc8..c5af4121592321466e668370cdc6b12e9257c91c 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -348,6 +348,11 @@ void AstTyper::VisitNativeFunctionLiteral(NativeFunctionLiteral* expr) { |
} |
+void AstTyper::VisitDoExpression(DoExpression* expr) { |
+ RECURSE(VisitStatements(expr->statements())); |
+} |
+ |
+ |
void AstTyper::VisitConditional(Conditional* expr) { |
// Collect type feedback. |
expr->condition()->RecordToBooleanTypeFeedback(oracle()); |