mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-01 17:47:46 +00:00
0db26b0662
This kind of code might be generated by the switch implementation of func values. The func value is represented as a ptrtoint, and before calling it, it is compared against 0.
10 lines
257 B
LLVM
10 lines
257 B
LLVM
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64--linux"
|
|
|
|
@intToPtrResult = local_unnamed_addr global i8 2
|
|
@ptrToIntResult = local_unnamed_addr global i8 2
|
|
|
|
define void @runtime.initAll() local_unnamed_addr {
|
|
ret void
|
|
}
|