diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-04-03 18:11:57 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-04-03 18:11:57 -0400 |
| commit | c9ae30d27e123f87fc9c10b6af2e380eab57d6df (patch) | |
| tree | 97c8144f1f77a37f12ad8582cd56778d596d3181 /src/ir_print.cpp | |
| parent | c400cb429abf2980962739731f5b64861a54ab61 (diff) | |
| download | zig-c9ae30d27e123f87fc9c10b6af2e380eab57d6df.tar.gz zig-c9ae30d27e123f87fc9c10b6af2e380eab57d6df.zip | |
delete alloca builtin function
See #225
introduce os.EnvMap
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index fd912d6919..1a839cd20f 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -601,14 +601,6 @@ static void ir_print_truncate(IrPrint *irp, IrInstructionTruncate *instruction) fprintf(irp->f, ")"); } -static void ir_print_alloca(IrPrint *irp, IrInstructionAlloca *instruction) { - fprintf(irp->f, "@alloca("); - ir_print_other_instruction(irp, instruction->type_value); - fprintf(irp->f, ", "); - ir_print_other_instruction(irp, instruction->count); - fprintf(irp->f, ")"); -} - static void ir_print_int_type(IrPrint *irp, IrInstructionIntType *instruction) { fprintf(irp->f, "@intType("); ir_print_other_instruction(irp, instruction->is_signed); @@ -1049,9 +1041,6 @@ static void ir_print_instruction(IrPrint *irp, IrInstruction *instruction) { case IrInstructionIdTruncate: ir_print_truncate(irp, (IrInstructionTruncate *)instruction); break; - case IrInstructionIdAlloca: - ir_print_alloca(irp, (IrInstructionAlloca *)instruction); - break; case IrInstructionIdIntType: ir_print_int_type(irp, (IrInstructionIntType *)instruction); break; |
