mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
ir: Adapt ir_print for the new @TypeOf format
This commit is contained in:
parent
e029032251
commit
2e3e8d0c74
@ -1118,7 +1118,9 @@ static void ir_print_vector_store_elem(IrPrintGen *irp, IrInstGenVectorStoreElem
|
||||
|
||||
static void ir_print_typeof(IrPrintSrc *irp, IrInstSrcTypeOf *instruction) {
|
||||
fprintf(irp->f, "@TypeOf(");
|
||||
// ir_print_other_inst_src(irp, instruction->value);
|
||||
for (size_t i = 0; i < instruction->value_count; i += 1) {
|
||||
ir_print_other_inst_src(irp, instruction->values[i]);
|
||||
}
|
||||
fprintf(irp->f, ")");
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user