Commit 680cdd0c authored by Michael Starzinger's avatar Michael Starzinger Committed by Commit Bot

[wasm] Remove obsolete code modification scope.

R=clemensh@chromium.org

Change-Id: Iacfa93bdce7d8d175db9e606b7c667e4c967da51
Reviewed-on: https://chromium-review.googlesource.com/c/1335451Reviewed-by: 's avatarClemens Hammacher <clemensh@chromium.org>
Commit-Queue: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57492}
parent 312dbdd5
......@@ -617,9 +617,7 @@ void WasmDebugInfo::RedirectToInterpreter(Handle<WasmDebugInfo> debug_info,
instance->module_object()->native_module();
const wasm::WasmModule* module = instance->module();
// We may modify js wrappers, as well as wasm functions. Hence the 2
// modification scopes.
CodeSpaceMemoryModificationScope modification_scope(isolate->heap());
// We may modify the wasm jump table.
wasm::NativeModuleModificationScope native_module_modification_scope(
native_module);
......
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