Commit 094eddd2 authored by Jakob Gruber's avatar Jakob Gruber Committed by V8 LUCI CQ

[turbofan] Unconditionally unpark the thread during the AssembleCodePhase

The code generator accesses the heap even without --code-comments set:
remove the related condition from the UnparkedScopeIfNeeded.

Fixed: v8:12794
Change-Id: I0099f22a9382373c4f75538615fbf431c4d71283
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3582389
Commit-Queue: Jakob Linke <jgruber@chromium.org>
Auto-Submit: Jakob Linke <jgruber@chromium.org>
Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79953}
parent 58a7761b
......@@ -3600,7 +3600,7 @@ void PipelineImpl::AssembleCode(Linkage* linkage) {
data->BeginPhaseKind("V8.TFCodeGeneration");
data->InitializeCodeGenerator(linkage);
UnparkedScopeIfNeeded unparked_scope(data->broker(), FLAG_code_comments);
UnparkedScopeIfNeeded unparked_scope(data->broker());
Run<AssembleCodePhase>();
if (data->info()->trace_turbo_json()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment