diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-08-02 17:29:31 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-08-02 17:29:31 -0400 |
| commit | 65140b2fba4e55d713de506f2bed259ca9410cbf (patch) | |
| tree | e52660c1726caabc730c8869499e5801f027f1b1 /src/ir_print.cpp | |
| parent | 951124e1772c7013c2b1a674cf98a0b638c36262 (diff) | |
| parent | fb05b96492f4fb1476106bf735788ac16f69c7ef (diff) | |
| download | zig-65140b2fba4e55d713de506f2bed259ca9410cbf.tar.gz zig-65140b2fba4e55d713de506f2bed259ca9410cbf.zip | |
Merge remote-tracking branch 'origin/master' into async-fs
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 127afa94a5..77c7ef47b6 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -791,6 +791,10 @@ static void ir_print_frame_address(IrPrint *irp, IrInstructionFrameAddress *inst fprintf(irp->f, "@frameAddress()"); } +static void ir_print_handle(IrPrint *irp, IrInstructionHandle *instruction) { + fprintf(irp->f, "@handle()"); +} + static void ir_print_return_address(IrPrint *irp, IrInstructionReturnAddress *instruction) { fprintf(irp->f, "@returnAddress()"); } @@ -1556,6 +1560,9 @@ static void ir_print_instruction(IrPrint *irp, IrInstruction *instruction) { case IrInstructionIdFrameAddress: ir_print_frame_address(irp, (IrInstructionFrameAddress *)instruction); break; + case IrInstructionIdHandle: + ir_print_handle(irp, (IrInstructionHandle *)instruction); + break; case IrInstructionIdAlignOf: ir_print_align_of(irp, (IrInstructionAlignOf *)instruction); break; |
