Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 785b9ca9ac679facf17147930569c054e5e7cecd..04c66b878145c47580b6d04508166a37f681fc02 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -652,10 +652,7 @@ HValue* CodeStubGraphBuilderBase::BuildArrayConstructor( |
AllocationSiteOverrideMode override_mode, |
ArgumentClass argument_class) { |
HValue* constructor = GetParameter(ArrayConstructorStubBase::kConstructor); |
- HValue* property_cell = GetParameter(ArrayConstructorStubBase::kPropertyCell); |
- // Walk through the property cell to the AllocationSite |
- HValue* alloc_site = Add<HLoadNamedField>(property_cell, |
- HObjectAccess::ForCellValue()); |
+ HValue* alloc_site = GetParameter(ArrayConstructorStubBase::kAllocationSite); |
JSArrayBuilder array_builder(this, kind, alloc_site, constructor, |
override_mode); |
HValue* result = NULL; |