Index: src/scopes.h |
diff --git a/src/scopes.h b/src/scopes.h |
index a01d9c7d472b5c2b1005d158c5efed6088c6af0e..c163a94f1cc523de1c57c966a452c6f64d5da825 100644 |
--- a/src/scopes.h |
+++ b/src/scopes.h |
@@ -439,10 +439,6 @@ class Scope: public ZoneObject { |
// Construct a catch scope with a binding for the name. |
Scope(Scope* inner_scope, Handle<String> catch_variable_name); |
- inline Slot* NewSlot(Variable* var, Slot::Type type, int index) { |
- return new(isolate_->zone()) Slot(isolate_, var, type, index); |
- } |
- |
void AddInnerScope(Scope* inner_scope) { |
if (inner_scope != NULL) { |
inner_scopes_.Add(inner_scope); |