Index: src/hydrogen-gvn.cc |
diff --git a/src/hydrogen-gvn.cc b/src/hydrogen-gvn.cc |
index 385947d754f2cd624a4a0c32579a9d4063845479..e6f1ae90f39306f8214123adef1c8ff217b6d2f3 100644 |
--- a/src/hydrogen-gvn.cc |
+++ b/src/hydrogen-gvn.cc |
@@ -466,7 +466,7 @@ bool SideEffectsTracker::ComputeGlobalVar(Unique<Cell> cell, int* index) { |
bool SideEffectsTracker::ComputeInobjectField(HObjectAccess access, |
int* index) { |
for (int i = 0; i < num_inobject_fields_; ++i) { |
- if (access.SameField(inobject_fields_[i])) { |
+ if (access.Equals(inobject_fields_[i])) { |
*index = i; |
return true; |
} |