Bug 538049 - nanojit: problem with qjoin in ExprFilter. r=stejohns.

--HG--
extra : convert_revision : 08580609c2448559cd2866f8b34381dc34ed1488
This commit is contained in:
Nicholas Nethercote 2010-01-06 11:43:19 +11:00
parent 895c1fa2a0
commit 1d3310a087

View File

@ -564,12 +564,16 @@ namespace nanojit
int32_t c2 = oprnd2->imm32();
double d;
int32_t r;
uint64_t q;
switch (v) {
case LIR_qjoin:
q = c1 | uint64_t(c2)<<32;
return insImmq(q);
case LIR_qjoin: {
union {
double d;
uint64_t u64;
} u;
u.u64 = c1 | uint64_t(c2)<<32;
return insImmf(u.d);
}
case LIR_eq:
return insImm(c1 == c2);
case LIR_ov: