Commit 44a49a4d authored by Sigurd Schneider's avatar Sigurd Schneider Committed by Commit Bot

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

This reverts commit f991465b.

Reason for revert: test failure
https://ci.chromium.org/p/v8/builders/luci.v8.ci/V8%20Linux64%20-%20internal%20snapshot/16696

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}

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

Change-Id: Id7b0f8ec208a0117f386e6e809ebe61125cf1119
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: v8:7921
Reviewed-on: https://chromium-review.googlesource.com/1167522Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54986}
parent f991465b
......@@ -5168,7 +5168,6 @@ void TurbofanWasmCompilationUnit::ExecuteCompilation() {
}
if (ok_) wasm_code_ = info.wasm_code();
}
if (ok_) wasm_unit_->native_module()->PublishCode(wasm_code_);
}
wasm::WasmCode* TurbofanWasmCompilationUnit::FinishCompilation(
......@@ -5191,6 +5190,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