Bug 943442 - IonMonkey: Compare instructions by pointer rather than by id(), since it's equivalent. r=dvander

This commit is contained in:
Dan Gohman 2013-12-09 13:12:25 -08:00
parent 0a18d3d8f1
commit b9a4ee6c18

View File

@ -68,7 +68,7 @@ EqualValues(bool useGVN, MDefinition *left, MDefinition *right)
if (useGVN)
return left->valueNumber() == right->valueNumber();
return left->id() == right->id();
return left == right;
}
static MConstant *