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, ...@@ -617,9 +617,7 @@ void WasmDebugInfo::RedirectToInterpreter(Handle<WasmDebugInfo> debug_info,
instance->module_object()->native_module(); instance->module_object()->native_module();
const wasm::WasmModule* module = instance->module(); const wasm::WasmModule* module = instance->module();
// We may modify js wrappers, as well as wasm functions. Hence the 2 // We may modify the wasm jump table.
// modification scopes.
CodeSpaceMemoryModificationScope modification_scope(isolate->heap());
wasm::NativeModuleModificationScope native_module_modification_scope( wasm::NativeModuleModificationScope native_module_modification_scope(
native_module); 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