mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 943442 - IonMonkey: Compare instructions by pointer rather than by id(), since it's equivalent. r=dvander
This commit is contained in:
parent
0a18d3d8f1
commit
b9a4ee6c18
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user