diff options
author | Ryan <ry@tinyclouds.org> | 2009-07-20 13:18:42 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-07-20 13:18:42 +0200 |
commit | 88e9a5f122822b96e0ccfbba2083fe6ef43f3fdc (patch) | |
tree | 3cad417de864555fd27d573af866f2a1b3c352ad /deps/v8/src/variables.h | |
parent | f4dfbe37a3f1fef2c91068958dfe1888ba100332 (diff) | |
download | node-88e9a5f122822b96e0ccfbba2083fe6ef43f3fdc.tar.gz |
Upgrade V8 to 1.2.14
Diffstat (limited to 'deps/v8/src/variables.h')
-rw-r--r-- | deps/v8/src/variables.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/deps/v8/src/variables.h b/deps/v8/src/variables.h index c0d14356f..3f1f11bcd 100644 --- a/deps/v8/src/variables.h +++ b/deps/v8/src/variables.h @@ -143,6 +143,12 @@ class Variable: public ZoneObject { ARGUMENTS }; + Variable(Scope* scope, + Handle<String> name, + Mode mode, + bool is_valid_lhs, + Kind kind); + // Printing support static const char* Mode2String(Mode mode); @@ -196,9 +202,6 @@ class Variable: public ZoneObject { SmiAnalysis* type() { return &type_; } private: - Variable(Scope* scope, Handle<String> name, Mode mode, bool is_valid_LHS, - Kind kind); - Scope* scope_; Handle<String> name_; Mode mode_; @@ -216,13 +219,10 @@ class Variable: public ZoneObject { SmiAnalysis type_; // Code generation. - // rewrite_ is usually a Slot or a Property, but maybe any expression. + // rewrite_ is usually a Slot or a Property, but may be any expression. Expression* rewrite_; - friend class VariableProxy; - friend class Scope; - friend class LocalsMap; - friend class AstBuildingParser; + friend class Scope; // Has explicit access to rewrite_. }; |