Skip to content

Commit aa220cf

Browse files
hashseedrvagg
authored andcommitted
src: enable detailed source positions in V8
PR-URL: #24515 Refs: #24274 Refs: #24394 Refs: #24393 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Peter Marshall <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 61179e6 commit aa220cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node.cc

+1
Original file line numberDiff line numberDiff line change
@@ -2613,6 +2613,7 @@ Isolate* NewIsolate(ArrayBufferAllocator* allocator, uv_loop_t* event_loop) {
26132613
isolate->SetMicrotasksPolicy(MicrotasksPolicy::kExplicit);
26142614
isolate->SetFatalErrorHandler(OnFatalError);
26152615
isolate->SetAllowWasmCodeGenerationCallback(AllowWasmCodeGenerationCallback);
2616+
v8::CpuProfiler::UseDetailedSourcePositionsForProfiling(isolate);
26162617

26172618
return isolate;
26182619
}

0 commit comments

Comments
 (0)