update V8 to r5532 as required by WebKit r68651
Change-Id: I5f75eeffbf64b30dd5080348528d277f293490ad
diff --git a/src/variables.h b/src/variables.h
index 618f6ac..ec76fee 100644
--- a/src/variables.h
+++ b/src/variables.h
@@ -122,19 +122,20 @@
static const char* Mode2String(Mode mode);
// Type testing & conversion
- Property* AsProperty();
- Variable* AsVariable();
+ Property* AsProperty() const;
+ Slot* AsSlot() const;
+
bool IsValidLeftHandSide() { return is_valid_LHS_; }
// The source code for an eval() call may refer to a variable that is
// in an outer scope about which we don't know anything (it may not
// 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_; }
+ Scope* scope() const { return scope_; }
- Handle<String> name() const { return name_; }
- Mode mode() const { return mode_; }
- bool is_accessed_from_inner_scope() const {
+ Handle<String> name() const { return name_; }
+ Mode mode() const { return mode_; }
+ bool is_accessed_from_inner_scope() const {
return is_accessed_from_inner_scope_;
}
bool is_used() { return is_used_; }
@@ -171,8 +172,7 @@
local_if_not_shadowed_ = local;
}
- Expression* rewrite() const { return rewrite_; }
- Slot* slot() const;
+ Expression* rewrite() const { return rewrite_; }
StaticType* type() { return &type_; }