| Index: src/ast/scopes.h
|
| diff --git a/src/ast/scopes.h b/src/ast/scopes.h
|
| index 3440e0d1b99f87e8f073ac78579d1a75c05c1d84..ac909b1fbee856c875510dceea3d3b272f0bd4c6 100644
|
| --- a/src/ast/scopes.h
|
| +++ b/src/ast/scopes.h
|
| @@ -245,9 +245,6 @@ class Scope: public ZoneObject {
|
| // ---------------------------------------------------------------------------
|
| // Scope-specific info.
|
|
|
| - // Inform the scope that the corresponding code contains a with statement.
|
| - void RecordWithStatement() { scope_contains_with_ = true; }
|
| -
|
| // Inform the scope that the corresponding code contains an eval call.
|
| void RecordEvalCall() { scope_calls_eval_ = true; }
|
|
|
| @@ -646,8 +643,6 @@ class Scope: public ZoneObject {
|
| //
|
| // This scope is inside a 'with' of some outer scope.
|
| bool scope_inside_with_;
|
| - // This scope contains a 'with' statement.
|
| - bool scope_contains_with_;
|
| // 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_;
|
|
|