diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-10 10:33:42 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-10 10:39:39 -0700 |
commit | 14010845731c216f8ce7620ccd83b965702bcdaa (patch) | |
tree | 25ef38f593efea94d4303ad9e288df28f6335082 | |
parent | a373820140dc019bb01561883380595ae8a1f739 (diff) |
disable inlining in sqlite with asm in debug mode
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index ce37778a..b8855c62 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -7147,6 +7147,9 @@ def process(filename): Settings.DISABLE_EXCEPTION_CATCHING = 1 Settings.FAST_MEMORY = 4*1024*1024 Settings.EXPORTED_FUNCTIONS += ['_sqlite3_open', '_sqlite3_close', '_sqlite3_exec', '_sqlite3_free', '_callback']; + if Settings.ASM_JS == 1 and '-g' in self.emcc_args: + print "disabling inlining" # without registerize (which -g disables), we generate huge amounts of code + Settings.INLINING_LIMIT = 50 self.do_run(r''' #define SQLITE_DISABLE_LFS |