mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-09-11 15:09:32 +00:00
runtime: precisely scan Wasm globals
This commit is contained in:
@@ -13,3 +13,10 @@ func TestMakeGCStackSlots(t *testing.T) {
|
||||
transform.MakeGCStackSlots(mod)
|
||||
})
|
||||
}
|
||||
|
||||
func TestMakeGCGlobalRootsAVR(t *testing.T) {
|
||||
t.Parallel()
|
||||
testTransform(t, "testdata/gc-globals-avr", func(mod llvm.Module) {
|
||||
transform.MakeGCStackSlots(mod)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user