Index: compile |
=================================================================== |
--- a/compile |
+++ b/compile |
@@ -21,20 +21,20 @@ COMPILER_OUTPUT = './lib/compiled.js' |
GENERATION_PARAMS = { |
'SHELL_FILE': "'%s'" % os.path.abspath(os.path.join(SOURCE_DIR, 'shell.js')), |
'ASM_JS': 2, # "almost asm" |
'TOTAL_MEMORY': 16*1024*1024, |
'TOTAL_STACK': 1*1024*1024, |
'ALLOW_MEMORY_GROWTH': 1, |
'NO_EXIT_RUNTIME': 1, |
'NO_DYNAMIC_EXECUTION': 1, |
- 'NO_BROWSER': 1, |
'NO_FILESYSTEM': 1, |
'INVOKE_RUN': 0, |
- 'NODE_STDOUT_FLUSH_WORKAROUND': 0, |
+ 'TEXTDECODER': 0, |
Wladimir Palant
2017/03/15 11:02:48
TextDecoder is only used for functions that aren't
|
+ 'EXPORTED_RUNTIME_METHODS': ['cwrap', 'ccall', 'stringToAscii'], |
Wladimir Palant
2017/03/15 11:02:48
This reduces code size a bit, almost no functions
|
} |
DEFINES = [] |
ADDITIONAL_PARAMS = ['-O3', '-m32', '-std=gnu++14', '--memory-init-file', '0', |
'--emit-symbol-map'] |
def getenv(): |
path = [] |
env = {} |