Home
last modified time | relevance | path

Searched refs:abstract_code (Results 1 – 22 of 22) sorted by relevance

/third_party/node/deps/v8/src/heap/
Dcode-stats.cc33 AbstractCode abstract_code = AbstractCode::cast(object); in RecordCodeAndMetadataStatistics() local
34 int size = abstract_code.SizeIncludingMetadata(); in RecordCodeAndMetadataStatistics()
35 if (abstract_code.IsCode(cage_base)) { in RecordCodeAndMetadataStatistics()
45 isolate->code_kind_statistics()[static_cast<int>(abstract_code.kind())] += in RecordCodeAndMetadataStatistics()
46 abstract_code.Size(cage_base); in RecordCodeAndMetadataStatistics()
/third_party/node/deps/v8/src/profiler/
Dprofiler-listener.cc110 Handle<AbstractCode> abstract_code, in CodeCreateEvent() argument
116 rec->instruction_start = abstract_code->InstructionStart(); in CodeCreateEvent()
128 bool is_baseline = abstract_code->kind() == CodeKind::BASELINE; in CodeCreateEvent()
130 abstract_code->SourcePositionTable(*shared), isolate_); in CodeCreateEvent()
137 abstract_code->GetCode().bytecode_offset_table(), isolate_); in CodeCreateEvent()
163 DCHECK(abstract_code->IsCode()); in CodeCreateEvent()
164 Handle<Code> code = handle(abstract_code->GetCode(), isolate_); in CodeCreateEvent()
227 rec->instruction_size = abstract_code->InstructionSize(); in CodeCreateEvent()
228 weak_code_registry_.Track(rec->entry, abstract_code); in CodeCreateEvent()
/third_party/node/deps/v8/src/execution/
Dframes.cc1348 Handle<AbstractCode> abstract_code(AbstractCode::cast(code), isolate()); in Summarize() local
1351 isolate(), receiver(), function(), *abstract_code, offset, in Summarize()
1430 AbstractCode abstract_code = function.abstract_code(isolate); in PrintTop() local
1438 abstract_code = AbstractCode::cast(baseline_frame->GetBytecodeArray()); in PrintTop()
1443 PrintFunctionAndOffset(function, abstract_code, code_offset, file, in PrintTop()
1556 AbstractCode abstract_code, int code_offset, bool is_constructor, in JavaScriptFrameSummary() argument
1561 abstract_code_(abstract_code, isolate), in JavaScriptFrameSummary()
1565 DCHECK(abstract_code.IsBytecodeArray() || in JavaScriptFrameSummary()
1566 !CodeKindIsOptimizedJSFunction(Code::cast(abstract_code).kind())); in JavaScriptFrameSummary()
1599 return abstract_code()->SourcePosition(code_offset()); in SourcePosition()
[all …]
Dframes.h379 JSFunction function, AbstractCode abstract_code,
388 Handle<AbstractCode> abstract_code() const { return abstract_code_; } in abstract_code() function
Dmessages.cc729 int pos = summary.abstract_code()->SourcePosition(summary.code_offset()); in ComputeLocation()
Disolate.cc789 AppendFrame(summary.receiver(), function, summary.abstract_code(), in AppendJavaScriptFrame()
2174 Handle<AbstractCode> code = summary.AsJavaScript().abstract_code(); in ThrowInternal()
/third_party/node/deps/v8/src/diagnostics/
Dperf-jit.cc215 Handle<AbstractCode> abstract_code, in LogRecordedBuffer() argument
218 if (FLAG_perf_basic_prof_only_functions && !CodeKindIsJSFunction(abstract_code->kind())) { in LogRecordedBuffer()
227 if (!abstract_code->IsCode()) return; in LogRecordedBuffer()
228 Handle<Code> code = Handle<Code>::cast(abstract_code); in LogRecordedBuffer()
/third_party/node/deps/v8/src/codegen/
Dcompiler.cc252 Handle<AbstractCode> abstract_code, CodeKind kind, in LogFunctionCompilation() argument
254 DCHECK(!abstract_code.is_null()); in LogFunctionCompilation()
256 DCHECK_NE(*abstract_code, FromCodeT(*BUILTIN_CODE(isolate, CompileLazy))); in LogFunctionCompilation()
258 DCHECK(!abstract_code.is_identical_to(BUILTIN_CODE(isolate, CompileLazy))); in LogFunctionCompilation()
278 PROFILE(isolate, CodeCreateEvent(log_tag, abstract_code, shared, script_name, in LogFunctionCompilation()
281 LOG(isolate, FeedbackVectorEvent(*vector, *abstract_code)); in LogFunctionCompilation()
414 Handle<AbstractCode> abstract_code; in RecordUnoptimizedFunctionCompilation() local
416 abstract_code = in RecordUnoptimizedFunctionCompilation()
421 abstract_code = in RecordUnoptimizedFunctionCompilation()
433 abstract_code, CodeKind::INTERPRETED_FUNCTION, in RecordUnoptimizedFunctionCompilation()
[all …]
/third_party/node/deps/v8/src/debug/
Ddebug.h92 BreakLocation(Handle<AbstractCode> abstract_code, DebugBreakType type, in BreakLocation() argument
95 : abstract_code_(abstract_code), in BreakLocation()
112 Handle<AbstractCode> abstract_code,
Ddebug.cc121 Handle<AbstractCode> abstract_code = summary.abstract_code(); in FromFrame() local
123 it.SkipTo(BreakIndexFromCodeOffset(debug_info, abstract_code, offset)); in FromFrame()
162 Handle<AbstractCode> abstract_code = summary.abstract_code(); in AllAtCurrentStatement() local
163 if (abstract_code->IsCode()) offset = offset - 1; in AllAtCurrentStatement()
167 it.SkipTo(BreakIndexFromCodeOffset(debug_info, abstract_code, offset)); in AllAtCurrentStatement()
189 Handle<AbstractCode> abstract_code, in BreakIndexFromCodeOffset() argument
194 DCHECK(0 <= offset && offset < abstract_code->Size()); in BreakIndexFromCodeOffset()
1142 Handle<AbstractCode> code = summary.AsJavaScript().abstract_code(); in PrepareStepOnThrow()
1235 summary.abstract_code()->SourceStatementPosition(summary.code_offset()); in PrepareStep()
/third_party/node/deps/v8/src/objects/
Dshared-function-info.cc476 DCHECK(abstract_code(isolate).kind() == CodeKind::INTERPRETED_FUNCTION || in DisableOptimization()
477 abstract_code(isolate).kind() == CodeKind::BUILTIN); in DisableOptimization()
478 PROFILE(isolate, CodeDisableOptEvent(handle(abstract_code(isolate), isolate), in DisableOptimization()
Djs-function.h133 inline AbstractCode abstract_code(IsolateT* isolate);
Djs-function-inl.h62 AbstractCode JSFunction::abstract_code(IsolateT* isolate) { in abstract_code() function
Dshared-function-info.h213 inline AbstractCode abstract_code(IsolateT* isolate);
Ddebug-objects.cc408 int source_position = shared->abstract_code(isolate).SourcePosition( in GetSourcePosition()
Dshared-function-info-inl.h197 AbstractCode SharedFunctionInfo::abstract_code(IsolateT* isolate) { in abstract_code() function
Djs-objects.cc5599 int position = shared_info->abstract_code(isolate).SourcePosition( in EnsureSourcePositionsAvailable()
Dobjects.cc4813 position = shared->abstract_code(isolate).SourcePosition(-position); in GetEvalPosition()
/third_party/node/deps/v8/src/snapshot/
Dcode-serializer.cc312 Handle<AbstractCode> abstract_code = Handle<AbstractCode>::cast(code); in CreateInterpreterDataForDeserializedCode() local
316 CodeCreateEvent(CodeEventListener::FUNCTION_TAG, abstract_code, in CreateInterpreterDataForDeserializedCode()
404 handle(shared_info->abstract_code(isolate), isolate), in FinalizeDeserialization()
/third_party/node/deps/v8/src/logging/
Dlog.cc1846 handle(AbstractCode::cast(sfi.abstract_code(isolate)), isolate)); in EnumerateCompiledFunctions()
1875 handle(AbstractCode::cast(sfi.abstract_code(isolate)), isolate)); in EnumerateCompiledFunctions()
2139 Handle<AbstractCode> abstract_code(AbstractCode::cast(object), isolate_); in LogCodeObject() local
2142 switch (abstract_code->kind()) { in LogCodeObject()
2158 isolate_->builtins()->name(abstract_code->GetCode().builtin_id()); in LogCodeObject()
2168 isolate_->builtins()->name(abstract_code->GetCode().builtin_id()); in LogCodeObject()
2196 CALL_CODE_EVENT_HANDLER(CodeCreateEvent(tag, abstract_code, description)) in LogCodeObject()
/third_party/node/deps/v8/src/runtime/
Druntime-test.cc702 if (sfi->abstract_code(isolate).kind() != CodeKind::INTERPRETED_FUNCTION && in RUNTIME_FUNCTION()
703 sfi->abstract_code(isolate).kind() != CodeKind::BUILTIN) { in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/ic/
Dic.cc159 AbstractCode code = function.abstract_code(isolate_); in TraceIC()