Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 85e3f3c889e0e0a617760eb3d3e1e49b05f2a8f4..3ea251cd7b52e9569ff156d9f83d8eae20056cff 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -275,11 +275,8 @@ bool IC::TryRemoveInvalidPrototypeDependentStub(Handle<Object> receiver, |
if (first_map == NULL) return false; |
Handle<Map> old_map(first_map); |
if (old_map->is_deprecated()) return true; |
- if (IsMoreGeneralElementsKindTransition(old_map->elements_kind(), |
- receiver_map()->elements_kind())) { |
- return true; |
- } |
- return false; |
+ return IsMoreGeneralElementsKindTransition(old_map->elements_kind(), |
+ receiver_map()->elements_kind()); |
} |
CacheHolderFlag flag; |