Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 4c61243a4a2c502264b493046b7641da3fdcabe5..357f0afd10d0daf86cad8659ee0e12343a7b3dbd 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1829,10 +1829,7 @@ void FullCodeGenerator::VisitArrayLiteral(ArrayLiteral* expr) { |
Expression* subexpr = subexprs->at(i); |
// If the subexpression is a literal or a simple materialized literal it |
// is already set in the cloned array. |
- if (subexpr->AsLiteral() != NULL || |
- CompileTimeValue::IsCompileTimeValue(subexpr)) { |
- continue; |
- } |
+ if (CompileTimeValue::IsCompileTimeValue(subexpr)) continue; |
if (!result_saved) { |
__ push(r0); |