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

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

Issue 2860883002: Rename InstructionsReader to ImageReader for symmetry with ImageWriter. (Closed)
Patch Set: reload for missing reitveld diff Created 3 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
« no previous file with comments | « runtime/vm/clustered_snapshot.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/exceptions.h" 10 #include "vm/exceptions.h"
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 friend class RawExternalTypedData; 614 friend class RawExternalTypedData;
615 friend class RawInstructions; 615 friend class RawInstructions;
616 friend class RawInstance; 616 friend class RawInstance;
617 friend class RawTypedData; 617 friend class RawTypedData;
618 friend class Scavenger; 618 friend class Scavenger;
619 friend class ScavengerVisitor; 619 friend class ScavengerVisitor;
620 friend class SizeExcludingClassVisitor; // GetClassId 620 friend class SizeExcludingClassVisitor; // GetClassId
621 friend class InstanceAccumulator; // GetClassId 621 friend class InstanceAccumulator; // GetClassId
622 friend class RetainingPathVisitor; // GetClassId 622 friend class RetainingPathVisitor; // GetClassId
623 friend class SkippedCodeFunctions; // StorePointer 623 friend class SkippedCodeFunctions; // StorePointer
624 friend class InstructionsReader; // tags_ check 624 friend class ImageReader; // tags_ check
625 friend class ImageWriter; 625 friend class ImageWriter;
626 friend class AssemblyImageWriter; 626 friend class AssemblyImageWriter;
627 friend class BlobImageWriter; 627 friend class BlobImageWriter;
628 friend class SnapshotReader; 628 friend class SnapshotReader;
629 friend class Deserializer; 629 friend class Deserializer;
630 friend class SnapshotWriter; 630 friend class SnapshotWriter;
631 friend class String; 631 friend class String;
632 friend class Type; // GetClassId 632 friend class Type; // GetClassId
633 friend class TypedData; 633 friend class TypedData;
634 friend class TypedDataView; 634 friend class TypedDataView;
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1220 static bool ContainsPC(RawInstructions* raw_instr, uword pc); 1220 static bool ContainsPC(RawInstructions* raw_instr, uword pc);
1221 1221
1222 friend class RawCode; 1222 friend class RawCode;
1223 friend class RawFunction; 1223 friend class RawFunction;
1224 friend class Code; 1224 friend class Code;
1225 friend class StackFrame; 1225 friend class StackFrame;
1226 template <bool> 1226 template <bool>
1227 friend class MarkingVisitorBase; 1227 friend class MarkingVisitorBase;
1228 friend class SkippedCodeFunctions; 1228 friend class SkippedCodeFunctions;
1229 friend class Function; 1229 friend class Function;
1230 friend class InstructionsReader; 1230 friend class ImageReader;
1231 friend class ImageWriter; 1231 friend class ImageWriter;
1232 }; 1232 };
1233 1233
1234 1234
1235 class RawPcDescriptors : public RawObject { 1235 class RawPcDescriptors : public RawObject {
1236 public: 1236 public:
1237 enum Kind { 1237 enum Kind {
1238 kDeopt = 1, // Deoptimization continuation point. 1238 kDeopt = 1, // Deoptimization continuation point.
1239 kIcCall = kDeopt << 1, // IC call. 1239 kIcCall = kDeopt << 1, // IC call.
1240 kUnoptStaticCall = kIcCall << 1, // Call to a known target via stub. 1240 kUnoptStaticCall = kIcCall << 1, // Call to a known target via stub.
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2447 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2447 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2448 kTypedDataInt8ArrayViewCid + 15); 2448 kTypedDataInt8ArrayViewCid + 15);
2449 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2449 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2450 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2450 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2451 return (kNullCid - kTypedDataInt8ArrayCid); 2451 return (kNullCid - kTypedDataInt8ArrayCid);
2452 } 2452 }
2453 2453
2454 } // namespace dart 2454 } // namespace dart
2455 2455
2456 #endif // RUNTIME_VM_RAW_OBJECT_H_ 2456 #endif // RUNTIME_VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/clustered_snapshot.cc ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698