Index: src/macros.py |
diff --git a/src/macros.py b/src/macros.py |
index c3a7888db0eace8534494b7e359147a594b08d1d..324702bb3a178c7e14bbae5121e5c98554018ff7 100644 |
--- a/src/macros.py |
+++ b/src/macros.py |
@@ -69,6 +69,11 @@ const kMaxYear = 1000000; |
const kMinMonth = -10000000; |
const kMaxMonth = 10000000; |
+# Safe maximum number of arguments to push to stack, when multiplied by |
+# pointer size. Used by Function.prototype.apply(), Reflect.apply() and |
+# Reflect.construct(). |
+const kSafeArgumentsLength = 0x800000; |
+ |
# Strict mode flags for passing to %SetProperty |
const kSloppyMode = 0; |
const kStrictMode = 1; |