diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-05-21 21:19:32 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-05-21 21:19:32 -0700 |
commit | 588060bcb3c5be0a10ce5ac101c0a6dc43004a5a (patch) | |
tree | 5721fd71263d9857d40874ccef88cd2c29b1d11a | |
parent | f5b1b079b7866ed70141cbccdfd231f1628d7d2a (diff) |
use gcparam() with spidermonkey
-rw-r--r-- | tools/shared.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/shared.py b/tools/shared.py index 85da6e9e..0ecc2bad 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -23,8 +23,8 @@ LLVM_COMPILER=os.path.expanduser(os.path.join(LLVM_ROOT, 'llc')) if '-s' not in SPIDERMONKEY_ENGINE: SPIDERMONKEY_ENGINE += ['-s'] # Strict mode in SpiderMonkey. With V8 we check that fallback to non-strict works too -if 'stackQuote' not in str(SPIDERMONKEY_ENGINE): - SPIDERMONKEY_ENGINE += ['-e', 'stackQuota(100000000000)'] # Our very large files need lots of stack space +if 'stackQuota' not in str(SPIDERMONKEY_ENGINE): + SPIDERMONKEY_ENGINE += ['-e', "stackQuota(100000000000); ; gcparam('maxBytes', 1024*1024*1024);"] # Our very large files need lots of stack&gc # Utilities |