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

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

Issue 1915853004: Option to output precompiled instructions as a blob for use with mmap instead of assembly for use i… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/datastream.h ('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 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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 friend class RawInstructions; 649 friend class RawInstructions;
650 friend class RawInstance; 650 friend class RawInstance;
651 friend class RawTypedData; 651 friend class RawTypedData;
652 friend class Scavenger; 652 friend class Scavenger;
653 friend class ScavengerVisitor; 653 friend class ScavengerVisitor;
654 friend class SizeExcludingClassVisitor; // GetClassId 654 friend class SizeExcludingClassVisitor; // GetClassId
655 friend class InstanceAccumulator; // GetClassId 655 friend class InstanceAccumulator; // GetClassId
656 friend class RetainingPathVisitor; // GetClassId 656 friend class RetainingPathVisitor; // GetClassId
657 friend class SkippedCodeFunctions; // StorePointer 657 friend class SkippedCodeFunctions; // StorePointer
658 friend class InstructionsReader; // tags_ check 658 friend class InstructionsReader; // tags_ check
659 friend class InstructionsWriter; 659 friend class AssemblyInstructionsWriter;
660 friend class BlobInstructionsWriter;
660 friend class SnapshotReader; 661 friend class SnapshotReader;
661 friend class SnapshotWriter; 662 friend class SnapshotWriter;
662 friend class String; 663 friend class String;
663 friend class TypedData; 664 friend class TypedData;
664 friend class TypedDataView; 665 friend class TypedDataView;
665 friend class WeakProperty; // StorePointer 666 friend class WeakProperty; // StorePointer
666 friend class Instance; // StorePointer 667 friend class Instance; // StorePointer
667 friend class StackFrame; // GetCodeObject assertion. 668 friend class StackFrame; // GetCodeObject assertion.
668 friend class CodeLookupTableBuilder; // profiler 669 friend class CodeLookupTableBuilder; // profiler
669 friend class NativeEntry; // GetClassId 670 friend class NativeEntry; // GetClassId
(...skipping 1703 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid == 2374 COMPILE_ASSERT(kExternalTypedDataInt8ArrayCid ==
2374 kTypedDataInt8ArrayViewCid + 15); 2375 kTypedDataInt8ArrayViewCid + 15);
2375 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14); 2376 COMPILE_ASSERT(kByteBufferCid == kExternalTypedDataInt8ArrayCid + 14);
2376 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1); 2377 COMPILE_ASSERT(kNullCid == kByteBufferCid + 1);
2377 return (kNullCid - kTypedDataInt8ArrayCid); 2378 return (kNullCid - kTypedDataInt8ArrayCid);
2378 } 2379 }
2379 2380
2380 } // namespace dart 2381 } // namespace dart
2381 2382
2382 #endif // VM_RAW_OBJECT_H_ 2383 #endif // VM_RAW_OBJECT_H_
OLDNEW
« no previous file with comments | « runtime/vm/datastream.h ('k') | runtime/vm/snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698