5 #ifndef V8_IC_IC_COMPILER_H_
6 #define V8_IC_IC_COMPILER_H_
35 int number_of_valid_maps,
100 if (kind() == Code::LOAD_IC) {
101 return code->ic_state() ==
MONOMORPHIC ? Logger::LOAD_IC_TAG
102 : Logger::LOAD_POLYMORPHIC_IC_TAG;
103 }
else if (kind() == Code::KEYED_LOAD_IC) {
105 ? Logger::KEYED_LOAD_IC_TAG
106 : Logger::KEYED_LOAD_POLYMORPHIC_IC_TAG;
107 }
else if (kind() == Code::STORE_IC) {
108 return code->ic_state() ==
MONOMORPHIC ? Logger::STORE_IC_TAG
109 : Logger::STORE_POLYMORPHIC_IC_TAG;
113 ? Logger::KEYED_STORE_IC_TAG
114 : Logger::KEYED_STORE_POLYMORPHIC_IC_TAG;
static Handle< Code > ComputeKeyedLoadMonomorphic(Handle< Map > receiver_map)
static Handle< Code > Find(Handle< Name > name, Handle< Map > stub_holder_map, Code::Kind kind, ExtraICState extra_ic_state=kNoExtraICState, CacheHolderFlag cache_holder=kCacheOnReceiver)
const ExtraICState extra_ic_state_
Handle< Code > CompileStoreMegamorphic(Code::Flags flags)
static Handle< Code > ComputeMonomorphic(Code::Kind kind, Handle< Name > name, Handle< HeapType > type, Handle< Code > handler, ExtraICState extra_ic_state)
Handle< Code > CompileStoreInitialize(Code::Flags flags)
Handle< Code > GetCode(Code::Kind kind, Code::StubType type, Handle< Name > name, InlineCacheState state=MONOMORPHIC)
static Handle< Code > ComputePolymorphic(Code::Kind kind, TypeHandleList *types, CodeHandleList *handlers, int number_of_valid_maps, Handle< Name > name, ExtraICState extra_ic_state)
Handle< Code > CompileKeyedStorePolymorphic(MapHandleList *receiver_maps, KeyedAccessStoreMode store_mode)
Handle< Code > CompileKeyedStoreMonomorphic(Handle< Map > receiver_map, KeyedAccessStoreMode store_mode)
Handle< Code > CompileLoadPreMonomorphic(Code::Flags flags)
Handle< Code > CompileStorePreMonomorphic(Code::Flags flags)
static Handle< Code > ComputeLoad(Isolate *isolate, InlineCacheState ic_state, ExtraICState extra_state)
static Handle< Code > ComputeKeyedStorePolymorphic(MapHandleList *receiver_maps, KeyedAccessStoreMode store_mode, StrictMode strict_mode)
bool IncludesNumberType(TypeHandleList *types)
static Handle< Code > ComputeCompareNil(Handle< Map > receiver_map, CompareNilICStub *stub)
Handle< Code > CompileStoreGeneric(Code::Flags flags)
static void GenerateRuntimeSetProperty(MacroAssembler *masm, StrictMode strict_mode)
Logger::LogEventsAndTags log_kind(Handle< Code > code)
Handle< Code > CompileKeyedStorePolymorphic(MapHandleList *receiver_maps, CodeHandleList *handler_stubs, MapHandleList *transitioned_maps)
static Handle< Code > ComputeStore(Isolate *isolate, InlineCacheState ic_state, ExtraICState extra_state)
PropertyICCompiler(Isolate *isolate, Code::Kind kind, ExtraICState extra_ic_state=kNoExtraICState, CacheHolderFlag cache_holder=kCacheOnReceiver)
static Code * FindPreMonomorphic(Isolate *isolate, Code::Kind kind, ExtraICState extra_ic_state)
static Handle< Code > ComputeKeyedLoadPolymorphic(MapHandleList *receiver_maps)
Handle< Code > CompileLoadInitialize(Code::Flags flags)
static Handle< Code > ComputeKeyedStoreMonomorphic(Handle< Map > receiver_map, StrictMode strict_mode, KeyedAccessStoreMode store_mode)
Handle< Code > CompileMonomorphic(Handle< HeapType > type, Handle< Code > handler, Handle< Name > name, IcCheckType check)
Handle< Code > CompilePolymorphic(TypeHandleList *types, CodeHandleList *handlers, Handle< Name > name, Code::StubType type, IcCheckType check)
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be expose gc extension under the specified name show built in functions in stack traces use random jit cookie to mask large constants minimum length for automatic enable preparsing CPU profiler sampling interval in microseconds trace out of bounds accesses to external arrays default size of stack region v8 is allowed to maximum length of function source code printed in a stack trace min size of a semi the new space consists of two semi spaces print one trace line following each garbage collection do not print trace line after scavenger collection print cumulative GC statistics in name
#define DCHECK_EQ(v1, v2)
static const ExtraICState kNoExtraICState
Debugger support for the V8 JavaScript engine.