diff --git a/ir/ir.h b/ir/ir.h index 6df5f49..089ceb0 100644 --- a/ir/ir.h +++ b/ir/ir.h @@ -4,6 +4,7 @@ #include #include #include +#include #include "../common.h" @@ -65,6 +66,10 @@ struct vx_IrType_s { }; }; +static vx_IrType* vx_IrType_heap(void) { + return (vx_IrType*) malloc(sizeof(vx_IrType)); +} + struct vx_IrBlock_s; typedef struct vx_IrBlock_s vx_IrBlock;