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:
Benjamin Bouvier 2016-05-12 18:19:22 +02:00
parent 39a6c3aec5
commit b9431febe8
2 changed files with 1 additions and 2 deletions

View File

@ -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");

View File

@ -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;