Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 3ddad068bfdfc0454442a87e3fd964269d5e6298..c1290fe3d27f8da24d87ada3cc39adb7aeeee873 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3163,9 +3163,6 @@ static bool CompactEmit(SmallMapList* list, |
int i, |
Isolate* isolate) { |
Handle<Map> map = list->at(i); |
- // If the map has ElementsKind transitions, we will generate map checks |
- // for each kind in __ CompareMap(..., ALLOW_ELEMENTS_TRANSITION_MAPS). |
- if (map->HasElementsTransition()) return false; |
LookupResult lookup(isolate); |
map->LookupDescriptor(NULL, *name, &lookup); |
return lookup.IsField() || lookup.IsConstant(); |