improved compile error message

This commit is contained in:
Matt Knight 2020-09-06 16:21:05 -07:00
parent a993c7dd1b
commit cf06817768
No known key found for this signature in database
GPG Key ID: 0A6DED1E48D25122

View File

@ -611,7 +611,7 @@ pub const Insn = packed struct {
}
pub fn st(comptime size: Size, dst: Reg, off: i16, imm: i32) Insn {
if (size == .double_word) @compileError("TODO: implement st_dw");
if (size == .double_word) @compileError("TODO: need to determine how to correctly handle double words");
return Insn{
.code = MEM | @enumToInt(size) | ST,
.dst = @enumToInt(dst),