ack/mach/proto/mcg/mcgg_generated_header.h

21 lines
364 B
C
Raw Normal View History

#include "mcg.h"
#include "mcgg.h"
2016-09-24 15:20:40 +00:00
#define PANIC printf
static int OP_LABEL(struct ir* ir)
{
if (ir->is_generated)
return ir_to_esn(IR_REG, ir->size);
return ir_to_esn(ir->opcode, ir->size);
2016-09-24 15:20:40 +00:00
}
#define LEFT_CHILD(p) ((p)->left)
#define RIGHT_CHILD(p) ((p)->right)
#define burm_assert(b, s) assert(b)
extern void burm_panic_cannot_match(struct ir* ir);
2016-09-24 15:20:40 +00:00