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)
bool IsValidLeftHandSide()
void ForceContextAllocation()
Variable * local_if_not_shadowed() const
bool is_identical_to(const Handle< T > other) const
void set_local_if_not_shadowed(Variable *local)
Location location() const
bool is_possibly_eval() 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
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
activate correct semantics for inheriting readonliness enable harmony semantics for typeof enable harmony enable harmony proxies enable all harmony harmony_scoping harmony_proxies harmony_scoping tracks arrays with only smi values automatically unbox arrays of doubles use crankshaft use hydrogen range analysis use hydrogen global value numbering use function inlining maximum number of AST nodes considered for a single inlining loop invariant code motion print statistics for hydrogen trace generated IR for specified phases trace register allocator trace range analysis trace representation types environment for every instruction put a break point before deoptimizing polymorphic inlining perform array bounds checks elimination use dead code elimination trace on stack replacement optimize closures cache optimized code for closures functions with arguments object loop weight for representation inference allow uint32 values on optimize frames if they are used only in safe operations track parallel recompilation enable all profiler experiments number of stack frames inspected by the profiler call recompile stub directly when self optimizing trigger profiler ticks based on counting instead of timing weight back edges by jump distance for interrupt triggering percentage of ICs that must have type info to allow optimization watch_ic_patching retry_self_opt interrupt_at_exit extra verbose compilation tracing generate extra emit comments in code disassembly enable use of SSE3 instructions if available enable use of CMOV instruction if available enable use of SAHF instruction if enable use of VFP3 instructions if available this implies enabling ARMv7 and VFP2 enable use of VFP2 instructions if available enable use of SDIV and UDIV instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of MIPS FPU instructions if NULL
bool IsImmutableVariableMode(VariableMode mode)
void set_initializer_position(int pos)
kPropertyAccessorsOffset kNamedPropertyHandlerOffset kInstanceTemplateOffset kAccessCheckInfoOffset kEvalFrominstructionsOffsetOffset kInstanceClassNameOffset flag