Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 0e2af68648e38a9a8c2901880d367f914526b2b8..4e59de825f542a8541d36b50611dd35ef9ed0a42 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -1302,11 +1302,9 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
Comment cmnt(masm_, "[ ArrayLiteral"); |
- Handle<FixedArray> constant_elements = expr->constant_elements(); |
+ Handle<ConstantElementsPair> constant_elements = expr->constant_elements(); |
bool has_fast_elements = |
IsFastObjectElementsKind(expr->constant_elements_kind()); |
- Handle<FixedArrayBase> constant_elements_values( |
- FixedArrayBase::cast(constant_elements->get(1))); |
AllocationSiteMode allocation_site_mode = TRACK_ALLOCATION_SITE; |
if (has_fast_elements && !FLAG_allocation_site_pretenuring) { |