1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-04-30 17:32:16 +00:00

2 Commits

Author SHA1 Message Date
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
Alan Pierce
ce2bf00d62 Fix crash when assigning to bool class fields ()
With `Type.bool`, size is 1, so dividing by 8 isn't the right way to convert to byteSize. Instead, we need to use the `byteSize` property that does the proper ceiling division.
2018-05-05 23:54:39 +02:00