| author | |
| committer | |
| log | 4c119866507b244dc0658b5cb43e20295f1888d7 |
| tree | 1d76872b005e5fb69594fc2d6434ce3e2e057460 |
| parent | 35fe088e0e341d06d97f1ac0f799b875c71f242a |
| signature |
it wouldn't save any bytes in the MIR, and we can just check the range of the value when lowering the MIR to machine code.1 files changed, 0 insertions(+), 1 deletions(-)
src/arch/x86_64/Mir.zig-1| ... | @@ -293,7 +293,6 @@ pub const Inst = struct { | ... | @@ -293,7 +293,6 @@ pub const Inst = struct { |
| 293 | /// Another instruction. | 293 | /// Another instruction. |
| 294 | inst: Index, | 294 | inst: Index, |
| 295 | /// A 32-bit immediate value. | 295 | /// A 32-bit immediate value. |
| 296 | /// TODO we should add support for 16- and 8-bit immediate values. | ||
| 297 | imm: i32, | 296 | imm: i32, |
| 298 | /// An extern function. | 297 | /// An extern function. |
| 299 | /// Index into the linker's string table. | 298 | /// Index into the linker's string table. |