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

Side by Side Diff: runtime/vm/object_store.h

Issue 1139503002: Move 'dart:profiler' contents into 'dart:developer' and remove 'dart:profiler' (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « runtime/vm/object.cc ('k') | runtime/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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 12 matching lines...) Expand all
23 kNone = 0, 23 kNone = 0,
24 kAsync, 24 kAsync,
25 kCore, 25 kCore,
26 kCollection, 26 kCollection,
27 kConvert, 27 kConvert,
28 kDeveloper, 28 kDeveloper,
29 kInternal, 29 kInternal,
30 kIsolate, 30 kIsolate,
31 kMath, 31 kMath,
32 kMirrors, 32 kMirrors,
33 kProfiler,
34 kTypedData, 33 kTypedData,
35 }; 34 };
36 35
37 ~ObjectStore(); 36 ~ObjectStore();
38 37
39 RawClass* object_class() const { 38 RawClass* object_class() const {
40 ASSERT(object_class_ != Object::null()); 39 ASSERT(object_class_ != Object::null());
41 return object_class_; 40 return object_class_;
42 } 41 }
43 void set_object_class(const Class& value) { object_class_ = value.raw(); } 42 void set_object_class(const Class& value) { object_class_ = value.raw(); }
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 RawLibrary* async_library() const { return async_library_; } 255 RawLibrary* async_library() const { return async_library_; }
257 RawLibrary* builtin_library() const { return builtin_library_; } 256 RawLibrary* builtin_library() const { return builtin_library_; }
258 RawLibrary* core_library() const { return core_library_; } 257 RawLibrary* core_library() const { return core_library_; }
259 RawLibrary* collection_library() const { return collection_library_; } 258 RawLibrary* collection_library() const { return collection_library_; }
260 RawLibrary* convert_library() const { return convert_library_; } 259 RawLibrary* convert_library() const { return convert_library_; }
261 RawLibrary* developer_library() const { return developer_library_; } 260 RawLibrary* developer_library() const { return developer_library_; }
262 RawLibrary* internal_library() const { return internal_library_; } 261 RawLibrary* internal_library() const { return internal_library_; }
263 RawLibrary* isolate_library() const { return isolate_library_; } 262 RawLibrary* isolate_library() const { return isolate_library_; }
264 RawLibrary* math_library() const { return math_library_; } 263 RawLibrary* math_library() const { return math_library_; }
265 RawLibrary* mirrors_library() const { return mirrors_library_; } 264 RawLibrary* mirrors_library() const { return mirrors_library_; }
266 RawLibrary* profiler_library() const { return profiler_library_; }
267 RawLibrary* typed_data_library() const { return typed_data_library_; } 265 RawLibrary* typed_data_library() const { return typed_data_library_; }
268 266
269 void set_bootstrap_library(BootstrapLibraryId index, const Library& value) { 267 void set_bootstrap_library(BootstrapLibraryId index, const Library& value) {
270 switch (index) { 268 switch (index) {
271 case kAsync: 269 case kAsync:
272 async_library_ = value.raw(); 270 async_library_ = value.raw();
273 break; 271 break;
274 case kCore: 272 case kCore:
275 core_library_ = value.raw(); 273 core_library_ = value.raw();
276 break; 274 break;
(...skipping 11 matching lines...) Expand all
288 break; 286 break;
289 case kIsolate: 287 case kIsolate:
290 isolate_library_ = value.raw(); 288 isolate_library_ = value.raw();
291 break; 289 break;
292 case kMath: 290 case kMath:
293 math_library_ = value.raw(); 291 math_library_ = value.raw();
294 break; 292 break;
295 case kMirrors: 293 case kMirrors:
296 mirrors_library_ = value.raw(); 294 mirrors_library_ = value.raw();
297 break; 295 break;
298 case kProfiler:
299 profiler_library_ = value.raw();
300 break;
301 case kTypedData: 296 case kTypedData:
302 typed_data_library_ = value.raw(); 297 typed_data_library_ = value.raw();
303 break; 298 break;
304 default: 299 default:
305 UNREACHABLE(); 300 UNREACHABLE();
306 } 301 }
307 } 302 }
308 303
309 void set_builtin_library(const Library& value) { 304 void set_builtin_library(const Library& value) {
310 builtin_library_ = value.raw(); 305 builtin_library_ = value.raw();
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 RawLibrary* builtin_library_; 483 RawLibrary* builtin_library_;
489 RawLibrary* core_library_; 484 RawLibrary* core_library_;
490 RawLibrary* collection_library_; 485 RawLibrary* collection_library_;
491 RawLibrary* convert_library_; 486 RawLibrary* convert_library_;
492 RawLibrary* developer_library_; 487 RawLibrary* developer_library_;
493 RawLibrary* internal_library_; 488 RawLibrary* internal_library_;
494 RawLibrary* isolate_library_; 489 RawLibrary* isolate_library_;
495 RawLibrary* math_library_; 490 RawLibrary* math_library_;
496 RawLibrary* mirrors_library_; 491 RawLibrary* mirrors_library_;
497 RawLibrary* native_wrappers_library_; 492 RawLibrary* native_wrappers_library_;
498 RawLibrary* profiler_library_;
499 RawLibrary* root_library_; 493 RawLibrary* root_library_;
500 RawLibrary* typed_data_library_; 494 RawLibrary* typed_data_library_;
501 RawGrowableObjectArray* libraries_; 495 RawGrowableObjectArray* libraries_;
502 RawGrowableObjectArray* pending_classes_; 496 RawGrowableObjectArray* pending_classes_;
503 RawGrowableObjectArray* pending_functions_; 497 RawGrowableObjectArray* pending_functions_;
504 RawGrowableObjectArray* pending_deferred_loads_; 498 RawGrowableObjectArray* pending_deferred_loads_;
505 RawGrowableObjectArray* resume_capabilities_; 499 RawGrowableObjectArray* resume_capabilities_;
506 RawGrowableObjectArray* exit_listeners_; 500 RawGrowableObjectArray* exit_listeners_;
507 RawGrowableObjectArray* error_listeners_; 501 RawGrowableObjectArray* error_listeners_;
508 RawError* sticky_error_; 502 RawError* sticky_error_;
(...skipping 11 matching lines...) Expand all
520 } 514 }
521 515
522 friend class SnapshotReader; 516 friend class SnapshotReader;
523 517
524 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 518 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
525 }; 519 };
526 520
527 } // namespace dart 521 } // namespace dart
528 522
529 #endif // VM_OBJECT_STORE_H_ 523 #endif // VM_OBJECT_STORE_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698