Index: src/transitions-inl.h |
diff --git a/src/transitions-inl.h b/src/transitions-inl.h |
index 087755d1bdde10f941d17e23f903a0660f5030b2..6ed86a1407e120b7f5ae279650b01d9c2fd665f5 100644 |
--- a/src/transitions-inl.h |
+++ b/src/transitions-inl.h |
@@ -140,16 +140,13 @@ Object* TransitionArray::GetTargetValue(int transition_number) { |
} |
-int TransitionArray::Search(Name* name, int* out_insertion_index) { |
+int TransitionArray::Search(Name* name) { |
if (IsSimpleTransition()) { |
Name* key = GetKey(kSimpleTransitionIndex); |
if (key->Equals(name)) return kSimpleTransitionIndex; |
- if (out_insertion_index != NULL) { |
- *out_insertion_index = key->Hash() > name->Hash() ? 0 : 1; |
- } |
return kNotFound; |
} |
- return internal::Search<ALL_ENTRIES>(this, name, 0, out_insertion_index); |
+ return internal::Search<ALL_ENTRIES>(this, name); |
} |