| Index: src/parsing/parser.h
|
| diff --git a/src/parsing/parser.h b/src/parsing/parser.h
|
| index 38695495545aa9d69e4d6dee9adb7b42fd748472..4167d6002c112035d36e301cebfd53b07dc01158 100644
|
| --- a/src/parsing/parser.h
|
| +++ b/src/parsing/parser.h
|
| @@ -1029,35 +1029,6 @@ class Parser : public ParserBase<Parser> {
|
| #endif // DEBUG
|
| };
|
|
|
| -
|
| -// Support for handling complex values (array and object literals) that
|
| -// can be fully handled at compile time.
|
| -class CompileTimeValue: public AllStatic {
|
| - public:
|
| - enum LiteralType {
|
| - OBJECT_LITERAL_FAST_ELEMENTS,
|
| - OBJECT_LITERAL_SLOW_ELEMENTS,
|
| - ARRAY_LITERAL
|
| - };
|
| -
|
| - static bool IsCompileTimeValue(Expression* expression);
|
| -
|
| - // Get the value as a compile time value.
|
| - static Handle<FixedArray> GetValue(Isolate* isolate, Expression* expression);
|
| -
|
| - // Get the type of a compile time value returned by GetValue().
|
| - static LiteralType GetLiteralType(Handle<FixedArray> value);
|
| -
|
| - // Get the elements array of a compile time value returned by GetValue().
|
| - static Handle<FixedArray> GetElements(Handle<FixedArray> value);
|
| -
|
| - private:
|
| - static const int kLiteralTypeSlot = 0;
|
| - static const int kElementsSlot = 1;
|
| -
|
| - DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue);
|
| -};
|
| -
|
| } // namespace internal
|
| } // namespace v8
|
|
|
|
|