Commit 8c9b30af authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Removed some comments which did not make any sense.

Review URL: http://codereview.chromium.org/159783

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2606 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 118d5e17
...@@ -821,9 +821,6 @@ class VariableProxy: public Expression { ...@@ -821,9 +821,6 @@ class VariableProxy: public Expression {
return (variable == NULL) ? false : variable->is_arguments(); return (variable == NULL) ? false : variable->is_arguments();
} }
// If this assertion fails it means that some code has tried to
// treat the special "this" variable as an ordinary variable with
// the name "this".
Handle<String> name() const { return name_; } Handle<String> name() const { return name_; }
Variable* var() const { return var_; } Variable* var() const { return var_; }
UseCount* var_uses() { return &var_uses_; } UseCount* var_uses() { return &var_uses_; }
......
...@@ -162,9 +162,7 @@ class Variable: public ZoneObject { ...@@ -162,9 +162,7 @@ class Variable: public ZoneObject {
// be the global scope). scope() is NULL in that case. Currently the // be the global scope). scope() is NULL in that case. Currently the
// scope is only used to follow the context chain length. // scope is only used to follow the context chain length.
Scope* scope() const { return scope_; } Scope* scope() const { return scope_; }
// If this assertion fails it means that some code has tried to
// treat the special this variable as an ordinary variable with
// the name "this".
Handle<String> name() const { return name_; } Handle<String> name() const { return name_; }
Mode mode() const { return mode_; } Mode mode() const { return mode_; }
bool is_accessed_from_inner_scope() const { bool is_accessed_from_inner_scope() const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment