Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index e889185571d4e8e38a997bbb05d2f401f7f60855..6b4abf97c8e7d98b3934f37519ad624ff6b3baf9 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -450,6 +450,12 @@ void FullCodeGenerator::VisitVariableProxy(VariableProxy* expr) { |
} |
+void FullCodeGenerator::VisitSloppyBlockFunctionStatement( |
+ SloppyBlockFunctionStatement* declaration) { |
+ Visit(declaration->statement()); |
+} |
+ |
+ |
int FullCodeGenerator::DeclareGlobalsFlags() { |
DCHECK(DeclareGlobalsLanguageMode::is_valid(language_mode())); |
return DeclareGlobalsEvalFlag::encode(is_eval()) | |