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.
This commit is contained in:
Andrew Kelley 2021-12-23 16:39:28 -08:00 committed by GitHub
parent 35fe088e0e
commit 4c11986650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.