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

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

Issue 2654183002: Rename references to "external pages" as "snapshot pages" to avoid confusion with the kind of exter… (Closed)
Patch Set: image 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
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 ImageWriter;
613 friend class AssemblyInstructionsWriter; 613 friend class AssemblyImageWriter;
614 friend class BlobInstructionsWriter; 614 friend class BlobImageWriter;
615 friend class SnapshotReader; 615 friend class SnapshotReader;
616 friend class Deserializer; 616 friend class Deserializer;
617 friend class SnapshotWriter; 617 friend class SnapshotWriter;
618 friend class String; 618 friend class String;
619 friend class Type; // GetClassId 619 friend class Type; // GetClassId
620 friend class TypedData; 620 friend class TypedData;
621 friend class TypedDataView; 621 friend class TypedDataView;
622 friend class WeakProperty; // StorePointer 622 friend class WeakProperty; // StorePointer
623 friend class Instance; // StorePointer 623 friend class Instance; // StorePointer
624 friend class StackFrame; // GetCodeObject assertion. 624 friend class StackFrame; // GetCodeObject assertion.
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 1207
1208 friend class RawCode; 1208 friend class RawCode;
1209 friend class RawFunction; 1209 friend class RawFunction;
1210 friend class Code; 1210 friend class Code;
1211 friend class StackFrame; 1211 friend class StackFrame;
1212 template <bool> 1212 template <bool>
1213 friend class MarkingVisitorBase; 1213 friend class MarkingVisitorBase;
1214 friend class SkippedCodeFunctions; 1214 friend class SkippedCodeFunctions;
1215 friend class Function; 1215 friend class Function;
1216 friend class InstructionsReader; 1216 friend class InstructionsReader;
1217 friend class InstructionsWriter; 1217 friend class ImageWriter;
1218 }; 1218 };
1219 1219
1220 1220
1221 class RawPcDescriptors : public RawObject { 1221 class RawPcDescriptors : public RawObject {
1222 public: 1222 public:
1223 enum Kind { 1223 enum Kind {
1224 kDeopt = 1, // Deoptimization continuation point. 1224 kDeopt = 1, // Deoptimization continuation point.
1225 kIcCall = kDeopt << 1, // IC call. 1225 kIcCall = kDeopt << 1, // IC call.
1226 kUnoptStaticCall = kIcCall << 1, // Call to a known target via stub. 1226 kUnoptStaticCall = kIcCall << 1, // Call to a known target via stub.
1227 kRuntimeCall = kUnoptStaticCall << 1, // Runtime call. 1227 kRuntimeCall = kUnoptStaticCall << 1, // Runtime call.
(...skipping 1196 matching lines...) Expand 10 before | Expand all | Expand 10 after
2424 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2424 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2425 kTypedDataInt8ArrayViewCid + 15); 2425 kTypedDataInt8ArrayViewCid + 15);
2426 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2426 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2427 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2427 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2428 return (kNullCid - kTypedDataInt8ArrayCid); 2428 return (kNullCid - kTypedDataInt8ArrayCid);
2429 } 2429 }
2430 2430
2431 } // namespace dart 2431 } // namespace dart
2432 2432
2433 #endif // RUNTIME_VM_RAW_OBJECT_H_ 2433 #endif // RUNTIME_VM_RAW_OBJECT_H_
OLDNEW
« runtime/vm/isolate.cc ('K') | « runtime/vm/pages.cc ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698