| Index: src/ast/variables.cc
|
| diff --git a/src/ast/variables.cc b/src/ast/variables.cc
|
| index cc269cd0c7f850d76cf9861b1dd55d64406051bb..13ce9865427758a3c5416c79bdc16e3d49b6d34f 100644
|
| --- a/src/ast/variables.cc
|
| +++ b/src/ast/variables.cc
|
| @@ -40,14 +40,5 @@ bool Variable::IsGlobalObjectProperty() const {
|
| scope_ != NULL && scope_->is_script_scope();
|
| }
|
|
|
| -
|
| -bool Variable::IsStaticGlobalObjectProperty() const {
|
| - // Temporaries are never global, they must always be allocated in the
|
| - // activation frame.
|
| - return (IsDeclaredVariableMode(mode()) && !IsLexicalVariableMode(mode())) &&
|
| - scope_ != NULL && scope_->is_script_scope();
|
| -}
|
| -
|
| -
|
| } // namespace internal
|
| } // namespace v8
|
|
|