Revision: 2606
Author: [email protected]
Date: Mon Aug 3 03:59:00 2009
Log: Removed some comments which did not make any sense.
Review URL: http://codereview.chromium.org/159783
http://code.google.com/p/v8/source/detail?r=2606
Modified:
/branches/bleeding_edge/src/ast.h
/branches/bleeding_edge/src/variables.h
=======================================
--- /branches/bleeding_edge/src/ast.h Thu Jul 30 05:09:05 2009
+++ /branches/bleeding_edge/src/ast.h Mon Aug 3 03:59:00 2009
@@ -821,9 +821,6 @@
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_; }
Variable* var() const { return var_; }
UseCount* var_uses() { return &var_uses_; }
=======================================
--- /branches/bleeding_edge/src/variables.h Tue Jul 7 02:48:54 2009
+++ /branches/bleeding_edge/src/variables.h Mon Aug 3 03:59:00 2009
@@ -162,9 +162,7 @@
// be the global scope). scope() is NULL in that case. Currently the
// scope is only used to follow the context chain length.
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_; }
Mode mode() const { return mode_; }
bool is_accessed_from_inner_scope() const {
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---