Lines Matching refs:CodeEntry
47 const char* const CodeEntry::kEmptyNamePrefix = "";
48 const char* const CodeEntry::kEmptyResourceName = "";
49 const char* const CodeEntry::kEmptyBailoutReason = "";
50 const char* const CodeEntry::kNoDeoptReason = "";
52 const char* const CodeEntry::kProgramEntryName = "(program)";
53 const char* const CodeEntry::kIdleEntryName = "(idle)";
54 const char* const CodeEntry::kGarbageCollectorEntryName = "(garbage collector)";
55 const char* const CodeEntry::kUnresolvedFunctionName = "(unresolved function)";
57 base::LazyDynamicInstance<CodeEntry, CodeEntry::ProgramEntryCreateTrait>::type
58 CodeEntry::kProgramEntry = LAZY_DYNAMIC_INSTANCE_INITIALIZER;
60 base::LazyDynamicInstance<CodeEntry, CodeEntry::IdleEntryCreateTrait>::type
61 CodeEntry::kIdleEntry = LAZY_DYNAMIC_INSTANCE_INITIALIZER;
63 base::LazyDynamicInstance<CodeEntry, CodeEntry::GCEntryCreateTrait>::type
64 CodeEntry::kGCEntry = LAZY_DYNAMIC_INSTANCE_INITIALIZER;
66 base::LazyDynamicInstance<CodeEntry,
67 CodeEntry::UnresolvedEntryCreateTrait>::type
68 CodeEntry::kUnresolvedEntry = LAZY_DYNAMIC_INSTANCE_INITIALIZER;
70 CodeEntry* CodeEntry::ProgramEntryCreateTrait::Create() { in Create()
71 return new CodeEntry(Logger::FUNCTION_TAG, CodeEntry::kProgramEntryName); in Create()
74 CodeEntry* CodeEntry::IdleEntryCreateTrait::Create() { in Create()
75 return new CodeEntry(Logger::FUNCTION_TAG, CodeEntry::kIdleEntryName); in Create()
78 CodeEntry* CodeEntry::GCEntryCreateTrait::Create() { in Create()
79 return new CodeEntry(Logger::BUILTIN_TAG, in Create()
80 CodeEntry::kGarbageCollectorEntryName); in Create()
83 CodeEntry* CodeEntry::UnresolvedEntryCreateTrait::Create() { in Create()
84 return new CodeEntry(Logger::FUNCTION_TAG, in Create()
85 CodeEntry::kUnresolvedFunctionName); in Create()
88 CodeEntry::~CodeEntry() { in ~CodeEntry()
98 uint32_t CodeEntry::GetHash() const { in GetHash()
121 bool CodeEntry::IsSameFunctionAs(CodeEntry* entry) const { in IsSameFunctionAs()
132 void CodeEntry::SetBuiltinId(Builtins::Name id) { in SetBuiltinId()
138 int CodeEntry::GetSourceLine(int pc_offset) const { in GetSourceLine()
145 void CodeEntry::AddInlineStack(int pc_offset, in AddInlineStack()
146 std::vector<CodeEntry*> inline_stack) { in AddInlineStack()
150 const std::vector<CodeEntry*>* CodeEntry::GetInlineStack(int pc_offset) const { in GetInlineStack()
155 void CodeEntry::AddDeoptInlinedFrames( in AddDeoptInlinedFrames()
161 bool CodeEntry::HasDeoptInlinedFramesFor(int deopt_id) const { in HasDeoptInlinedFramesFor()
165 void CodeEntry::FillFunctionInfo(SharedFunctionInfo* shared) { in FillFunctionInfo()
173 CpuProfileDeoptInfo CodeEntry::GetDeoptInfo() { in GetDeoptInfo()
189 void ProfileNode::CollectDeoptInfo(CodeEntry* entry) { in CollectDeoptInfo()
195 ProfileNode* ProfileNode::FindChild(CodeEntry* entry) { in FindChild()
203 ProfileNode* ProfileNode::FindOrAddChild(CodeEntry* entry) { in FindOrAddChild()
272 bailout_reason != CodeEntry::kEmptyBailoutReason) { in Print()
309 CodeEntry* code_entry = node->entry(); in GetFunctionId()
318 ProfileNode* ProfileTree::AddPathFromEnd(const std::vector<CodeEntry*>& path, in AddPathFromEnd()
321 CodeEntry* last_entry = NULL; in AddPathFromEnd()
407 const std::vector<CodeEntry*>& path, int src_line, in AddPath()
426 const CodeEntry* entry = node->entry(); in BuildNodeValue()
510 void CodeMap::AddCode(Address addr, CodeEntry* entry, unsigned size) { in AddCode()
526 CodeEntry* CodeMap::FindEntry(Address addr) { in FindEntry()
627 base::TimeTicks timestamp, const std::vector<CodeEntry*>& path, in AddPathToCurrentProfiles()
643 std::vector<CodeEntry*> entries; in RecordTickSample()
663 CodeEntry* pc_entry = FindEntry(sample.pc); in RecordTickSample()
693 entries.push_back(CodeEntry::unresolved_entry()); in RecordTickSample()
701 CodeEntry* entry = FindEntry(stack_pos); in RecordTickSample()
706 const std::vector<CodeEntry*>* inline_stack = in RecordTickSample()
744 CodeEntry* ProfileGenerator::FindEntry(void* address) { in FindEntry()
748 CodeEntry* ProfileGenerator::EntryForVMState(StateTag tag) { in EntryForVMState()
751 return CodeEntry::gc_entry(); in EntryForVMState()
759 return CodeEntry::program_entry(); in EntryForVMState()
761 return CodeEntry::idle_entry(); in EntryForVMState()