Index: src/typing.cc |
diff --git a/src/typing.cc b/src/typing.cc |
index db5ca61a8e71b217dcbb8bce2d2894def51b20bd..18d94b07c9df74f232cdb1b6235eeff5518e1d26 100644 |
--- a/src/typing.cc |
+++ b/src/typing.cc |
@@ -136,6 +136,12 @@ void AstTyper::VisitEmptyStatement(EmptyStatement* stmt) { |
} |
+void AstTyper::VisitSloppyBlockFunctionStatement( |
+ SloppyBlockFunctionStatement* stmt) { |
+ Visit(stmt->statement()); |
+} |
+ |
+ |
void AstTyper::VisitIfStatement(IfStatement* stmt) { |
// Collect type feedback. |
if (!stmt->condition()->ToBooleanIsTrue() && |