summaryrefslogtreecommitdiff
path: root/test/run-gen-spec-js.py
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2017-02-17 16:32:20 -0800
committerGitHub <noreply@github.com>2017-02-17 16:32:20 -0800
commit28a34066f1f17b0ce7070835a695f621bdfe59ea (patch)
tree3396db9aad083b616981f2980953afd1b654be85 /test/run-gen-spec-js.py
parent6463c765207e37e55af1c6a06ff06071af131c07 (diff)
downloadwabt-28a34066f1f17b0ce7070835a695f621bdfe59ea.tar.gz
wabt-28a34066f1f17b0ce7070835a695f621bdfe59ea.tar.bz2
wabt-28a34066f1f17b0ce7070835a695f621bdfe59ea.zip
Remove WabtAllocator (#307)
It complicates the code everywhere. It's faster to use a stack allocator, but not worth the trouble for maintainability.
Diffstat (limited to 'test/run-gen-spec-js.py')
-rwxr-xr-xtest/run-gen-spec-js.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/run-gen-spec-js.py b/test/run-gen-spec-js.py
index 58921b81..5afc5f9e 100755
--- a/test/run-gen-spec-js.py
+++ b/test/run-gen-spec-js.py
@@ -54,7 +54,6 @@ def main(args):
parser.add_argument('-p', '--print-cmd',
help='print the commands that are run.',
action='store_true')
- parser.add_argument('--use-libc-allocator', action='store_true')
parser.add_argument('file', help='wast file.')
options = parser.parse_args(args)
@@ -62,10 +61,7 @@ def main(args):
wast2wasm = utils.Executable(
find_exe.GetWast2WasmExecutable(options.bindir), '--spec',
error_cmdline=options.error_cmdline)
- wast2wasm.AppendOptionalArgs({
- '-v': options.verbose,
- '--use-libc-allocator': options.use_libc_allocator
- })
+ wast2wasm.AppendOptionalArgs({'-v': options.verbose})
gen_spec_js = utils.Executable(sys.executable, GEN_SPEC_JS_PY,
'--temp-dir', out_dir,