| Index: src/ia32/fast-codegen-ia32.cc
|
| ===================================================================
|
| --- src/ia32/fast-codegen-ia32.cc (revision 3152)
|
| +++ src/ia32/fast-codegen-ia32.cc (working copy)
|
| @@ -267,13 +267,10 @@
|
|
|
| for (int i = 0; i < expr->properties()->length(); i++) {
|
| ObjectLiteral::Property* property = expr->properties()->at(i);
|
| + if (property->IsCompileTimeValue()) continue;
|
| +
|
| Literal* key = property->key();
|
| Expression* value = property->value();
|
| - if (property->kind() == ObjectLiteral::Property::CONSTANT) continue;
|
| - if (property->kind() == ObjectLiteral::Property::MATERIALIZED_LITERAL &&
|
| - CompileTimeValue::IsCompileTimeValue(value)) {
|
| - continue;
|
| - }
|
| if (!result_saved) {
|
| __ push(eax); // Save result on the stack
|
| result_saved = true;
|
|
|