summaryrefslogtreecommitdiff
path: root/src/wasm-binary.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm-binary.h')
-rw-r--r--src/wasm-binary.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index 4f0796601..6fd082f79 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -43,15 +43,6 @@ enum {
MaxLEB32Bytes = 5,
};
-// wasm VMs on the web have decided to impose some limits on what they
-// accept
-enum WebLimitations : uint32_t {
- MaxDataSegments = 100 * 1000,
- MaxFunctionBodySize = 128 * 1024,
- MaxFunctionLocals = 50 * 1000,
- MaxFunctionParams = 1000
-};
-
template<typename T, typename MiniT> struct LEB {
static_assert(sizeof(MiniT) == 1, "MiniT must be a byte");