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

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

Issue 1415843008: Revert "Remove deprecated dart:profiler library" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
« 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,
33 kTypedData, 34 kTypedData,
34 kVMService, 35 kVMService,
35 }; 36 };
36 37
37 ~ObjectStore(); 38 ~ObjectStore();
38 39
39 RawClass* object_class() const { 40 RawClass* object_class() const {
40 ASSERT(object_class_ != Object::null()); 41 ASSERT(object_class_ != Object::null());
41 return object_class_; 42 return object_class_;
42 } 43 }
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 RawLibrary* async_library() const { return async_library_; } 257 RawLibrary* async_library() const { return async_library_; }
257 RawLibrary* builtin_library() const { return builtin_library_; } 258 RawLibrary* builtin_library() const { return builtin_library_; }
258 RawLibrary* core_library() const { return core_library_; } 259 RawLibrary* core_library() const { return core_library_; }
259 RawLibrary* collection_library() const { return collection_library_; } 260 RawLibrary* collection_library() const { return collection_library_; }
260 RawLibrary* convert_library() const { return convert_library_; } 261 RawLibrary* convert_library() const { return convert_library_; }
261 RawLibrary* developer_library() const { return developer_library_; } 262 RawLibrary* developer_library() const { return developer_library_; }
262 RawLibrary* internal_library() const { return internal_library_; } 263 RawLibrary* internal_library() const { return internal_library_; }
263 RawLibrary* isolate_library() const { return isolate_library_; } 264 RawLibrary* isolate_library() const { return isolate_library_; }
264 RawLibrary* math_library() const { return math_library_; } 265 RawLibrary* math_library() const { return math_library_; }
265 RawLibrary* mirrors_library() const { return mirrors_library_; } 266 RawLibrary* mirrors_library() const { return mirrors_library_; }
267 RawLibrary* profiler_library() const { return profiler_library_; }
266 RawLibrary* typed_data_library() const { return typed_data_library_; } 268 RawLibrary* typed_data_library() const { return typed_data_library_; }
267 RawLibrary* vmservice_library() const { return vmservice_library_; } 269 RawLibrary* vmservice_library() const { return vmservice_library_; }
268 270
269 void set_bootstrap_library(BootstrapLibraryId index, const Library& value) { 271 void set_bootstrap_library(BootstrapLibraryId index, const Library& value) {
270 switch (index) { 272 switch (index) {
271 case kAsync: 273 case kAsync:
272 async_library_ = value.raw(); 274 async_library_ = value.raw();
273 break; 275 break;
274 case kCore: 276 case kCore:
275 core_library_ = value.raw(); 277 core_library_ = value.raw();
(...skipping 12 matching lines...) Expand all
288 break; 290 break;
289 case kIsolate: 291 case kIsolate:
290 isolate_library_ = value.raw(); 292 isolate_library_ = value.raw();
291 break; 293 break;
292 case kMath: 294 case kMath:
293 math_library_ = value.raw(); 295 math_library_ = value.raw();
294 break; 296 break;
295 case kMirrors: 297 case kMirrors:
296 mirrors_library_ = value.raw(); 298 mirrors_library_ = value.raw();
297 break; 299 break;
300 case kProfiler:
301 profiler_library_ = value.raw();
302 break;
298 case kTypedData: 303 case kTypedData:
299 typed_data_library_ = value.raw(); 304 typed_data_library_ = value.raw();
300 break; 305 break;
301 case kVMService: 306 case kVMService:
302 vmservice_library_ = value.raw(); 307 vmservice_library_ = value.raw();
303 break; 308 break;
304 default: 309 default:
305 UNREACHABLE(); 310 UNREACHABLE();
306 } 311 }
307 } 312 }
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 RawLibrary* builtin_library_; 525 RawLibrary* builtin_library_;
521 RawLibrary* core_library_; 526 RawLibrary* core_library_;
522 RawLibrary* collection_library_; 527 RawLibrary* collection_library_;
523 RawLibrary* convert_library_; 528 RawLibrary* convert_library_;
524 RawLibrary* developer_library_; 529 RawLibrary* developer_library_;
525 RawLibrary* internal_library_; 530 RawLibrary* internal_library_;
526 RawLibrary* isolate_library_; 531 RawLibrary* isolate_library_;
527 RawLibrary* math_library_; 532 RawLibrary* math_library_;
528 RawLibrary* mirrors_library_; 533 RawLibrary* mirrors_library_;
529 RawLibrary* native_wrappers_library_; 534 RawLibrary* native_wrappers_library_;
535 RawLibrary* profiler_library_;
530 RawLibrary* root_library_; 536 RawLibrary* root_library_;
531 RawLibrary* typed_data_library_; 537 RawLibrary* typed_data_library_;
532 RawLibrary* vmservice_library_; 538 RawLibrary* vmservice_library_;
533 RawGrowableObjectArray* libraries_; 539 RawGrowableObjectArray* libraries_;
534 RawGrowableObjectArray* pending_classes_; 540 RawGrowableObjectArray* pending_classes_;
535 RawGrowableObjectArray* pending_deferred_loads_; 541 RawGrowableObjectArray* pending_deferred_loads_;
536 RawGrowableObjectArray* resume_capabilities_; 542 RawGrowableObjectArray* resume_capabilities_;
537 RawGrowableObjectArray* exit_listeners_; 543 RawGrowableObjectArray* exit_listeners_;
538 RawGrowableObjectArray* error_listeners_; 544 RawGrowableObjectArray* error_listeners_;
539 RawError* sticky_error_; 545 RawError* sticky_error_;
(...skipping 22 matching lines...) Expand all
562 friend class FullSnapshotWriter; 568 friend class FullSnapshotWriter;
563 friend class SnapshotReader; 569 friend class SnapshotReader;
564 friend class VmIsolateSnapshotReader; 570 friend class VmIsolateSnapshotReader;
565 571
566 DISALLOW_COPY_AND_ASSIGN(ObjectStore); 572 DISALLOW_COPY_AND_ASSIGN(ObjectStore);
567 }; 573 };
568 574
569 } // namespace dart 575 } // namespace dart
570 576
571 #endif // VM_OBJECT_STORE_H_ 577 #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