Commit e98e52e2 authored by Thibaud Michaud's avatar Thibaud Michaud Committed by Commit Bot

[wasm] Remove outdated comment

Non-embedded builtins are deprecated, and the "#ifdef" this comment is
referring to was already removed.

R=clemensb@chromium.org

Bug: v8:10021
Change-Id: I043963d689e7c3c1bf7e9e44fd07c49f0f19cdd7
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1995264Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65698}
parent cb631803
......@@ -1123,8 +1123,6 @@ int AddExportWrapperUnits(Isolate* isolate, WasmEngine* wasm_engine,
NativeModule* native_module,
CompilationUnitBuilder* builder,
const WasmFeatures& enabled_features) {
// Disable asynchronous wrapper compilation when builtins are not embedded,
// otherwise the isolate might be used after tear down to access builtins.
std::unordered_set<JSToWasmWrapperKey, base::hash<JSToWasmWrapperKey>> keys;
for (auto exp : native_module->module()->export_table) {
if (exp.kind != kExternalFunction) continue;
......
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