Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index 0299210d8f773e365feb204361b09974c0a545d7..4b4b9d06f2a107402a73f7e231cfc27829349376 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -253,9 +253,6 @@ class Scope: public ZoneObject { |
// Inform the scope that the corresponding code contains an eval call. |
void RecordEvalCall() { scope_calls_eval_ = true; } |
- // Inform the scope that the corresponding code uses "arguments". |
- void RecordArgumentsUsage() { scope_uses_arguments_ = true; } |
- |
// Inform the scope that the corresponding code uses "super". |
void RecordSuperPropertyUsage() { scope_uses_super_property_ = true; } |
@@ -359,8 +356,6 @@ class Scope: public ZoneObject { |
// Is this scope inside a with statement. |
bool inside_with() const { return scope_inside_with_; } |
- // Does this scope access "arguments". |
- bool uses_arguments() const { return scope_uses_arguments_; } |
// Does this scope access "super" property (super.foo). |
bool uses_super_property() const { return scope_uses_super_property_; } |
// Does this scope have the potential to execute declarations non-linearly? |
@@ -664,8 +659,6 @@ class Scope: public ZoneObject { |
// This scope or a nested catch scope or with scope contain an 'eval' call. At |
// the 'eval' call site this scope is the declaration scope. |
bool scope_calls_eval_; |
- // This scope uses "arguments". |
- bool scope_uses_arguments_; |
// This scope uses "super" property ('super.foo'). |
bool scope_uses_super_property_; |
// This scope has a parameter called "arguments". |