Index: src/scopes.h |
diff --git a/src/scopes.h b/src/scopes.h |
index 6a1c53cecb921f0bd09ba2722fb89508d0d1548e..16581d776f09355a099645170a69ce53bb0c18e1 100644 |
--- a/src/scopes.h |
+++ b/src/scopes.h |
@@ -178,19 +178,13 @@ |
return proxy; |
} |
- void AddUnresolved(VariableProxy* proxy) { |
- DCHECK(!already_resolved()); |
- DCHECK(!proxy->is_resolved()); |
- unresolved_.Add(proxy, zone_); |
- } |
- |
// Remove a unresolved variable. During parsing, an unresolved variable |
// may have been added optimistically, but then only the variable name |
// was used (typically for labels). If the variable was not declared, the |
// addition introduced a new unresolved variable which may end up being |
// allocated globally as a "ghost" variable. RemoveUnresolved removes |
// such a variable again if it was added; otherwise this is a no-op. |
- bool RemoveUnresolved(VariableProxy* var); |
+ void RemoveUnresolved(VariableProxy* var); |
// Creates a new temporary variable in this scope's TemporaryScope. The |
// name is only used for printing and cannot be used to find the variable. |
@@ -470,7 +464,6 @@ |
// The scope immediately surrounding this scope, or NULL. |
Scope* outer_scope() const { return outer_scope_; } |
- void set_outer_scope(Scope* outer_scope) { outer_scope_ = outer_scope; } |
// The ModuleDescriptor for this scope; only for module scopes. |
ModuleDescriptor* module() const { return module_descriptor_; } |