mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1272393: Don't reorder Int64 subtract operands; r=jandem
MozReview-Commit-ID: 9frTHT1W6jU --HG-- extra : rebase_source : f37f8748fd85e1fe24fdf5bbfcb948a736ac8529 extra : histedit_source : ed28e63185fbddf7220a6868c43706f878a85e7c
This commit is contained in:
parent
39a6c3aec5
commit
b9431febe8
@ -37,6 +37,6 @@ specTests.push("runaway-recursion.wast");
|
||||
//specTests.push("select.wast"); // TODO custom NaN
|
||||
//specTests.push("start.wast"); // TODO start opcode
|
||||
//specTests.push("store_retval.wast"); // TODO i64 loads/stores
|
||||
//specTests.push("switch.wast"); // TODO value error!
|
||||
specTests.push("switch.wast");
|
||||
//specTests.push("traps.wast"); // TODO trap on OOB
|
||||
specTests.push("unreachable.wast");
|
||||
|
@ -1661,7 +1661,6 @@ LIRGenerator::visitSub(MSub* ins)
|
||||
|
||||
if (ins->specialization() == MIRType::Int64) {
|
||||
MOZ_ASSERT(lhs->type() == MIRType::Int64);
|
||||
ReorderCommutative(&lhs, &rhs, ins);
|
||||
LSubI64* lir = new(alloc()) LSubI64;
|
||||
lowerForALUInt64(lir, ins, lhs, rhs);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user