mirror of
https://github.com/ziglang/zig.git
synced 2026-01-05 21:13:24 +00:00
- pass2 now prints missing instructions in a trailing fashion - instruction struct name added to print as column 2
19 lines
464 B
C++
19 lines
464 B
C++
/*
|
|
* Copyright (c) 2016 Andrew Kelley
|
|
*
|
|
* This file is part of zig, which is MIT licensed.
|
|
* See http://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#ifndef ZIG_IR_PRINT_HPP
|
|
#define ZIG_IR_PRINT_HPP
|
|
|
|
#include "all_types.hpp"
|
|
|
|
#include <stdio.h>
|
|
|
|
void ir_print(CodeGen *codegen, FILE *f, IrExecutable *executable, int indent_size, size_t pass_num);
|
|
void ir_print_instruction(CodeGen *codegen, FILE *f, IrInstruction *instruction, int indent_size, size_t pass_num);
|
|
|
|
#endif
|