Files
wasmtime/cranelift/filetests/isa/x86/legalize-call.cton
2018-04-17 22:12:41 -07:00

16 lines
270 B
Plaintext

; Test legalization of a non-colocated call in 64-bit non-PIC mode.
test legalizer
set is_64bit
set is_compressed
isa x86 haswell
function %call() {
fn0 = %foo()
ebb0:
call fn0()
return
}
; check: v0 = func_addr.i64 fn0
; nextln: call_indirect sig0, v0()