Commit e3aab0fb authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

Revert "Reland "[wasm] Publish new code from the background threads.""

This reverts commit 38584fd4.

Reason for revert: failures on Mac64

https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Mac64/23574

Original change's description:
> Reland "[wasm] Publish new code from the background threads."
> 
> This is a reland of f991465b
> 
> Original change's description:
> > [wasm] Publish new code from the background threads.
> > 
> > R=clemensh@chromium.org
> > BUG=v8:7921
> > 
> > Change-Id: Ib86cb5f742907b6e54365827facfc765867ca22e
> > Reviewed-on: https://chromium-review.googlesource.com/1156384
> > Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
> > Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
> > Cr-Commit-Position: refs/heads/master@{#54985}
> 
> Bug: v8:7921
> Change-Id: I08c5eb689fe4f8ef2f7b576f0145eb0ae617fd9d
> Reviewed-on: https://chromium-review.googlesource.com/1170603
> Reviewed-by: Clemens Hammacher <clemensh@chromium.org>
> Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#55042}

TBR=mstarzinger@chromium.org,clemensh@chromium.org

Change-Id: Ia7526f97fc7bd9d8c0627c958647fe6137eb98ab
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: v8:7921
Reviewed-on: https://chromium-review.googlesource.com/1170802Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55044}
parent 96ae2856
......@@ -5172,7 +5172,6 @@ void TurbofanWasmCompilationUnit::ExecuteCompilation() {
}
if (ok_) wasm_code_ = info.wasm_code();
}
if (ok_) wasm_unit_->native_module()->PublishCode(wasm_code_);
}
wasm::WasmCode* TurbofanWasmCompilationUnit::FinishCompilation(
......@@ -5195,6 +5194,8 @@ wasm::WasmCode* TurbofanWasmCompilationUnit::FinishCompilation(
return nullptr;
}
wasm_unit_->native_module()->PublishCode(wasm_code_);
return wasm_code_;
}
......
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