#include <code-stubs.h>
Definition at line 1254 of file code-stubs.h.
◆ CompareICStub()
Definition at line 1256 of file code-stubs.h.
CompareICState::State state() const
CompareICState::State left() const
CompareICState::State right() const
static bool IsCompareOp(Value op)
#define DCHECK(condition)
References DCHECK, v8::internal::BitFieldBase< T, shift, size, U >::encode(), v8::internal::EQ, v8::internal::Token::IsCompareOp(), left(), op(), right(), and state().
◆ AddToSpecialCache()
void v8::internal::CompareICStub::AddToSpecialCache |
( |
Handle< Code > |
new_object | ) |
|
|
privatevirtual |
Definition at line 359 of file code-stubs.cc.
361 Isolate* isolate = new_object->GetIsolate();
362 Factory* factory = isolate->factory();
365 factory->strict_compare_ic_string() :
366 factory->compare_ic_string(),
static void UpdateCodeCache(Handle< Map > map, Handle< Name > name, Handle< Code > code)
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 NULL
References DCHECK, v8::internal::Isolate::factory(), known_map_, NULL, strict(), and v8::internal::Map::UpdateCodeCache().
◆ DEFINE_CALL_INTERFACE_DESCRIPTOR()
v8::internal::CompareICStub::DEFINE_CALL_INTERFACE_DESCRIPTOR |
( |
BinaryOp |
| ) |
|
|
private |
◆ DEFINE_PLATFORM_CODE_STUB()
◆ FindCodeInSpecialCache()
bool v8::internal::CompareICStub::FindCodeInSpecialCache |
( |
Code ** |
code_out | ) |
|
|
privatevirtual |
Definition at line 371 of file code-stubs.cc.
372 Factory* factory = isolate()->factory();
377 Handle<Object> probe(
380 *factory->strict_compare_ic_string() :
381 *factory->compare_ic_string(),
384 if (probe->IsCode()) {
385 *code_out = Code::cast(*probe);
static Flags ComputeFlags(Kind kind, InlineCacheState ic_state=UNINITIALIZED, ExtraICState extra_ic_state=kNoExtraICState, StubType type=NORMAL, CacheHolderFlag holder=kCacheOnReceiver)
virtual Code::Kind GetCodeKind() const
CompareICStub(Isolate *isolate, Token::Value op, CompareICState::State left, CompareICState::State right, CompareICState::State state)
References v8::internal::Code::ComputeFlags(), DCHECK, v8::internal::EQ, v8::internal::anonymous_namespace{flags.cc}::flags, GetCodeKind(), known_map_, left(), op(), right(), state(), strict(), and v8::internal::UNINITIALIZED.
◆ GenerateGeneric()
void v8::internal::CompareICStub::GenerateGeneric |
( |
MacroAssembler * |
masm | ) |
|
|
private |
◆ GenerateInternalizedStrings()
void v8::internal::CompareICStub::GenerateInternalizedStrings |
( |
MacroAssembler * |
masm | ) |
|
|
private |
◆ GenerateKnownObjects()
void v8::internal::CompareICStub::GenerateKnownObjects |
( |
MacroAssembler * |
masm | ) |
|
|
private |
◆ GenerateMiss()
void v8::internal::CompareICStub::GenerateMiss |
( |
MacroAssembler * |
masm | ) |
|
|
private |
◆ GenerateNumbers()
void v8::internal::CompareICStub::GenerateNumbers |
( |
MacroAssembler * |
masm | ) |
|
|
private |
◆ GenerateObjects()
void v8::internal::CompareICStub::GenerateObjects |
( |
MacroAssembler * |
masm | ) |
|
|
private |
◆ GenerateSmis()
void v8::internal::CompareICStub::GenerateSmis |
( |
MacroAssembler * |
masm | ) |
|
|
private |
◆ GenerateStrings()
void v8::internal::CompareICStub::GenerateStrings |
( |
MacroAssembler * |
masm | ) |
|
|
private |
◆ GenerateUniqueNames()
void v8::internal::CompareICStub::GenerateUniqueNames |
( |
MacroAssembler * |
masm | ) |
|
|
private |
◆ GetCodeKind()
virtual Code::Kind v8::internal::CompareICStub::GetCodeKind |
( |
| ) |
const |
|
inlineprivatevirtual |
◆ GetCondition()
Condition v8::internal::CompareICStub::GetCondition |
( |
| ) |
const |
|
private |
◆ GetICState()
Definition at line 333 of file code-stubs.cc.
static LifetimePosition Max(LifetimePosition a, LifetimePosition b)
References v8::internal::GENERIC, v8::internal::CompareICState::GENERIC, v8::internal::CompareICState::INTERNALIZED_STRING, v8::internal::CompareICState::KNOWN_OBJECT, left(), v8::internal::Max(), v8::internal::MONOMORPHIC, v8::internal::CompareICState::NUMBER, v8::internal::CompareICState::OBJECT, right(), v8::internal::CompareICState::SMI, state(), v8::internal::CompareICState::STRING, v8::internal::UNINITIALIZED, v8::internal::CompareICState::UNINITIALIZED, v8::internal::CompareICState::UNIQUE_NAME, and UNREACHABLE.
◆ left()
◆ op()
◆ right()
◆ set_known_map()
void v8::internal::CompareICStub::set_known_map |
( |
Handle< Map > |
map | ) |
|
|
inline |
Definition at line 1264 of file code-stubs.h.
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 map
References known_map_, and map.
Referenced by v8::internal::CompareIC::UpdateCaches().
◆ state()
◆ strict()
bool v8::internal::CompareICStub::strict |
( |
| ) |
const |
|
inlineprivate |
◆ UseSpecialCache()
virtual bool v8::internal::CompareICStub::UseSpecialCache |
( |
| ) |
|
|
inlineprivatevirtual |
◆ known_map_
Handle<Map> v8::internal::CompareICStub::known_map_ |
|
private |
The documentation for this class was generated from the following files: