| Index: src/compiler/wasm-compiler.cc
|
| diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc
|
| index d0ec9f2f292ea6abe0083adcc1eda3f794d05bbd..eaa5b6fec6e2202b476c299589bb5a6863e24c94 100644
|
| --- a/src/compiler/wasm-compiler.cc
|
| +++ b/src/compiler/wasm-compiler.cc
|
| @@ -2964,6 +2964,7 @@ Node* WasmGraphBuilder::LoadMem(wasm::LocalType type, MachineType memtype,
|
| if (aligned ||
|
| jsgraph()->machine()->UnalignedLoadSupported(memtype, alignment)) {
|
| if (FLAG_wasm_trap_handler) {
|
| + DCHECK(FLAG_wasm_guard_pages);
|
| Node* context = HeapConstant(module_->instance->context);
|
| Node* position_node = jsgraph()->Int32Constant(position);
|
| load = graph()->NewNode(jsgraph()->machine()->ProtectedLoad(memtype),
|
|
|