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

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

Issue 2179983002: Implemented schema change for the isolate reload operation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Added a few tests to isolate_reload_test.cc Created 4 years, 5 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
« runtime/vm/object_reload.cc ('K') | « runtime/vm/object_reload.cc ('k') | no next file » | 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_RAW_OBJECT_H_ 5 #ifndef VM_RAW_OBJECT_H_
6 #define VM_RAW_OBJECT_H_ 6 #define VM_RAW_OBJECT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/atomic.h" 9 #include "vm/atomic.h"
10 #include "vm/globals.h" 10 #include "vm/globals.h"
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 friend class Type; // GetClassId 633 friend class Type; // GetClassId
634 friend class TypedData; 634 friend class TypedData;
635 friend class TypedDataView; 635 friend class TypedDataView;
636 friend class WeakProperty; // StorePointer 636 friend class WeakProperty; // StorePointer
637 friend class Instance; // StorePointer 637 friend class Instance; // StorePointer
638 friend class StackFrame; // GetCodeObject assertion. 638 friend class StackFrame; // GetCodeObject assertion.
639 friend class CodeLookupTableBuilder; // profiler 639 friend class CodeLookupTableBuilder; // profiler
640 friend class NativeEntry; // GetClassId 640 friend class NativeEntry; // GetClassId
641 friend class Simulator; 641 friend class Simulator;
642 friend class SimulatorHelpers; 642 friend class SimulatorHelpers;
643 friend class ObjectLocator;
644 friend class InstanceMorpher; // GetClassId
643 645
644 DISALLOW_ALLOCATION(); 646 DISALLOW_ALLOCATION();
645 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject); 647 DISALLOW_IMPLICIT_CONSTRUCTORS(RawObject);
646 }; 648 };
647 649
648 650
649 class RawClass : public RawObject { 651 class RawClass : public RawObject {
650 public: 652 public:
651 enum ClassFinalizedState { 653 enum ClassFinalizedState {
652 kAllocated = 0, // Initial state. 654 kAllocated = 0, // Initial state.
(...skipping 1766 matching lines...) Expand 10 before | Expand all | Expand 10 after
2419 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2421 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2420 kTypedDataInt8ArrayViewCid + 15); 2422 kTypedDataInt8ArrayViewCid + 15);
2421 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2423 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2422 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2424 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2423 return (kNullCid - kTypedDataInt8ArrayCid); 2425 return (kNullCid - kTypedDataInt8ArrayCid);
2424 } 2426 }
2425 2427
2426 } // namespace dart 2428 } // namespace dart
2427 2429
2428 #endif // VM_RAW_OBJECT_H_ 2430 #endif // VM_RAW_OBJECT_H_
OLDNEW
« runtime/vm/object_reload.cc ('K') | « runtime/vm/object_reload.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698