V8 Project
|
#include <objects.h>
Classes | |
class | AllowOSRAtLoopNestingLevelField |
class | BackEdgeTableOffsetField |
class | CacheHolderField |
class | ExtraICStateField |
class | FindAndReplacePattern |
class | FullCodeFlagsHasDebugBreakSlotsField |
class | FullCodeFlagsHasDeoptimizationSupportField |
class | FullCodeFlagsIsCompiledOptimizable |
class | HasFunctionCacheField |
class | ICStateField |
class | InvalidatedWeakStubField |
class | IsCrankshaftedField |
class | IsTurbofannedField |
class | KindField |
class | MarkedForDeoptimizationField |
class | SafepointTableOffsetField |
class | StackSlotsField |
class | TypeField |
class | WeakStubField |
Public Types | |
enum | Kind { NUMBER_OF_KINDS } |
enum | StubType { NORMAL , FAST } |
enum | Age { kNotExecutedCodeAge = -2 , kExecutedOnceCodeAge = -1 , kNoAgeCodeAge = 0 , kAfterLastCodeAge , kFirstCodeAge = kNotExecutedCodeAge , kLastCodeAge = kAfterLastCodeAge - 1 , kCodeAgeCount = kAfterLastCodeAge - kNotExecutedCodeAge - 1 , kIsOldCodeAge = kSexagenarianCodeAge , kPreAgedCodeAge = kIsOldCodeAge - 1 } |
typedef uint32_t | Flags |
![]() | |
enum | StoreFromKeyed { MAY_BE_STORE_FROM_KEYED , CERTAINLY_NOT_STORE_FROM_KEYED } |
enum | StorePropertyMode { NORMAL_PROPERTY , SUPER_PROPERTY } |
Private Member Functions | |
void | ClearInlineCaches (Kind *kind) |
byte * | FindCodeAgeSequence () |
DISALLOW_IMPLICIT_CONSTRUCTORS (Code) | |
Static Private Member Functions | |
static void | GetCodeAgeAndParity (Code *code, Age *age, MarkingParity *parity) |
static void | GetCodeAgeAndParity (Isolate *isolate, byte *sequence, Age *age, MarkingParity *parity) |
static Code * | GetCodeAgeStub (Isolate *isolate, Age age, MarkingParity parity) |
static void | PatchPlatformCodeAge (Isolate *isolate, byte *sequence, Age age, MarkingParity parity) |
Friends | |
class | RelocIterator |
class | Deoptimizer |
Additional Inherited Members | |
![]() | |
void | IteratePointers (ObjectVisitor *v, int start, int end) |
void | IteratePointer (ObjectVisitor *v, int offset) |
void | IterateNextCodeLink (ObjectVisitor *v, int offset) |
typedef uint32_t v8::internal::Code::Flags |
|
inline |
Definition at line 4759 of file objects-inl.h.
References DCHECK_EQ, v8::internal::BitFieldBase< T, shift, size, U >::decode(), kind(), kKindSpecificFlags2Offset, and READ_UINT32_FIELD.
Referenced by back_edges_patched_for_osr(), v8::internal::BackEdgeTable::Patch(), and v8::internal::BackEdgeTable::Revert().
|
inline |
Definition at line 4834 of file objects-inl.h.
References DCHECK_EQ, v8::internal::BitFieldBase< T, shift, size, U >::decode(), kind(), kKindSpecificFlags2Offset, v8::internal::kPointerSizeLog2, and READ_UINT32_FIELD.
Referenced by v8::internal::BackEdgeTable::BackEdgeTable().
|
inline |
Definition at line 4851 of file objects-inl.h.
References allow_osr_at_loop_nesting_level(), DCHECK_EQ, and kind().
|
inline |
Definition at line 6186 of file objects-inl.h.
References instruction_size(), v8::internal::kObjectAlignment, and v8::internal::RoundUp().
|
inline |
Definition at line 4789 of file objects-inl.h.
References v8::internal::BUILTIN, DCHECK_EQ, kind(), kKindSpecificFlags1Offset, and READ_INT32_FIELD.
Referenced by v8::internal::CodeSerializer::SerializeBuiltin().
|
inline |
Definition at line 5065 of file objects.h.
References v8::internal::MONOMORPHIC.
Referenced by is_weak_stub(), and mark_as_weak_stub().
|
inline |
Definition at line 10613 of file objects.cc.
References v8::internal::HeapObject::address(), v8::internal::DeoptimizationInputData::DeoptCount(), instruction_start(), and v8::internal::pc.
Referenced by v8::internal::MarkCompactCollector::ProcessTopOptimizedFrame().
void v8::internal::Code::ClearInlineCaches | ( | ) |
Definition at line 10377 of file objects.cc.
References NULL.
Referenced by v8::internal::Heap::ClearAllICsByKind(), ClearInlineCaches(), and v8::internal::RUNTIME_FUNCTION().
|
private |
Definition at line 10387 of file objects.cc.
References v8::internal::IC::Clear(), v8::internal::RelocInfo::CODE_TARGET, v8::internal::RelocInfo::CODE_TARGET_WITH_ID, constant_pool(), v8::internal::RelocInfo::CONSTRUCT_CALL, v8::internal::RelocIterator::done(), GetCodeFromTargetAddress(), v8::internal::HeapObject::GetIsolate(), v8::internal::RelocInfo::host(), is_inline_cache_stub(), kind(), v8::internal::RelocInfo::ModeMask(), NULL, and v8::internal::RelocInfo::pc().
void v8::internal::Code::ClearInlineCaches | ( | Code::Kind | kind | ) |
Definition at line 10382 of file objects.cc.
References ClearInlineCaches(), and kind().
|
inline |
Definition at line 898 of file objects-visiting-inl.h.
References v8::internal::HeapObject::address(), v8::internal::RelocInfo::CELL, v8::internal::RelocInfo::DEBUG_BREAK_SLOT, v8::internal::RelocIterator::done(), v8::internal::RelocInfo::EMBEDDED_OBJECT, v8::internal::RelocInfo::EXTERNAL_REFERENCE, v8::internal::RelocInfo::JS_RETURN, v8::internal::RelocInfo::kCodeTargetMask, kConstantPoolOffset, kDeoptimizationDataOffset, kHandlerTableOffset, kNextCodeLinkOffset, kRelocationInfoOffset, kTypeFeedbackInfoOffset, v8::internal::RelocInfo::ModeMask(), v8::internal::RelocIterator::next(), v8::internal::RelocIterator::rinfo(), and v8::internal::RelocInfo::RUNTIME_ENTRY.
|
inline |
Definition at line 871 of file objects-visiting-inl.h.
References v8::internal::RelocInfo::CELL, v8::internal::RelocInfo::DEBUG_BREAK_SLOT, v8::internal::RelocIterator::done(), v8::internal::RelocInfo::EMBEDDED_OBJECT, v8::internal::RelocInfo::EXTERNAL_REFERENCE, v8::internal::HeapObject::GetIsolate(), v8::internal::HeapObject::IterateNextCodeLink(), v8::internal::HeapObject::IteratePointer(), v8::internal::RelocInfo::JS_RETURN, v8::internal::RelocInfo::kCodeTargetMask, kConstantPoolOffset, kDeoptimizationDataOffset, kHandlerTableOffset, kNextCodeLinkOffset, kRelocationInfoOffset, kTypeFeedbackInfoOffset, v8::internal::RelocInfo::ModeMask(), v8::internal::RelocIterator::next(), v8::internal::RelocIterator::rinfo(), v8::internal::RelocInfo::RUNTIME_ENTRY, and v8::internal::RelocInfo::Visit().
Referenced by v8::internal::MarkCompactCollector::ProcessTopOptimizedFrame().
|
inline |
Definition at line 5277 of file objects.h.
Referenced by v8::internal::Logger::CodeDeoptEvent(), and v8::internal::RuntimeProfiler::OptimizeNow().
|
inlinestatic |
Definition at line 4954 of file objects-inl.h.
References v8::internal::BitFieldBase< T, shift, size, U >::encode(), extra_ic_state(), ic_state(), kind(), and type().
Referenced by ComputeHandlerFlags(), v8::internal::PropertyICCompiler::ComputeKeyedLoadPolymorphic(), v8::internal::PropertyICCompiler::ComputeKeyedStorePolymorphic(), v8::internal::PropertyICCompiler::ComputeLoad(), ComputeMonomorphicFlags(), v8::internal::PropertyICCompiler::ComputeStore(), v8::internal::CompareICStub::FindCodeInSpecialCache(), v8::internal::PropertyICCompiler::FindPreMonomorphic(), v8::internal::CompilationInfo::flags(), v8::internal::PlatformCodeStub::GenerateCode(), v8::internal::HydrogenCodeStub::GenerateLightweightMissCode(), v8::internal::PropertyICCompiler::GetCode(), and v8::internal::FullCodeGenerator::MakeCode().
|
inlinestatic |
Definition at line 4975 of file objects-inl.h.
References ComputeFlags(), v8::internal::MONOMORPHIC, and type().
Referenced by v8::internal::TypeFeedbackOracle::AssignmentReceiverTypes(), v8::internal::CodeStubGraphBuilder< Stub >::BuildCodeStub(), v8::internal::PropertyHandlerCompiler::Find(), v8::internal::PropertyHandlerCompiler::GetCode(), and v8::internal::TypeFeedbackOracle::PropertyReceiverTypes().
|
inlinestatic |
Definition at line 4967 of file objects-inl.h.
References ComputeFlags(), extra_ic_state(), kind(), v8::internal::MONOMORPHIC, and type().
Referenced by v8::internal::PropertyICCompiler::ComputeKeyedLoadMonomorphic(), v8::internal::PropertyICCompiler::ComputeKeyedStoreMonomorphic(), and v8::internal::PropertyICCompiler::Find().
|
inline |
Definition at line 4942 of file objects-inl.h.
References kConstantPoolOffset, and READ_FIELD.
Referenced by ClearInlineCaches(), v8::internal::IC::constant_pool(), v8::internal::Heap::CopyCode(), v8::internal::Deoptimizer::DoComputeAccessorStubFrame(), v8::internal::Deoptimizer::DoComputeArgumentsAdaptorFrame(), v8::internal::Deoptimizer::DoComputeCompiledStubFrame(), v8::internal::Deoptimizer::DoComputeConstructStubFrame(), v8::internal::Deoptimizer::DoComputeJSFrame(), v8::internal::V8HeapExplorer::ExtractCodeReferences(), v8::internal::Assembler::INLINE(), v8::internal::Assembler::set_target_address_at(), and v8::internal::Assembler::target_address_at().
Definition at line 6211 of file objects-inl.h.
References v8::internal::HeapObject::address(), and v8::internal::HeapObject::Size().
Referenced by v8::internal::Deoptimizer::FindDeoptimizingCode(), v8::internal::Deoptimizer::FindOptimizedCode(), v8::internal::OptimizedFrame::GetDeoptimizationData(), v8::internal::Builtins::Lookup(), v8::internal::StubFailureTrampolineFrame::unchecked_code(), and v8::internal::ActivationsFinder::VisitFrames().
void v8::internal::Code::CopyFrom | ( | const CodeDesc & | desc | ) |
Definition at line 10134 of file objects.cc.
References v8::internal::CodeDesc::buffer, v8::internal::CodeDesc::buffer_size, v8::internal::RelocInfo::CELL, v8::internal::RelocInfo::CODE_AGE_SEQUENCE, v8::internal::CopyBytes(), DCHECK, v8::internal::RelocIterator::done(), v8::internal::RelocInfo::EMBEDDED_OBJECT, v8::internal::CpuFeatures::FlushICache(), v8::internal::CodeDesc::instr_size, instruction_size(), instruction_start(), v8::internal::RelocInfo::IsCodeTarget(), v8::internal::RelocInfo::IsRuntimeEntry(), v8::internal::RelocInfo::kApplyMask, v8::internal::RelocInfo::kCodeTargetMask, mode(), v8::internal::RelocInfo::ModeMask(), v8::internal::CodeDesc::origin, v8::internal::CodeDesc::reloc_size, relocation_start(), v8::internal::RelocInfo::RUNTIME_ENTRY, v8::internal::SKIP_ICACHE_FLUSH, and v8::internal::SKIP_WRITE_BARRIER.
|
private |
|
inline |
Definition at line 6206 of file objects-inl.h.
References instruction_start().
Referenced by v8::internal::ConstantPoolArray::ClearPtrEntries(), v8::internal::Deoptimizer::DoComputeCompiledStubFrame(), v8::internal::Deoptimizer::DoComputeJSFrame(), v8::internal::NativeRegExpMacroAssembler::Execute(), v8::internal::JSFunction::set_code(), v8::internal::JSFunction::set_code_no_write_barrier(), and v8::internal::LiveEdit::SetAfterBreakTarget().
|
inline |
Definition at line 5263 of file objects.h.
References DCHECK_EQ, and kHeaderSize.
Referenced by v8::internal::AppendCodeCreateHeader(), v8::internal::CpuProfiler::CodeCreateEvent(), and v8::internal::CpuProfiler::RegExpCodeCreateEvent().
|
inline |
Definition at line 4647 of file objects-inl.h.
References DCHECK, v8::internal::DEBUG_STUB, ExtractExtraICStateFromFlags(), flags(), ic_state(), and is_inline_cache_stub().
Referenced by ComputeFlags(), ComputeMonomorphicFlags(), v8::internal::Debug::IsDebugBreak(), v8::internal::LoadIC::set_target(), v8::internal::StoreIC::set_target(), v8::internal::KeyedStoreIC::set_target(), v8::internal::IC::SetTargetAtAddress(), to_boolean_state(), and v8::internal::IC::TraceIC().
|
inlinestatic |
Definition at line 5001 of file objects-inl.h.
References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and flags().
Referenced by v8::internal::CommonStubCacheChecks(), and v8::internal::IC::ComputeHandler().
|
inlinestatic |
Definition at line 4991 of file objects-inl.h.
References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and flags().
Referenced by v8::internal::PropertyICCompiler::CompileStoreGeneric(), and extra_ic_state().
|
inlinestatic |
Definition at line 4986 of file objects-inl.h.
References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and flags().
Referenced by ic_state().
|
inlinestatic |
Definition at line 4981 of file objects-inl.h.
References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and flags().
Referenced by v8::internal::CommonStubCacheChecks(), and kind().
|
inlinestatic |
Definition at line 4996 of file objects-inl.h.
References v8::internal::BitFieldBase< T, shift, size, U >::decode(), and flags().
Referenced by v8::internal::CommonStubCacheChecks(), and type().
void v8::internal::Code::FindAllMaps | ( | MapHandleList * | maps | ) |
Definition at line 10300 of file objects.cc.
References v8::internal::List< T, AllocationPolicy >::Add(), DCHECK, v8::internal::RelocIterator::done(), v8::internal::RelocInfo::EMBEDDED_OBJECT, v8::internal::handle(), is_inline_cache_stub(), and v8::internal::RelocInfo::ModeMask().
void v8::internal::Code::FindAndReplace | ( | const FindAndReplacePattern & | pattern | ) |
Definition at line 10279 of file objects.cc.
References v8::internal::Code::FindAndReplacePattern::count_, DCHECK, v8::internal::RelocIterator::done(), v8::internal::RelocInfo::EMBEDDED_OBJECT, v8::internal::Code::FindAndReplacePattern::find_, is_handler(), is_inline_cache_stub(), v8::internal::Code::FindAndReplacePattern::kMaxCount, v8::internal::HeapObject::map(), v8::internal::RelocInfo::ModeMask(), v8::internal::Code::FindAndReplacePattern::replace_, STATIC_ASSERT(), and UNREACHABLE.
|
private |
Definition at line 10498 of file objects.cc.
References has_debug_break_slots(), instruction_start(), kind(), kPrologueOffsetNotSet, NULL, and prologue_offset().
Referenced by GetRawAge(), MakeOlder(), v8::internal::Deoptimizer::PatchCodeForDeoptimization(), and v8::internal::RelocIterator::RelocIterator().
AllocationSite * v8::internal::Code::FindFirstAllocationSite | ( | ) |
Definition at line 10267 of file objects.cc.
References FindNthObject(), v8::internal::HeapObject::GetHeap(), and NULL.
Code * v8::internal::Code::FindFirstHandler | ( | ) |
Definition at line 10312 of file objects.cc.
References v8::internal::RelocInfo::CODE_TARGET, DCHECK, v8::internal::RelocIterator::done(), GetCodeFromTargetAddress(), is_inline_cache_stub(), kind(), v8::internal::RelocInfo::ModeMask(), and NULL.
Map * v8::internal::Code::FindFirstMap | ( | ) |
Definition at line 10273 of file objects.cc.
References FindNthObject(), v8::internal::HeapObject::GetHeap(), and NULL.
Name * v8::internal::Code::FindFirstName | ( | ) |
Definition at line 10364 of file objects.cc.
References DCHECK, v8::internal::RelocIterator::done(), v8::internal::RelocInfo::EMBEDDED_OBJECT, is_inline_cache_stub(), v8::internal::RelocInfo::ModeMask(), and NULL.
MaybeHandle< Code > v8::internal::Code::FindHandlerForMap | ( | Map * | map | ) |
Definition at line 10344 of file objects.cc.
References v8::internal::RelocInfo::CODE_TARGET, DCHECK, v8::internal::RelocIterator::done(), v8::internal::RelocInfo::EMBEDDED_OBJECT, GetCodeFromTargetAddress(), v8::internal::handle(), is_inline_cache_stub(), kind(), v8::internal::HeapObject::map(), v8::internal::RelocInfo::ModeMask(), and v8::internal::RelocInfo::rmode().
bool v8::internal::Code::FindHandlers | ( | CodeHandleList * | code_list, |
int | length = -1 |
||
) |
Definition at line 10325 of file objects.cc.
References v8::internal::List< T, AllocationPolicy >::Add(), v8::internal::RelocInfo::CODE_TARGET, DCHECK, v8::internal::RelocIterator::done(), GetCodeFromTargetAddress(), is_inline_cache_stub(), kind(), and v8::internal::RelocInfo::ModeMask().
Definition at line 10250 of file objects.cc.
References DCHECK, v8::internal::RelocIterator::done(), v8::internal::RelocInfo::EMBEDDED_OBJECT, is_inline_cache_stub(), v8::internal::HeapObject::map(), v8::internal::RelocInfo::ModeMask(), and NULL.
Referenced by FindFirstAllocationSite(), and FindFirstMap().
|
inline |
Definition at line 4435 of file objects-inl.h.
References kFlagsOffset, and READ_INT_FIELD.
Referenced by extra_ic_state(), ExtractCacheHolderFromFlags(), ExtractExtraICStateFromFlags(), ExtractICStateFromFlags(), ExtractKindFromFlags(), ExtractTypeFromFlags(), v8::internal::CodeCache::GetIndex(), has_debug_break_slots(), has_deoptimization_support(), v8::internal::CodeCacheHashTableKey::HashForObject(), ic_state(), is_compiled_optimizable(), kind(), v8::internal::CodeCache::LookupDefaultCache(), v8::internal::CodeCache::RemoveByIndex(), RemoveTypeAndHolderFromFlags(), RemoveTypeFromFlags(), v8::internal::StubCache::Set(), set_compiled_optimizable(), set_flags(), set_has_debug_break_slots(), set_has_deoptimization_support(), and type().
Code::Age v8::internal::Code::GetAge | ( | ) |
Definition at line 10508 of file objects.cc.
References v8::internal::EffectiveAge(), and GetRawAge().
Referenced by IsOld(), v8::internal::CodeFlusher::ProcessJSFunctionCandidates(), and v8::internal::CodeFlusher::ProcessSharedFunctionInfoCandidates().
|
staticprivate |
Definition at line 10525 of file objects.cc.
References v8::internal::Isolate::builtins(), CODE_AGE_LIST, v8::internal::HeapObject::GetIsolate(), HANDLE_CODE_AGE, kExecutedOnceCodeAge, kNotExecutedCodeAge, v8::internal::NO_MARKING_PARITY, NULL, and UNREACHABLE.
Referenced by GetRawAge(), and MakeOlder().
|
staticprivate |
|
staticprivate |
Definition at line 10561 of file objects.cc.
References v8::internal::Isolate::builtins(), CODE_AGE_LIST, DCHECK, HANDLE_CODE_AGE, kExecutedOnceCodeAge, kNotExecutedCodeAge, v8::internal::NO_MARKING_PARITY, NULL, and UNREACHABLE.
Definition at line 5018 of file objects-inl.h.
References v8::internal::HeapObject::address(), v8::internal::HeapObject::FromAddress(), and kHeaderSize.
Referenced by ClearInlineCaches(), FindFirstHandler(), FindHandlerForMap(), FindHandlers(), v8::internal::IC::GetTargetAtAddress(), v8::internal::Debug::IsDebugBreak(), v8::internal::BreakLocationIterator::IsStepInLocation(), v8::internal::BreakLocationIterator::Next(), v8::internal::Debug::PrepareStep(), v8::internal::BreakLocationIterator::PrepareStepIn(), v8::internal::TypeFeedbackOracle::ProcessRelocInfos(), v8::internal::BreakLocationIterator::SetDebugBreakAtIC(), v8::internal::PointersUpdatingVisitor::VisitCodeTarget(), v8::internal::ReplacingVisitor::VisitCodeTarget(), v8::internal::Serializer::ObjectSerializer::VisitCodeTarget(), and v8::internal::PointersUpdatingVisitor::VisitDebugTarget().
Definition at line 5029 of file objects-inl.h.
References v8::internal::Memory::Address_at(), v8::internal::HeapObject::FromAddress(), and kHeaderSize.
Referenced by v8::internal::JSFunction::code(), v8::internal::ScavengingVisitor< marks_handling, logging_and_profiling_mode >::EvacuateJSFunction(), v8::internal::CodeFlusher::ProcessJSFunctionCandidates(), v8::internal::ReplacingVisitor::VisitCodeEntry(), v8::internal::IndexedReferencesExtractor::VisitCodeEntry(), and v8::internal::Serializer::ObjectSerializer::VisitCodeEntry().
Definition at line 5320 of file objects.h.
References v8::internal::NO_MARKING_PARITY.
Code::Age v8::internal::Code::GetRawAge | ( | ) |
Definition at line 10513 of file objects.cc.
References FindCodeAgeSequence(), GetCodeAgeAndParity(), v8::internal::HeapObject::GetIsolate(), kNoAgeCodeAge, and NULL.
Referenced by GetAge(), and v8::internal::MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitCode >::Visit().
SafepointEntry v8::internal::Code::GetSafepointEntry | ( | Address | pc | ) |
Definition at line 10244 of file objects.cc.
References v8::internal::pc.
Referenced by v8::internal::Deoptimizer::DebuggerInspectableFrame(), v8::internal::Deoptimizer::DeoptimizeMarkedCodeForContext(), and v8::internal::OptimizedFrame::GetDeoptimizationData().
|
inline |
Definition at line 4729 of file objects-inl.h.
References DCHECK_EQ, v8::internal::BitFieldBase< T, shift, size, U >::decode(), flags(), kFullCodeFlags, kind(), and READ_BYTE_FIELD.
Referenced by v8::internal::ComputeCodeOffsetFromPcOffset(), FindCodeAgeSequence(), and v8::internal::Debug::PrepareForBreakPoints().
|
inline |
Definition at line 4714 of file objects-inl.h.
References DCHECK_EQ, v8::internal::BitFieldBase< T, shift, size, U >::decode(), flags(), kFullCodeFlags, kind(), and READ_BYTE_FIELD.
Referenced by v8::internal::SharedFunctionInfo::has_deoptimization_support().
|
inline |
Definition at line 4862 of file objects-inl.h.
References DCHECK, v8::internal::BitFieldBase< T, shift, size, U >::decode(), kind(), kKindSpecificFlags1Offset, READ_UINT32_FIELD, and v8::internal::STUB.
|
inline |
|
inline |
Definition at line 4635 of file objects-inl.h.
References DCHECK, v8::internal::DEBUG_STUB, ExtractICStateFromFlags(), flags(), is_inline_cache_stub(), and v8::internal::UNINITIALIZED.
Referenced by ComputeFlags(), extra_ic_state(), is_debug_stub(), v8::internal::IC::IsCleared(), v8::internal::IC::PostPatching(), and v8::internal::IC::TraceIC().
|
inline |
Definition at line 6181 of file objects-inl.h.
References instruction_size(), and instruction_start().
Referenced by v8::internal::ComputeCodeOffsetFromPcOffset(), v8::internal::ComputePcOffsetFromCodeOffset(), v8::internal::Heap::CopyCode(), and v8::internal::Deoptimizer::PatchCodeForDeoptimization().
|
inline |
Referenced by body_size(), v8::internal::JitLogger::CodeDeleteEvent(), v8::internal::JitLogger::CodeMoveEvent(), v8::internal::Heap::CopyCode(), CopyFrom(), instruction_end(), v8::internal::IC::InvalidateMaps(), v8::internal::IsCodeEquivalent(), v8::internal::PerfBasicLogger::LogRecordedBuffer(), v8::internal::LowLevelLogger::LogRecordedBuffer(), v8::internal::JitLogger::LogRecordedBuffer(), v8::internal::RuntimeProfiler::OptimizeNow(), v8::internal::RecordWriteStub::Patch(), and Relocate().
|
inline |
Definition at line 6176 of file objects-inl.h.
References FIELD_ADDR.
Referenced by v8::internal::IC::address(), v8::internal::BackEdgeTable::BackEdgeTable(), CanDeoptAt(), v8::internal::JitLogger::CodeDeleteEvent(), v8::internal::JitLogger::CodeMoveEvent(), v8::internal::ComputeCodeOffsetFromPcOffset(), v8::internal::ComputePcOffsetFromCodeOffset(), CopyFrom(), v8::internal::Deoptimizer::DoComputeAccessorStubFrame(), v8::internal::Deoptimizer::DoComputeArgumentsAdaptorFrame(), v8::internal::Deoptimizer::DoComputeCompiledStubFrame(), v8::internal::Deoptimizer::DoComputeConstructStubFrame(), v8::internal::Deoptimizer::DoComputeJSFrame(), v8::internal::JitLogger::EndCodePosInfoEvent(), entry(), FindCodeAgeSequence(), v8::internal::RecordWriteStub::GetMode(), instruction_end(), v8::internal::IC::InvalidateMaps(), v8::internal::PerfBasicLogger::LogRecordedBuffer(), v8::internal::LowLevelLogger::LogRecordedBuffer(), v8::internal::JitLogger::LogRecordedBuffer(), v8::internal::RecordWriteStub::Patch(), v8::internal::Deoptimizer::PatchCodeForDeoptimization(), v8::internal::JavaScriptFrame::Print(), v8::internal::JavaScriptFrame::PrintFunctionAndOffset(), v8::internal::Debug::RecordEvalCaller(), v8::internal::ProfileGenerator::RecordTickSample(), Relocate(), v8::internal::TypeFeedbackOracle::RelocateRelocInfos(), v8::internal::RelocIterator::RelocIterator(), v8::internal::ReplacingVisitor::VisitCodeEntry(), and v8::internal::ReplacingVisitor::VisitCodeTarget().
void v8::internal::Code::InvalidateEmbeddedObjects | ( | ) |
Definition at line 10110 of file objects.cc.
References v8::internal::RelocInfo::CELL, v8::internal::RelocIterator::done(), v8::internal::RelocInfo::EMBEDDED_OBJECT, v8::internal::HeapObject::GetHeap(), mode(), v8::internal::RelocInfo::ModeMask(), and v8::internal::SKIP_WRITE_BARRIER.
Referenced by v8::internal::MarkCompactCollector::ClearDependentCode(), and InvalidateRelocation().
void v8::internal::Code::InvalidateRelocation | ( | ) |
Definition at line 10104 of file objects.cc.
References v8::internal::HeapObject::GetHeap(), and InvalidateEmbeddedObjects().
Referenced by v8::internal::Deoptimizer::PatchCodeForDeoptimization().
|
inline |
Definition at line 5054 of file objects.h.
Referenced by v8::internal::BreakLocationIterator::Next().
|
inline |
Definition at line 5053 of file objects.h.
Referenced by v8::internal::Debug::PrepareStep().
|
inline |
Definition at line 5055 of file objects.h.
Referenced by v8::internal::BreakLocationIterator::Next().
|
inline |
|
inline |
Definition at line 4744 of file objects-inl.h.
References DCHECK_EQ, v8::internal::BitFieldBase< T, shift, size, U >::decode(), flags(), kFullCodeFlags, kind(), and READ_BYTE_FIELD.
|
inline |
Definition at line 4669 of file objects-inl.h.
References v8::internal::BitFieldBase< T, shift, size, U >::decode(), kKindSpecificFlags2Offset, and READ_UINT32_FIELD.
Referenced by is_hydrogen_stub(), safepoint_table_offset(), set_safepoint_table_offset(), set_stack_slots(), and stack_slots().
|
inline |
Definition at line 4937 of file objects-inl.h.
References v8::internal::DEBUG_STUB, and ic_state().
Referenced by v8::internal::DropFrames(), and v8::internal::Debug::IsDebugBreak().
|
inline |
Definition at line 5048 of file objects.h.
Referenced by FindAndReplace().
|
inline |
Definition at line 4675 of file objects-inl.h.
References is_crankshafted(), and kind().
Referenced by v8::internal::Deoptimizer::DoComputeCompiledStubFrame(), and v8::internal::Deoptimizer::DoComputeOutputFrames().
|
inline |
Definition at line 4921 of file objects-inl.h.
References CASE, IC_KIND_LIST, and kind().
Referenced by ClearInlineCaches(), v8::internal::DropFrames(), extra_ic_state(), FindAllMaps(), FindAndReplace(), FindFirstHandler(), FindFirstName(), FindHandlerForMap(), FindHandlers(), FindNthObject(), v8::internal::IC::GetTargetAtAddress(), ic_state(), mark_as_invalidated_weak_stub(), v8::internal::BreakLocationIterator::Next(), v8::internal::IC::PostPatching(), and v8::internal::Debug::PrepareStep().
|
inline |
Definition at line 4907 of file objects-inl.h.
References v8::internal::BitFieldBase< T, shift, size, U >::decode(), is_weak_stub(), kKindSpecificFlags1Offset, and READ_UINT32_FIELD.
|
inline |
Definition at line 5050 of file objects.h.
Referenced by is_keyed_stub().
|
inline |
Definition at line 5052 of file objects.h.
Referenced by is_keyed_stub().
|
inline |
Definition at line 4932 of file objects-inl.h.
References is_keyed_load_stub(), and is_keyed_store_stub().
Referenced by v8::internal::IC::TraceIC().
|
inline |
|
inline |
Definition at line 5059 of file objects.h.
Referenced by v8::internal::MarkCompactCollector::WillBeDeoptimized().
|
inline |
|
inline |
Definition at line 5057 of file objects.h.
Referenced by v8::internal::BreakLocationIterator::Next().
|
inline |
Definition at line 4687 of file objects-inl.h.
References DCHECK, v8::internal::BitFieldBase< T, shift, size, U >::decode(), kind(), kKindSpecificFlags1Offset, READ_UINT32_FIELD, and v8::internal::STUB.
Referenced by v8::internal::Deoptimizer::DeoptimizeMarkedCodeForContext(), v8::internal::Deoptimizer::DoComputeJSFrame(), and v8::internal::StaticMarkingVisitor< StaticVisitor >::MarkInlinedFunctionsCode().
|
inline |
Definition at line 4893 of file objects-inl.h.
References CanBeWeakStub(), v8::internal::BitFieldBase< T, shift, size, U >::decode(), kKindSpecificFlags1Offset, and READ_UINT32_FIELD.
Referenced by v8::internal::MarkCompactCollector::ClearDependentICList(), v8::internal::IC::InvalidateMaps(), and is_invalidated_weak_stub().
|
inline |
Definition at line 4626 of file objects-inl.h.
References kind(), and v8::internal::STUB.
Referenced by set_stub_key(), and stub_key().
bool v8::internal::Code::IsOld | ( | ) |
Definition at line 10493 of file objects.cc.
References GetAge(), and kIsOldCodeAge.
Definition at line 5335 of file objects.h.
Definition at line 5067 of file objects-inl.h.
Definition at line 5035 of file objects-inl.h.
Referenced by v8::internal::RelocIterator::RelocIterator().
|
inline |
Definition at line 4621 of file objects-inl.h.
References ExtractKindFromFlags(), and flags().
Referenced by v8::internal::Context::AddOptimizedCode(), allow_osr_at_loop_nesting_level(), v8::internal::AppendCodeCreateHeader(), back_edge_table_offset(), back_edges_patched_for_osr(), v8::internal::BackEdgeTable::BackEdgeTable(), builtin_index(), v8::internal::Heap::ClearAllICsByKind(), ClearInlineCaches(), v8::internal::ComputeCodeOffsetFromPcOffset(), ComputeFlags(), v8::internal::Deoptimizer::ComputeInputFrameSize(), v8::internal::ComputeMarker(), ComputeMonomorphicFlags(), v8::internal::ComputePcOffsetFromCodeOffset(), v8::internal::Deoptimizer::DeoptimizeFunction(), v8::internal::Deoptimizer::DeoptimizeMarkedCodeForContext(), v8::internal::Deoptimizer::Deoptimizer(), v8::internal::Deoptimizer::DoComputeOutputFrames(), v8::internal::DropFrames(), v8::internal::V8HeapExplorer::ExtractCodeReferences(), FindCodeAgeSequence(), v8::internal::Deoptimizer::FindDeoptimizingCode(), FindFirstHandler(), FindHandlerForMap(), FindHandlers(), v8::internal::OptimizedFrame::GetDeoptimizationData(), v8::internal::Deoptimizer::GetDeoptimizedCodeCount(), has_debug_break_slots(), has_deoptimization_support(), v8::internal::SharedFunctionInfo::has_deoptimization_support(), has_function_cache(), v8::internal::HeapObject::HeapObjectShortPrint(), is_compiled_optimizable(), is_hydrogen_stub(), is_inline_cache_stub(), is_turbofanned(), IsCodeStubOrIC(), v8::internal::IsJSFunctionCode(), v8::internal::JSFunction::IsOptimizable(), v8::internal::JSFunction::IsOptimized(), Kind2String(), v8::internal::Logger::LogCodeObject(), v8::internal::Deoptimizer::MarkAllCodeForContext(), marked_for_deoptimization(), v8::internal::BreakLocationIterator::Next(), v8::internal::IC::OnTypeFeedbackChanged(), optimizable(), v8::internal::RuntimeProfiler::OptimizeNow(), v8::internal::Debug::PrepareForBreakPoints(), v8::internal::Debug::PrepareStep(), v8::internal::JavaScriptFrame::Print(), v8::internal::Deoptimizer::PrintFunctionName(), v8::internal::TypeFeedbackOracle::ProcessRelocInfos(), profiler_ticks(), v8::internal::JSFunction::ReplaceCode(), v8::internal::RUNTIME_FUNCTION(), v8::internal::CodeSerializer::SerializeObject(), set_allow_osr_at_loop_nesting_level(), set_back_edge_table_offset(), set_builtin_index(), set_compiled_optimizable(), set_has_debug_break_slots(), set_has_deoptimization_support(), set_has_function_cache(), set_is_turbofanned(), set_marked_for_deoptimization(), set_optimizable(), set_profiler_ticks(), set_type_feedback_info(), v8::internal::IC::SetTargetAtAddress(), v8::internal::V8HeapExplorer::TagCodeObject(), v8::internal::IC::TraceIC(), TranslateAstIdToPcOffset(), TranslatePcOffsetToAstId(), type_feedback_info(), and v8::internal::MarkCompactMarkingVisitor::ObjectStatsTracker< MarkCompactMarkingVisitor::kVisitCode >::Visit().
|
static |
Definition at line 10627 of file objects.cc.
References CASE, CODE_KIND_LIST, kind(), NULL, NUMBER_OF_KINDS, and UNREACHABLE.
Referenced by v8::internal::V8HeapExplorer::ExtractSharedFunctionInfoReferences(), v8::internal::HeapObject::HeapObjectShortPrint(), and v8::internal::Deoptimizer::PrintFunctionName().
Definition at line 10452 of file objects.cc.
References kNoAgeCodeAge, v8::internal::NO_MARKING_PARITY, and PatchPlatformCodeAge().
void v8::internal::Code::MakeOlder | ( | MarkingParity | current_parity | ) |
Definition at line 10475 of file objects.cc.
References v8::internal::EffectiveAge(), FindCodeAgeSequence(), GetCodeAgeAndParity(), v8::internal::HeapObject::GetIsolate(), kLastCodeAge, NULL, and PatchPlatformCodeAge().
|
inline |
Definition at line 4913 of file objects-inl.h.
References DCHECK, is_inline_cache_stub(), kKindSpecificFlags1Offset, READ_UINT32_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
Referenced by v8::internal::IC::InvalidateMaps().
|
inline |
Definition at line 4899 of file objects-inl.h.
References CanBeWeakStub(), DCHECK, kKindSpecificFlags1Offset, READ_UINT32_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
Definition at line 10457 of file objects.cc.
References kExecutedOnceCodeAge, v8::internal::NO_MARKING_PARITY, and PatchPlatformCodeAge().
|
inline |
Definition at line 4877 of file objects-inl.h.
References DCHECK, v8::internal::BitFieldBase< T, shift, size, U >::decode(), kind(), kKindSpecificFlags1Offset, and READ_UINT32_FIELD.
Referenced by v8::internal::MarkCompactCollector::ClearDependentCode(), v8::internal::Deoptimizer::DeoptimizeMarkedCodeForContext(), v8::internal::DependentCode::MarkCodeForDeoptimization(), and v8::internal::MarkCompactCollector::WillBeDeoptimized().
|
inline |
Definition at line 4702 of file objects-inl.h.
References DCHECK_EQ, kind(), kOptimizableOffset, and READ_BYTE_FIELD.
Referenced by v8::internal::ComputeMarker(), and v8::internal::JSFunction::IsOptimizable().
|
staticprivate |
Referenced by MakeCodeAgeSequenceYoung(), MakeOlder(), and MarkCodeAsExecuted().
void v8::internal::Code::PrintDeoptLocation | ( | FILE * | out, |
int | bailout_id | ||
) |
Definition at line 10589 of file objects.cc.
References CHECK, v8::internal::RelocInfo::COMMENT, v8::internal::RelocInfo::data(), v8::internal::RelocIterator::done(), v8::internal::Deoptimizer::EAGER, v8::internal::Deoptimizer::GetDeoptimizationId(), v8::internal::HeapObject::GetIsolate(), v8::internal::RelocInfo::IsRuntimeEntry(), v8::internal::Deoptimizer::LAZY, v8::internal::RelocInfo::ModeMask(), NULL, v8::internal::PrintF(), v8::internal::RelocInfo::rmode(), v8::internal::RelocInfo::RUNTIME_ENTRY, and v8::internal::Deoptimizer::SOFT.
Referenced by v8::internal::Deoptimizer::DoComputeOutputFrames().
|
inline |
Definition at line 4775 of file objects-inl.h.
References DCHECK_EQ, kind(), kProfilerTicksOffset, and READ_BYTE_FIELD.
Referenced by v8::internal::RuntimeProfiler::OptimizeNow().
|
inline |
void v8::internal::Code::Relocate | ( | intptr_t | delta | ) |
Definition at line 10126 of file objects.cc.
References v8::internal::RelocIterator::done(), v8::internal::CpuFeatures::FlushICache(), instruction_size(), instruction_start(), v8::internal::RelocInfo::kApplyMask, and v8::internal::SKIP_ICACHE_FLUSH.
Referenced by v8::internal::Heap::CopyCode().
|
inline |
Definition at line 6201 of file objects-inl.h.
References v8::internal::FixedArrayBase::length(), and unchecked_relocation_info().
Referenced by v8::internal::RelocIterator::RelocIterator().
|
inline |
Definition at line 6196 of file objects-inl.h.
References v8::internal::ByteArray::GetDataStartAddress(), and unchecked_relocation_info().
Referenced by v8::internal::Heap::CopyCode(), CopyFrom(), and v8::internal::RelocIterator::RelocIterator().
|
inlinestatic |
Definition at line 5012 of file objects-inl.h.
References flags().
Referenced by v8::internal::CodeStubGraphBuilder< Stub >::BuildCodeStub(), v8::internal::CommonStubCacheChecks(), and v8::internal::StubCache::Set().
|
inlinestatic |
Definition at line 5006 of file objects-inl.h.
References flags().
Referenced by v8::internal::CodeCache::Lookup(), v8::internal::CodeCache::LookupDefaultCache(), and v8::internal::CodeCache::UpdateDefaultCache().
|
inline |
Definition at line 4817 of file objects-inl.h.
References DCHECK, v8::internal::BitFieldBase< T, shift, size, U >::decode(), is_crankshafted(), kKindSpecificFlags2Offset, and READ_UINT32_FIELD.
|
inline |
Definition at line 4766 of file objects-inl.h.
References DCHECK, DCHECK_EQ, kind(), kKindSpecificFlags2Offset, kMaxLoopNestingMarker, READ_UINT32_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
Referenced by v8::internal::BackEdgeTable::Patch(), and v8::internal::BackEdgeTable::Revert().
|
inline |
Definition at line 4841 of file objects-inl.h.
References DCHECK, DCHECK_EQ, v8::internal::IsAligned(), kind(), kKindSpecificFlags2Offset, v8::internal::kPointerSize, v8::internal::kPointerSizeLog2, READ_UINT32_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
|
inline |
Definition at line 4795 of file objects-inl.h.
References v8::internal::BUILTIN, DCHECK_EQ, kind(), kKindSpecificFlags1Offset, and WRITE_INT32_FIELD.
|
inline |
Definition at line 4751 of file objects-inl.h.
References DCHECK_EQ, flags(), kFullCodeFlags, kind(), READ_BYTE_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_BYTE_FIELD.
|
inline |
Definition at line 4947 of file objects-inl.h.
References DCHECK, v8::internal::HeapObject::GetHeap(), kConstantPoolOffset, WRITE_BARRIER, and WRITE_FIELD.
Referenced by v8::internal::Heap::CopyCode().
|
inline |
Definition at line 4615 of file objects-inl.h.
References flags(), kFlagsOffset, v8::internal::BitFieldBase< T, shift, size, U >::kMax, NUMBER_OF_KINDS, STATIC_ASSERT(), and WRITE_INT_FIELD.
|
inline |
Definition at line 4736 of file objects-inl.h.
References DCHECK_EQ, flags(), kFullCodeFlags, kind(), READ_BYTE_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_BYTE_FIELD.
|
inline |
Definition at line 4721 of file objects-inl.h.
References DCHECK_EQ, flags(), kFullCodeFlags, kind(), READ_BYTE_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_BYTE_FIELD.
Referenced by v8::internal::SharedFunctionInfo::EnableDeoptimizationSupport().
|
inline |
Definition at line 4869 of file objects-inl.h.
References DCHECK, v8::internal::flag, kind(), kKindSpecificFlags1Offset, READ_UINT32_FIELD, v8::internal::STUB, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
|
inline |
|
inline |
|
inline |
Definition at line 4680 of file objects-inl.h.
References kKindSpecificFlags2Offset, READ_UINT32_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
|
inline |
Definition at line 4694 of file objects-inl.h.
References DCHECK, kind(), kKindSpecificFlags1Offset, READ_UINT32_FIELD, v8::internal::STUB, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
|
inline |
Definition at line 4884 of file objects-inl.h.
References DCHECK, v8::internal::flag, v8::internal::HeapObject::GetIsolate(), kind(), kKindSpecificFlags1Offset, READ_UINT32_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
Referenced by v8::internal::Deoptimizer::DeoptimizeFunction(), v8::internal::Deoptimizer::MarkAllCodeForContext(), and v8::internal::DependentCode::SetMarkedForDeoptimization().
|
inline |
Definition at line 4708 of file objects-inl.h.
References DCHECK_EQ, kind(), kOptimizableOffset, and WRITE_BYTE_FIELD.
|
inline |
Definition at line 4781 of file objects-inl.h.
References DCHECK, kind(), kProfilerTicksOffset, and WRITE_BYTE_FIELD.
Referenced by v8::internal::IC::OnTypeFeedbackChanged(), and v8::internal::RuntimeProfiler::OptimizeNow().
|
inline |
|
inline |
Definition at line 4659 of file objects-inl.h.
References kKindSpecificFlags1Offset, and WRITE_INT_FIELD.
|
inline |
Definition at line 4664 of file objects-inl.h.
References kKindSpecificFlags2Offset, and WRITE_INT_FIELD.
|
inline |
Definition at line 4824 of file objects-inl.h.
References CHECK, DCHECK, is_crankshafted(), v8::internal::IsAligned(), v8::internal::kIntSize, kKindSpecificFlags2Offset, kSafepointTableOffsetBitCount, READ_UINT32_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
|
inline |
Definition at line 4808 of file objects-inl.h.
References CHECK, DCHECK, is_crankshafted(), kKindSpecificFlags1Offset, kStackSlotsBitCount, READ_UINT32_FIELD, v8::internal::BitFieldBase< T, shift, size, U >::update(), and WRITE_UINT32_FIELD.
|
inline |
Definition at line 6166 of file objects-inl.h.
References DCHECK, v8::internal::Smi::FromInt(), and IsCodeStubOrIC().
|
inline |
Definition at line 6151 of file objects-inl.h.
References CONDITIONAL_WRITE_BARRIER, DCHECK, v8::internal::HeapObject::GetHeap(), kind(), kTypeFeedbackInfoOffset, and mode().
Definition at line 5256 of file objects.h.
References DCHECK_SIZE_TAG_ALIGNED, v8::internal::kCodeAlignment, v8::internal::Object::kHeaderSize, and v8::internal::RoundUp().
Referenced by v8::internal::Heap::CopyCode().
Definition at line 10192 of file objects.cc.
References v8::internal::RelocInfo::data(), v8::internal::RelocIterator::done(), v8::internal::kMaxInt, v8::internal::RelocInfo::kNoPosition, v8::internal::RelocInfo::kPositionMask, v8::internal::RelocIterator::next(), v8::internal::pc, v8::internal::RelocInfo::pc(), and v8::internal::RelocIterator::rinfo().
Referenced by v8::internal::DeoptimizedFrameInfo::DeoptimizedFrameInfo(), v8::internal::JavaScriptFrame::Print(), v8::internal::JavaScriptFrame::PrintFunctionAndOffset(), and SourceStatementPosition().
Definition at line 10224 of file objects.cc.
References v8::internal::RelocInfo::data(), v8::internal::RelocIterator::done(), v8::internal::RelocInfo::IsStatementPosition(), v8::internal::RelocInfo::kPositionMask, v8::internal::RelocIterator::next(), v8::internal::pc, v8::internal::RelocIterator::rinfo(), v8::internal::RelocInfo::rmode(), and SourcePosition().
Referenced by v8::internal::Debug::StepNextContinue().
|
inline |
Definition at line 4801 of file objects-inl.h.
References DCHECK, v8::internal::BitFieldBase< T, shift, size, U >::decode(), is_crankshafted(), kKindSpecificFlags1Offset, and READ_UINT32_FIELD.
Referenced by v8::internal::Deoptimizer::ComputeInputFrameSize(), and v8::internal::Deoptimizer::DebuggerInspectableFrame().
v8::internal::Code::STATIC_ASSERT | ( | 1+kSafepointTableOffsetBitCount<= | 32 | ) |
v8::internal::Code::STATIC_ASSERT | ( | AllowOSRAtLoopNestingLevelField::kMax >= | kMaxLoopNestingMarker | ) |
v8::internal::Code::STATIC_ASSERT | ( | kIsTurbofannedBit+1<= | 32 | ) |
v8::internal::Code::STATIC_ASSERT | ( | kSafepointTableOffsetFirstBit+kSafepointTableOffsetBitCount<= | 32 | ) |
v8::internal::Code::STATIC_ASSERT | ( | kStackSlotsFirstBit+kStackSlotsBitCount<= | 32 | ) |
v8::internal::Code::STATIC_ASSERT | ( | NUMBER_OF_KINDS<= | 16 | ) |
|
inline |
Definition at line 6159 of file objects-inl.h.
References DCHECK, IsCodeStubOrIC(), and v8::internal::Smi::value().
Referenced by v8::internal::Deoptimizer::DoComputeCompiledStubFrame(), v8::internal::BASE_EMBEDDED< Visitor >::GetMajorKey(), and v8::internal::CodeSerializer::SerializeCodeStub().
|
inline |
Definition at line 4857 of file objects-inl.h.
References extra_ic_state().
Definition at line 10440 of file objects.cc.
References v8::internal::BackEdgeTable::ast_id(), DCHECK, kind(), v8::internal::BackEdgeTable::length(), v8::internal::BackEdgeTable::pc_offset(), and UNREACHABLE.
Definition at line 10429 of file objects.cc.
References v8::internal::BackEdgeTable::ast_id(), DCHECK, kind(), v8::internal::BackEdgeTable::length(), v8::internal::BailoutId::None(), and v8::internal::BackEdgeTable::pc_offset().
|
inline |
Definition at line 4653 of file objects-inl.h.
References ExtractTypeFromFlags(), and flags().
Referenced by ComputeFlags(), ComputeHandlerFlags(), ComputeMonomorphicFlags(), v8::internal::CodeCache::GetIndex(), and v8::internal::CodeCache::RemoveByIndex().
|
inline |
Definition at line 6145 of file objects-inl.h.
References DCHECK, and kind().
Referenced by v8::internal::V8HeapExplorer::ExtractCodeReferences(), v8::internal::GetICCounts(), and v8::internal::IC::OnTypeFeedbackChanged().
|
inline |
Definition at line 6191 of file objects-inl.h.
References kRelocationInfoOffset, and READ_FIELD.
Referenced by relocation_size(), and relocation_start().
|
inline |
Definition at line 6133 of file objects-inl.h.
References NULL, READ_FIELD, and WRITE_FIELD.
Referenced by v8::internal::Serializer::ObjectSerializer::OutputRawData().
|
friend |
|
friend |
|
static |
Definition at line 5367 of file objects.h.
Referenced by CodeIterateBody(), constant_pool(), v8::internal::V8HeapExplorer::ExtractCodeReferences(), and set_constant_pool().
|
static |
Definition at line 5352 of file objects.h.
Referenced by CodeIterateBody(), and v8::internal::V8HeapExplorer::ExtractCodeReferences().
|
static |
Definition at line 5448 of file objects.h.
Referenced by v8::internal::StubCache::PrimaryOffset(), and v8::internal::StubCache::SecondaryOffset().
|
static |
Definition at line 5361 of file objects.h.
Referenced by flags(), and set_flags().
|
static |
Definition at line 5379 of file objects.h.
Referenced by has_debug_break_slots(), has_deoptimization_support(), is_compiled_optimizable(), set_compiled_optimizable(), set_has_debug_break_slots(), and set_has_deoptimization_support().
|
static |
Definition at line 5358 of file objects.h.
Referenced by v8::internal::V8HeapExplorer::ExtractCodeReferences().
|
static |
Definition at line 5351 of file objects.h.
Referenced by CodeIterateBody(), and v8::internal::V8HeapExplorer::ExtractCodeReferences().
|
static |
|
static |
|
static |
Definition at line 5373 of file objects.h.
Referenced by v8::internal::LowLevelLogger::CodeDeleteEvent(), v8::internal::LowLevelLogger::CodeMoveEvent(), v8::internal::Assembler::emit_code_relative_offset(), ExecutableSize(), GetCodeFromTargetAddress(), GetObjectFromEntryAddress(), v8::internal::PerfBasicLogger::LogRecordedBuffer(), v8::internal::LowLevelLogger::LogRecordedBuffer(), v8::internal::LowLevelLogger::SnapshotPositionEvent(), and v8::internal::OptimizedFrame::Summarize().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 5362 of file objects.h.
Referenced by builtin_index(), has_function_cache(), is_invalidated_weak_stub(), is_turbofanned(), is_weak_stub(), mark_as_invalidated_weak_stub(), mark_as_weak_stub(), marked_for_deoptimization(), set_builtin_index(), set_has_function_cache(), set_is_turbofanned(), set_marked_for_deoptimization(), set_raw_kind_specific_flags1(), set_stack_slots(), and stack_slots().
|
static |
Definition at line 5363 of file objects.h.
Referenced by allow_osr_at_loop_nesting_level(), back_edge_table_offset(), is_crankshafted(), safepoint_table_offset(), set_allow_osr_at_loop_nesting_level(), set_back_edge_table_offset(), set_is_crankshafted(), set_raw_kind_specific_flags2(), and set_safepoint_table_offset().
|
static |
|
static |
|
static |
Definition at line 5346 of file objects.h.
Referenced by v8::internal::RuntimeProfiler::OptimizeNow(), v8::internal::BackEdgeTable::Patch(), v8::internal::FullCodeGenerator::RecordBackEdge(), v8::internal::RUNTIME_FUNCTION(), and set_allow_osr_at_loop_nesting_level().
|
static |
Definition at line 5357 of file objects.h.
Referenced by CodeIterateBody(), v8::internal::V8HeapExplorer::ExtractCodeReferences(), and v8::internal::WeakListVisitor< Code >::WeakNextOffset().
|
static |
Definition at line 5377 of file objects.h.
Referenced by optimizable(), and set_optimizable().
|
static |
Definition at line 5385 of file objects.h.
Referenced by profiler_ticks(), and set_profiler_ticks().
|
static |
|
static |
Definition at line 4973 of file objects.h.
Referenced by FindCodeAgeSequence(), v8::internal::CompilationInfo::Initialize(), v8::internal::CompilationInfo::prologue_offset(), and v8::internal::CompilationInfo::set_prologue_offset().
|
static |
Definition at line 5350 of file objects.h.
Referenced by CodeIterateBody(), v8::internal::V8HeapExplorer::ExtractCodeReferences(), and unchecked_relocation_info().
|
static |
Definition at line 5427 of file objects.h.
Referenced by set_safepoint_table_offset().
|
static |
|
static |
Definition at line 5397 of file objects.h.
Referenced by set_stack_slots().
|
static |
|
static |
Definition at line 5355 of file objects.h.
Referenced by CodeIterateBody(), v8::internal::V8HeapExplorer::ExtractCodeReferences(), and set_type_feedback_info().
|
static |