Use cdata to pass IR_KINT64 to -jdump.

This commit is contained in:
Mike Pall
2011-01-02 22:20:08 +01:00
parent e66b5b6eee
commit 331b148737
4 changed files with 17 additions and 3 deletions

View File

@@ -553,6 +553,7 @@ typedef union IRIns {
#define ir_kstr(ir) (gco2str(ir_kgc((ir))))
#define ir_ktab(ir) (gco2tab(ir_kgc((ir))))
#define ir_kfunc(ir) (gco2func(ir_kgc((ir))))
#define ir_kcdata(ir) (gco2cd(ir_kgc((ir))))
#define ir_knum(ir) check_exp((ir)->o == IR_KNUM, mref((ir)->ptr, cTValue))
#define ir_kint64(ir) check_exp((ir)->o == IR_KINT64, mref((ir)->ptr,cTValue))
#define ir_k64(ir) \