Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index 1bec87f6636aeb1857d0217350b14c77adf907b9..8e9f9f2b36151272af3880b7b2bc6da0961616df 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -98,7 +98,7 @@ class Scope: public ZoneObject { |
int top_decl_; |
}; |
- enum class DeserializationMode { kDeserializeOffHeap, kKeepScopeInfo }; |
+ enum class DeserializationMode { kIncludingVariables, kScopesOnly }; |
static Scope* DeserializeScopeChain(Isolate* isolate, Zone* zone, |
Context* context, |
@@ -575,9 +575,6 @@ class Scope: public ZoneObject { |
void SetDefaults(); |
- void DeserializeScopeInfo(Isolate* isolate, |
- AstValueFactory* ast_value_factory); |
- |
friend class DeclarationScope; |
}; |
@@ -747,7 +744,7 @@ class DeclarationScope : public Scope { |
// Go through sloppy_block_function_map_ and hoist those (into this scope) |
// which should be hoisted. |
- void HoistSloppyBlockFunctions(AstNodeFactory* factory, bool* ok); |
+ void HoistSloppyBlockFunctions(AstNodeFactory* factory); |
SloppyBlockFunctionMap* sloppy_block_function_map() { |
return &sloppy_block_function_map_; |