mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 06:23:39 +00:00
runtime: unify GC interface
Make sure every to-be-implemented GC can use the same interface. As a result, a 1MB chunk of RAM is allocated on Unix systems on init instead of allocating on demand.
This commit is contained in:
@@ -120,9 +120,3 @@ func abort() {
|
||||
sleepWDT(WDT_PERIOD_2S)
|
||||
}
|
||||
}
|
||||
|
||||
// Align on a word boundary.
|
||||
func align(ptr uintptr) uintptr {
|
||||
// No alignment necessary on the AVR.
|
||||
return ptr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user