From 12b7a6e203642afb71d44f9e8466d251e0401634 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 25 Aug 2009 16:39:13 -0700 Subject: [PATCH] Provide missing ARM defines, fix tinderbox, r=me. --HG-- extra : rebase_source : 8c2e414874c5da5db61db9d0ecc7feec35e5227f --- js/src/nanojit/NativeARM.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/js/src/nanojit/NativeARM.h b/js/src/nanojit/NativeARM.h index 3efe3a4a27b..c397efdb535 100644 --- a/js/src/nanojit/NativeARM.h +++ b/js/src/nanojit/NativeARM.h @@ -682,6 +682,22 @@ enum { #define B_nochk(_t) \ B_cond_chk(AL,_t,0) +#define B(t) B_cond(AL,t) +#define BHI(t) B_cond(HI,t) +#define BLS(t) B_cond(LS,t) +#define BHS(t) B_cond(HS,t) +#define BLO(t) B_cond(LO,t) +#define BEQ(t) B_cond(EQ,t) +#define BNE(t) B_cond(NE,t) +#define BLT(t) B_cond(LT,t) +#define BGE(t) B_cond(GE,t) +#define BLE(t) B_cond(LE,t) +#define BGT(t) B_cond(GT,t) +#define BVS(t) B_cond(VS,t) +#define BVC(t) B_cond(VC,t) +#define BCC(t) B_cond(CC,t) +#define BCS(t) B_cond(CS,t) + // NB: don't use COND_AL here, we shift the condition into place! #define JMP(_t) \ B_cond_chk(AL,_t,1)