Bug 607856 - long hang loading page. r=dvander.

--HG--
extra : convert_revision : 18279f425cd8e3f63f7a13cd1b1b62cba57b7ecd
This commit is contained in:
Nicholas Nethercote 2010-11-02 16:16:40 -07:00
parent 4fa79000db
commit 3bae3314c9

View File

@ -2574,7 +2574,9 @@ namespace nanojit
ins = out->ins2(op, a, b);
addNL(LIns2, ins, k);
} else if (ins->isCmp()) {
if (knownCmpValues.containsKey(ins)) {
// XXX: temporarily disabled because it exposed latent problems
// that caused bug 607856. See also bug 609129.
if (0 && knownCmpValues.containsKey(ins)) {
// We've seen this comparison before, and it was previously
// used in a guard, so we know what its value must be at this
// point. Replace it with a constant.