mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
Bug 538049 - nanojit: problem with qjoin in ExprFilter. r=stejohns.
--HG-- extra : convert_revision : 08580609c2448559cd2866f8b34381dc34ed1488
This commit is contained in:
parent
895c1fa2a0
commit
1d3310a087
@ -564,12 +564,16 @@ namespace nanojit
|
|||||||
int32_t c2 = oprnd2->imm32();
|
int32_t c2 = oprnd2->imm32();
|
||||||
double d;
|
double d;
|
||||||
int32_t r;
|
int32_t r;
|
||||||
uint64_t q;
|
|
||||||
|
|
||||||
switch (v) {
|
switch (v) {
|
||||||
case LIR_qjoin:
|
case LIR_qjoin: {
|
||||||
q = c1 | uint64_t(c2)<<32;
|
union {
|
||||||
return insImmq(q);
|
double d;
|
||||||
|
uint64_t u64;
|
||||||
|
} u;
|
||||||
|
u.u64 = c1 | uint64_t(c2)<<32;
|
||||||
|
return insImmf(u.d);
|
||||||
|
}
|
||||||
case LIR_eq:
|
case LIR_eq:
|
||||||
return insImm(c1 == c2);
|
return insImm(c1 == c2);
|
||||||
case LIR_ov:
|
case LIR_ov:
|
||||||
|
Loading…
Reference in New Issue
Block a user