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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wasm-binary.h b/src/wasm-binary.h
index a1155f684..85e3ae166 100644
--- a/src/wasm-binary.h
+++ b/src/wasm-binary.h
@@ -44,7 +44,8 @@ enum {
// accept
enum WebLimitations {
MaxDataSegments = 100 * 1000,
- MaxFunctionBodySize = 128 * 1024
+ MaxFunctionBodySize = 128 * 1024,
+ MaxFunctionLocals = 50 * 1000
};
template<typename T, typename MiniT>