Created attachment 460481 [details] [diff] [review] patch (against TM 48065:7ff4f93bddaa) Small integer immediates, in the range -9999..9999, are printed specially by Nanojit in the LIR dumping stages. Except the ranges tests are broken, using '||' where they should use '&&'. Because of this I was seeing the 64-bit immediate 0x7fffffffffff printed as -1, because it was being cast to 'int'. The attached patch fixes this. It also changes formatImmQ() to be defined only on 64-bit platforms.