Added heap support functions
[fw/sdcc] / src / SDCCicode.h
index 5b6f38754342559ab31f1175cf5267d1a258a18d..a7534ecca0151ab617cff4f1c51c7efb23d673ce 100644 (file)
@@ -68,6 +68,7 @@ OPTYPE;
 #define OP_SYMBOL(op)      op->operand.symOperand
 #define OP_SYM_TYPE(op)    op->operand.symOperand->type
 #define OP_SYM_ETYPE(op)   op->operand.symOperand->etype
+#define OP_VALUE(op)       op->operand.valOperand
 #define SPIL_LOC(op)       op->operand.symOperand->usl.spillLoc
 #define OP_LIVEFROM(op)    op->operand.symOperand->liveFrom
 #define OP_LIVETO(op)      op->operand.symOperand->liveTo
@@ -168,7 +169,7 @@ typedef struct iCode
     union
       {
        symbol *label;          /* for a goto statement     */
-       value *args;
+       value *args;            /* for a function */
       }
     argLabel;