From 4c119866507b244dc0658b5cb43e20295f1888d7 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Thu, 23 Dec 2021 16:39:28 -0800 Subject: [PATCH] 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. --- src/arch/x86_64/Mir.zig | 1 - 1 file changed, 1 deletion(-) diff --git a/src/arch/x86_64/Mir.zig b/src/arch/x86_64/Mir.zig index fbc4fd320b..5bd3c53004 100644 --- a/src/arch/x86_64/Mir.zig +++ b/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.