* mir: load plugin method signatures * llvm: read box type ids from nyash_box * mir: show value types in MIR printer
13 lines
214 B
YAML
13 lines
214 B
YAML
; MIR Module: main
|
|
|
|
define i1 @main() {
|
|
bb0:
|
|
0: %0: Integer = const 42
|
|
1: %1: Integer = const 42
|
|
2: %2: Bool = icmp Eq %0, %1
|
|
3: extern_call env.console.log(%2) [effects: pure|io]
|
|
4: ret %2
|
|
}
|
|
|
|
|