From 88e9a5f122822b96e0ccfbba2083fe6ef43f3fdc Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 20 Jul 2009 13:18:42 +0200 Subject: Upgrade V8 to 1.2.14 --- deps/v8/src/variables.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'deps/v8/src/variables.h') 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 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 name, Mode mode, bool is_valid_LHS, - Kind kind); - Scope* scope_; Handle 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_. }; -- cgit v1.2.1