28 #ifndef V8_VARIABLES_H_
29 #define V8_VARIABLES_H_
99 return force_context_allocation_;
103 force_context_allocation_ =
true;
139 return local_if_not_shadowed_;
143 local_if_not_shadowed_ = local;
147 int index()
const {
return index_; }
149 return initialization_flag_;
167 int initializer_position_;
179 bool force_context_allocation_;
190 #endif // V8_VARIABLES_H_
void AllocateTo(Location location, int index)
enable upcoming ES6 features enable harmony block scoping enable harmony enable harmony proxies enable harmony generators enable harmony numeric enable harmony string enable harmony math functions harmony_scoping harmony_symbols harmony_collections harmony_iteration harmony_strings harmony_scoping harmony_maths tracks arrays with only smi values Optimize object Array DOM strings and string pretenure call new trace pretenuring decisions of HAllocate instructions track fields with only smi values track fields with heap values track_fields track_fields Enables optimizations which favor memory size over execution speed use string slices optimization filter maximum number of GVN fix point iterations use function inlining use allocation folding eliminate write barriers targeting allocations in optimized code maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining crankshaft harvests type feedback from stub cache trace check elimination phase hydrogen tracing filter NULL
bool IsValidLeftHandSide()
void ForceContextAllocation()
Variable * local_if_not_shadowed() const
void set_local_if_not_shadowed(Variable *local)
Location location() const
bool IsStackAllocated() const
InitializationFlag initialization_flag() const
#define ASSERT(condition)
bool is_const_mode() const
Interface * interface() const
bool IsLookupSlot() const
Handle< String > name() const
kInstanceClassNameOffset flag
static Interface * NewValue()
int initializer_position()
VariableMode mode() const
bool has_forced_context_allocation() const
static int CompareIndex(Variable *const *v, Variable *const *w)
bool IsContextSlot() const
static const char * Mode2String(VariableMode mode)
Variable(Scope *scope, Handle< String > name, VariableMode mode, bool is_valid_lhs, Kind kind, InitializationFlag initialization_flag, Interface *interface=Interface::NewValue())
bool IsVariable(Handle< String > n) const
bool IsStackLocal() const
bool is_arguments() const
bool binding_needs_init() const
bool IsUnallocated() const
bool IsDynamicVariableMode(VariableMode mode)
void set_is_used(bool flag)
bool IsGlobalObjectProperty() const
bool IsImmutableVariableMode(VariableMode mode)
bool is_possibly_eval(Isolate *isolate) const
void set_initializer_position(int pos)