Index: src/compiler/wasm-compiler.cc |
diff --git a/src/compiler/wasm-compiler.cc b/src/compiler/wasm-compiler.cc |
index 78d2521b1119329fbd6ea8e3b8c9b1a9e5127bb7..35e78b6aa2a617ad7241d5e2b33e10419e8dc920 100644 |
--- a/src/compiler/wasm-compiler.cc |
+++ b/src/compiler/wasm-compiler.cc |
@@ -1675,6 +1675,8 @@ Node* WasmGraphBuilder::BuildGrowMemory(Node* input) { |
jsgraph()->Uint32Constant(wasm::WasmModule::kMaxMemPages)), |
BranchHint::kTrue); |
+ check_input_range.Chain(*control_); |
+ |
Runtime::FunctionId function_id = Runtime::kWasmGrowMemory; |
const Runtime::Function* function = Runtime::FunctionForId(function_id); |
CallDescriptor* desc = Linkage::GetRuntimeCallDescriptor( |