disable inlining in sqlite with asm in debug mode

This commit is contained in:
Alon Zakai 2013-03-10 10:33:42 -07:00
Родитель a373820140
Коммит 1401084573
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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