| Index: vm/object_store.h
|
| ===================================================================
|
| --- vm/object_store.h (revision 4579)
|
| +++ vm/object_store.h (working copy)
|
| @@ -302,6 +302,20 @@
|
| out_of_memory_ = value.raw();
|
| }
|
|
|
| + RawArray* literal_tokens_canonical_list() const {
|
| + return literal_tokens_canonical_list_;
|
| + }
|
| + void set_literal_tokens_canonical_list(const Array& value) {
|
| + literal_tokens_canonical_list_ = value.raw();
|
| + }
|
| +
|
| + RawArray* keyword_symbols() const { return keyword_symbols_; }
|
| + void set_keyword_symbols(const Array& value) {
|
| + keyword_symbols_ = value.raw();
|
| + }
|
| + RawObject* GetKeywordSymbol(int index);
|
| + void SetKeywordSymbol(int index, const String& symbol);
|
| +
|
| // Visit all object pointers.
|
| void VisitObjectPointers(ObjectPointerVisitor* visitor);
|
|
|
| @@ -366,7 +380,9 @@
|
| RawContext* empty_context_;
|
| RawInstance* stack_overflow_;
|
| RawInstance* out_of_memory_;
|
| - RawObject** to() { return reinterpret_cast<RawObject**>(&out_of_memory_); }
|
| + RawArray* literal_tokens_canonical_list_;
|
| + RawArray* keyword_symbols_;
|
| + RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
|
|
|
| bool preallocate_objects_called_;
|
|
|
|
|