Extend all FOLD rules to work on 64 bit integers.

This commit is contained in:
Mike Pall
2010-12-11 21:20:49 +01:00
parent 476259e87e
commit 42f9b38663
2 changed files with 131 additions and 32 deletions

View File

@@ -105,6 +105,7 @@ enum {
};
#define INTFOLD(k) ((J->fold.ins.i = (k)), (TRef)KINTFOLD)
#define INT64FOLD(k) (lj_ir_kint64(J, (k)))
#define CONDFOLD(cond) ((TRef)FAILFOLD + (TRef)(cond))
#define LEFTFOLD (J->fold.ins.op1)
#define RIGHTFOLD (J->fold.ins.op2)