![]() When I wrote the code originally, I didn't know about SetAlignment so I hacked a way around it by allocating [...]uintptr types. However, this allocates a few too many bytes in some cases. This commit changes this to only allocate the space that we actually need. The code size effect is mixed, but generally positive. The combined average is reduced by 0.27% with more programs being reduced in size than are increasing in size. |
||
---|---|---|
.. | ||
allocs.ll | ||
allocs.out.ll | ||
allocs2.go | ||
coroutines.ll | ||
coroutines.out.ll | ||
func-lowering.ll | ||
func-lowering.out.ll | ||
gc-globals.ll | ||
gc-globals.out.ll | ||
gc-stackslots.ll | ||
gc-stackslots.out.ll | ||
globals-function-sections.ll | ||
globals-function-sections.out.ll | ||
interface.ll | ||
interface.out.ll | ||
interrupt.ll | ||
interrupt.out.ll | ||
maps.ll | ||
maps.out.ll | ||
panic.ll | ||
panic.out.ll | ||
reflect-implements.ll | ||
reflect-implements.out.ll | ||
reflect.go | ||
stacksize.ll | ||
stacksize.out.ll | ||
stringequal.ll | ||
stringequal.out.ll | ||
stringtobytes.ll | ||
stringtobytes.out.ll | ||
wasm-abi.ll | ||
wasm-abi.out.ll |