Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 10a3422ea1d429f899bd4ee8ae056e1ee244ee31..aa70dcb16b19aa77d47382f2c9e640bfb167d238 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -1477,6 +1477,10 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
int length = subexprs->length(); |
Handle<FixedArray> constant_elements = expr->constant_elements(); |
ASSERT_EQ(2, constant_elements->length()); |
+#if DEBUG |
+ ElementsKind constant_elements_kind = |
+ static_cast<ElementsKind>(Smi::cast(constant_elements->get(0))->value()); |
+#endif |
Handle<FixedArrayBase> constant_elements_values( |
FixedArrayBase::cast(constant_elements->get(1))); |