mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-18 19:32:15 +00:00
Improve scoring for operand error handling
This commit is contained in:
@@ -386,6 +386,7 @@ struct Asm_amd64 {
|
||||
case OP_IMM64: return 64;
|
||||
case OP_REL8: return 8;
|
||||
case OP_REL32: return 32;
|
||||
case OP_IMM8SX: return 8;
|
||||
}
|
||||
return 0; // OP_M (sizeless), OP_K (opmask width is data-dependent), OP_ONE_IMPL, moffs, ptr, sreg/cr/dr, etc.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user