mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 07:53:40 +00:00
all: remove support for LLVM 11 and LLVM 12
This removes a lot of backwards compatibility cruft and makes it possible to start using features that need LLVM 13 or newer. For example: * https://github.com/tinygo-org/tinygo/pull/2637 * https://github.com/tinygo-org/tinygo/pull/2830
This commit is contained in:
committed by
Ron Evans
parent
5afb63df60
commit
5c23f6fb6c
@@ -67,12 +67,7 @@ func SetFinalizer(obj interface{}, finalizer interface{}) {
|
||||
|
||||
func initHeap() {
|
||||
// preinit() may have moved heapStart; reset heapptr
|
||||
ptr := heapStart
|
||||
if GOARCH == "wasm" {
|
||||
// llvm11 and llvm12 do not correctly align the heap on wasm
|
||||
ptr = align(ptr)
|
||||
}
|
||||
heapptr = ptr
|
||||
heapptr = heapStart
|
||||
}
|
||||
|
||||
// setHeapEnd sets a new (larger) heapEnd pointer.
|
||||
|
||||
Reference in New Issue
Block a user