mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-26 15:11:37 +00:00
Turn this unreachable into a panic with an error message.
This commit is contained in:
@ -926,7 +926,7 @@ impl Emitter for Assembler {
|
|||||||
match loc {
|
match loc {
|
||||||
Location::GPR(x) => dynasm!(self ; call Rq(x as u8)),
|
Location::GPR(x) => dynasm!(self ; call Rq(x as u8)),
|
||||||
Location::Memory(base, disp) => dynasm!(self ; call QWORD [Rq(base as u8) + disp]),
|
Location::Memory(base, disp) => dynasm!(self ; call QWORD [Rq(base as u8) + disp]),
|
||||||
_ => unreachable!(),
|
_ => panic!("CALL {:?}", loc),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user