Index: src/wasm/ast-decoder.h |
diff --git a/src/wasm/ast-decoder.h b/src/wasm/ast-decoder.h |
index c4f6c1679a0bfb89d6d1b9c9c9197305e25aeca2..22ae789c1b42dfd9c57bb81f519b0a08b6cf88fc 100644 |
--- a/src/wasm/ast-decoder.h |
+++ b/src/wasm/ast-decoder.h |
@@ -21,6 +21,8 @@ class WasmGraphBuilder; |
namespace wasm { |
+const uint32_t kMaxNumWasmLocals = 8000000; |
+ |
// Helpers for decoding different kinds of operands which follow bytecodes. |
struct LocalIndexOperand { |
uint32_t index; |