summaryrefslogtreecommitdiff
path: root/src/ir/memory-utils.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-05-01 09:52:14 -0700
committerGitHub <noreply@github.com>2024-05-01 09:52:14 -0700
commit58753f40d9ee51bbe5c3acb7656e0d4ab73d0f36 (patch)
tree5a0278ceb050feee6e29f4d087d96b8457682c5f /src/ir/memory-utils.h
parent7d9e4a87ce4949dc552790329cfaf4dfec8b36a8 (diff)
downloadbinaryen-58753f40d9ee51bbe5c3acb7656e0d4ab73d0f36.tar.gz
binaryen-58753f40d9ee51bbe5c3acb7656e0d4ab73d0f36.tar.bz2
binaryen-58753f40d9ee51bbe5c3acb7656e0d4ab73d0f36.zip
Respect the Web limitation on Table size (#6567)
Without this the fuzzer can error on differences in behavior between V8 and us. Also move the limitations constants to their own header.
Diffstat (limited to 'src/ir/memory-utils.h')
-rw-r--r--src/ir/memory-utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ir/memory-utils.h b/src/ir/memory-utils.h
index 7c19720ce..d86fb941a 100644
--- a/src/ir/memory-utils.h
+++ b/src/ir/memory-utils.h
@@ -23,6 +23,7 @@
#include "literal.h"
#include "wasm-binary.h"
#include "wasm-builder.h"
+#include "wasm-limits.h"
#include "wasm.h"
namespace wasm::MemoryUtils {