![]() This optimization level wasn't working before because some passes expect some globals to be cleaned up afterwards. Cleaning these globals is easy, just add the pass necessary for it. This shouldn't reduce the usefulness of the -opt=0 build flag as most optimizations are still skipped. |
||
---|---|---|
.. | ||
testdata | ||
allocs.go | ||
allocs_test.go | ||
coroutines.go | ||
errors.go | ||
func-lowering.go | ||
func-lowering_test.go | ||
gc.go | ||
gc_test.go | ||
globals.go | ||
globals_test.go | ||
goroutine_test.go | ||
interface-lowering.go | ||
interface-lowering_test.go | ||
interrupt.go | ||
interrupt_test.go | ||
llvm.go | ||
maps.go | ||
maps_test.go | ||
optimizer.go | ||
panic.go | ||
panic_test.go | ||
reflect.go | ||
stacksize.go | ||
stacksize_test.go | ||
stringtobytes.go | ||
stringtobytes_test.go | ||
transform.go | ||
transform_test.go | ||
util.go | ||
wasm-abi.go | ||
wasm-abi_test.go |