| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 2ba36d3956fedd18806f807e3fd5e644a1ce94c6..51326793f456ba5a7eba7d653807b8d1b91ff4ff 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -3734,18 +3734,6 @@ bool CompileTimeValue::IsCompileTimeValue(Expression* expression) {
|
| }
|
|
|
|
|
| -bool CompileTimeValue::ArrayLiteralElementNeedsInitialization(
|
| - Expression* value) {
|
| - // If value is a literal the property value is already set in the
|
| - // boilerplate object.
|
| - if (value->AsLiteral() != NULL) return false;
|
| - // If value is a materialized literal the property value is already set
|
| - // in the boilerplate object if it is simple.
|
| - if (CompileTimeValue::IsCompileTimeValue(value)) return false;
|
| - return true;
|
| -}
|
| -
|
| -
|
| Handle<FixedArray> CompileTimeValue::GetValue(Expression* expression) {
|
| Factory* factory = Isolate::Current()->factory();
|
| ASSERT(IsCompileTimeValue(expression));
|
|
|