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

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

Issue 2622053002: Refactor snapshots pieces to include a section for loading instructions into the heap of a regular … (Closed)
Patch Set: . Created 3 years, 11 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
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/snapshot.h » ('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 RUNTIME_VM_RAW_OBJECT_H_ 5 #ifndef RUNTIME_VM_RAW_OBJECT_H_
6 #define RUNTIME_VM_RAW_OBJECT_H_ 6 #define RUNTIME_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 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 friend class RawInstructions; 602 friend class RawInstructions;
603 friend class RawInstance; 603 friend class RawInstance;
604 friend class RawTypedData; 604 friend class RawTypedData;
605 friend class Scavenger; 605 friend class Scavenger;
606 friend class ScavengerVisitor; 606 friend class ScavengerVisitor;
607 friend class SizeExcludingClassVisitor; // GetClassId 607 friend class SizeExcludingClassVisitor; // GetClassId
608 friend class InstanceAccumulator; // GetClassId 608 friend class InstanceAccumulator; // GetClassId
609 friend class RetainingPathVisitor; // GetClassId 609 friend class RetainingPathVisitor; // GetClassId
610 friend class SkippedCodeFunctions; // StorePointer 610 friend class SkippedCodeFunctions; // StorePointer
611 friend class InstructionsReader; // tags_ check 611 friend class InstructionsReader; // tags_ check
612 friend class InstructionsWriter;
612 friend class AssemblyInstructionsWriter; 613 friend class AssemblyInstructionsWriter;
613 friend class BlobInstructionsWriter; 614 friend class BlobInstructionsWriter;
614 friend class SnapshotReader; 615 friend class SnapshotReader;
615 friend class Deserializer; 616 friend class Deserializer;
616 friend class SnapshotWriter; 617 friend class SnapshotWriter;
617 friend class String; 618 friend class String;
618 friend class Type; // GetClassId 619 friend class Type; // GetClassId
619 friend class TypedData; 620 friend class TypedData;
620 friend class TypedDataView; 621 friend class TypedDataView;
621 friend class WeakProperty; // StorePointer 622 friend class WeakProperty; // StorePointer
(...skipping 1801 matching lines...) Expand 10 before | Expand all | Expand 10 after
2423 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2424 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2424 kTypedDataInt8ArrayViewCid + 15); 2425 kTypedDataInt8ArrayViewCid + 15);
2425 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2426 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2426 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2427 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2427 return (kNullCid - kTypedDataInt8ArrayCid); 2428 return (kNullCid - kTypedDataInt8ArrayCid);
2428 } 2429 }
2429 2430
2430 } // namespace dart 2431 } // namespace dart
2431 2432
2432 #endif // RUNTIME_VM_RAW_OBJECT_H_ 2433 #endif // RUNTIME_VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698