Skip to content

Commit e2a8e32

Browse files
hashseedTrott
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 715bbb9 commit e2a8e32

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
@@ -2593,6 +2593,7 @@ Isolate* NewIsolate(ArrayBufferAllocator* allocator, uv_loop_t* event_loop) {
25932593
isolate->SetMicrotasksPolicy(MicrotasksPolicy::kExplicit);
25942594
isolate->SetFatalErrorHandler(OnFatalError);
25952595
isolate->SetAllowWasmCodeGenerationCallback(AllowWasmCodeGenerationCallback);
2596+
v8::CpuProfiler::UseDetailedSourcePositionsForProfiling(isolate);
25962597

25972598
return isolate;
25982599
}

0 commit comments

Comments
 (0)