Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index e53c4642910f3ea9a9fb3ed9f638df839ab7d417..7732a1d400ede5dab19ef759e0bc202223b3d830 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -1806,10 +1806,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(rax); // array literal |