Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index 244d8f33dda2dfcff38024b87ec99bd984a1b5d0..32868c75df69441fd306df36f634974a50a91a5b 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -735,6 +735,10 @@ class DeclarationScope : public Scope { |
sloppy_block_function_map_.Declare(zone(), name, statement); |
} |
+ // Go through sloppy_block_function_map_ and hoist those (into this scope) |
+ // which should be hoisted. |
+ void HoistSloppyBlockFunctions(AstNodeFactory* factory, bool* ok); |
+ |
SloppyBlockFunctionMap* sloppy_block_function_map() { |
return &sloppy_block_function_map_; |
} |