Commit 4c11986650

Andrew Kelley <andrew@ziglang.org>
2021-12-24 01:39:28
MIR: remove unnecessary TODO comment
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 parent 35fe088
Changed files (1)
src
arch
x86_64
src/arch/x86_64/Mir.zig
@@ -293,7 +293,6 @@ pub const Inst = struct {
         /// Another instruction.
         inst: Index,
         /// A 32-bit immediate value.
-        /// TODO we should add support for 16- and 8-bit immediate values.
         imm: i32,
         /// An extern function.
         /// Index into the linker's string table.