assemblyscript/tests/compiler/class-with-boolean-field.optimized.wat
dcodeIO c6ec5e2832 Utilize Binaryen's -O4
When specifying -O3 or -Oz, asc now automatically increases the optimize level to 4, then including costly non-LLVM optimizations for blocky code, in turn achieving similar results as an LLVM-based generator.
2018-06-09 14:05:33 +02:00

16 lines
302 B
Plaintext

(module
(type $i (func (result i32)))
(memory $0 1)
(export "test" (func $class-with-boolean-field/test))
(export "memory" (memory $0))
(func $class-with-boolean-field/test (; 0 ;) (type $i) (result i32)
(i32.store8
(i32.const 0)
(i32.const 1)
)
(i32.load8_u
(i32.const 0)
)
)
)