Skip to content

Commit 92a8cbe

Browse files
hashseedBridgeAR
authored andcommitted
src: enable detailed source positions in V8
PR-URL: #24274 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Peter Marshall <[email protected]> Reviewed-By: Ali Ijaz Sheikh <[email protected]> Reviewed-By: Matheus Marchini <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent ef69e7b commit 92a8cbe

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
@@ -2590,6 +2590,7 @@ Isolate* NewIsolate(ArrayBufferAllocator* allocator, uv_loop_t* event_loop) {
25902590
isolate->SetMicrotasksPolicy(MicrotasksPolicy::kExplicit);
25912591
isolate->SetFatalErrorHandler(OnFatalError);
25922592
isolate->SetAllowWasmCodeGenerationCallback(AllowWasmCodeGenerationCallback);
2593+
v8::CpuProfiler::UseDetailedSourcePositionsForProfiling(isolate);
25932594

25942595
return isolate;
25952596
}

0 commit comments

Comments
 (0)