Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: vm/object_store.h

Issue 9580036: - Always write a Null Object for Code objects (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « vm/dart_api_impl.cc ('k') | vm/object_store.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_OBJECT_STORE_H_ 5 #ifndef VM_OBJECT_STORE_H_
6 #define VM_OBJECT_STORE_H_ 6 #define VM_OBJECT_STORE_H_
7 7
8 #include "vm/object.h" 8 #include "vm/object.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 RawLibrary* root_library_; 377 RawLibrary* root_library_;
378 RawLibrary* registered_libraries_; 378 RawLibrary* registered_libraries_;
379 RawArray* pending_classes_; 379 RawArray* pending_classes_;
380 RawError* sticky_error_; 380 RawError* sticky_error_;
381 RawContext* empty_context_; 381 RawContext* empty_context_;
382 RawInstance* stack_overflow_; 382 RawInstance* stack_overflow_;
383 RawInstance* out_of_memory_; 383 RawInstance* out_of_memory_;
384 RawArray* keyword_symbols_; 384 RawArray* keyword_symbols_;
385 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } 385 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); }
386 386
387 bool preallocate_objects_called_;
388
389 friend class SnapshotReader; 387 friend class SnapshotReader;
390 388
391 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 389 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
392 }; 390 };
393 391
394 } // namespace dart 392 } // namespace dart
395 393
396 #endif // VM_OBJECT_STORE_H_ 394 #endif // VM_OBJECT_STORE_H_
OLDNEW
« no previous file with comments | « vm/dart_api_impl.cc ('k') | vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698