diff options
-rwxr-xr-x | check.py | 4 | ||||
-rw-r--r-- | src/wasm-interpreter.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -82,8 +82,8 @@ print '\n[ checking wasm-shell spec testcases... ]\n' if len(requested) == 0: #spec_tests = [] # XXX [os.path.join('spec', t) for t in sorted(os.listdir(os.path.join('test', 'spec')))] # 'address' : filed issue, test looks invalid - # 'switch': todo once stable - spec_tests = [os.path.join('spec', t + '.wast') for t in ['conversions', 'endianness', 'exports', 'f32_cmp', 'f32', 'f64_cmp', 'f64', 'float_exprs', 'forward', 'func_ptrs', 'functions', 'has_feature', 'i32', 'i64', 'imports', 'int_exprs', 'int_literals', 'left-to-right', 'memory_redundancy', 'memory_trap', 'names', 'resizing', 'runaway-recursion', 'select', 'store_retval', 'traps']] + # 'labels', 'switch': todo once switch is stable + spec_tests = [os.path.join('spec', t + '.wast') for t in ['conversions', 'endianness', 'exports', 'f32_cmp', 'f32', 'f64_cmp', 'f64', 'fac', 'float_exprs', 'forward', 'func_ptrs', 'functions', 'has_feature', 'i32', 'i64', 'imports', 'int_exprs', 'int_literals', 'labels', 'left-to-right', 'memory_redundancy', 'memory_trap', 'names', 'resizing', 'runaway-recursion', 'select', 'store_retval', 'traps']] else: spec_tests = requested[:] diff --git a/src/wasm-interpreter.h b/src/wasm-interpreter.h index 8d7e1c5ae..918b65f02 100644 --- a/src/wasm-interpreter.h +++ b/src/wasm-interpreter.h @@ -27,7 +27,7 @@ int32_t safe_ctz(int32_t v) { enum { pageSize = 64*1024, - maxCallDepth = 5000 + maxCallDepth = 250 }; // |