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

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

Issue 1634863002: Introduce CodeSourceMap object to hold pc -> token position mappings (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/raw_object_snapshot.cc ('k') | runtime/vm/snapshot.cc » ('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_SNAPSHOT_H_ 5 #ifndef VM_SNAPSHOT_H_
6 #define VM_SNAPSHOT_H_ 6 #define VM_SNAPSHOT_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 #include "vm/bitfield.h" 10 #include "vm/bitfield.h"
(...skipping 25 matching lines...) Expand all
36 class MegamorphicCache; 36 class MegamorphicCache;
37 class PageSpace; 37 class PageSpace;
38 class RawApiError; 38 class RawApiError;
39 class RawArray; 39 class RawArray;
40 class RawBigint; 40 class RawBigint;
41 class RawBoundedType; 41 class RawBoundedType;
42 class RawCapability; 42 class RawCapability;
43 class RawClass; 43 class RawClass;
44 class RawClosure; 44 class RawClosure;
45 class RawClosureData; 45 class RawClosureData;
46 class RawCodeSourceMap;
46 class RawContext; 47 class RawContext;
47 class RawContextScope; 48 class RawContextScope;
48 class RawDouble; 49 class RawDouble;
49 class RawExceptionHandlers; 50 class RawExceptionHandlers;
50 class RawField; 51 class RawField;
51 class RawFloat32x4; 52 class RawFloat32x4;
52 class RawFloat64x2; 53 class RawFloat64x2;
53 class RawFunction; 54 class RawFunction;
54 class RawFunctionType; 55 class RawFunctionType;
55 class RawGrowableObjectArray; 56 class RawGrowableObjectArray;
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 RawBoundedType* NewBoundedType(); 422 RawBoundedType* NewBoundedType();
422 RawMixinAppType* NewMixinAppType(); 423 RawMixinAppType* NewMixinAppType();
423 RawPatchClass* NewPatchClass(); 424 RawPatchClass* NewPatchClass();
424 RawClosure* NewClosure(); 425 RawClosure* NewClosure();
425 RawClosureData* NewClosureData(); 426 RawClosureData* NewClosureData();
426 RawRedirectionData* NewRedirectionData(); 427 RawRedirectionData* NewRedirectionData();
427 RawFunction* NewFunction(); 428 RawFunction* NewFunction();
428 RawCode* NewCode(intptr_t pointer_offsets_length); 429 RawCode* NewCode(intptr_t pointer_offsets_length);
429 RawObjectPool* NewObjectPool(intptr_t length); 430 RawObjectPool* NewObjectPool(intptr_t length);
430 RawPcDescriptors* NewPcDescriptors(intptr_t length); 431 RawPcDescriptors* NewPcDescriptors(intptr_t length);
432 RawCodeSourceMap* NewCodeSourceMap(intptr_t length);
431 RawLocalVarDescriptors* NewLocalVarDescriptors(intptr_t num_entries); 433 RawLocalVarDescriptors* NewLocalVarDescriptors(intptr_t num_entries);
432 RawExceptionHandlers* NewExceptionHandlers(intptr_t num_entries); 434 RawExceptionHandlers* NewExceptionHandlers(intptr_t num_entries);
433 RawStackmap* NewStackmap(intptr_t length); 435 RawStackmap* NewStackmap(intptr_t length);
434 RawContextScope* NewContextScope(intptr_t num_variables); 436 RawContextScope* NewContextScope(intptr_t num_variables);
435 RawICData* NewICData(); 437 RawICData* NewICData();
436 RawMegamorphicCache* NewMegamorphicCache(); 438 RawMegamorphicCache* NewMegamorphicCache();
437 RawSubtypeTestCache* NewSubtypeTestCache(); 439 RawSubtypeTestCache* NewSubtypeTestCache();
438 RawLinkedHashMap* NewLinkedHashMap(); 440 RawLinkedHashMap* NewLinkedHashMap();
439 RawField* NewField(); 441 RawField* NewField();
440 RawLibrary* NewLibrary(); 442 RawLibrary* NewLibrary();
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 private: 1139 private:
1138 SnapshotWriter* writer_; 1140 SnapshotWriter* writer_;
1139 bool as_references_; 1141 bool as_references_;
1140 1142
1141 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); 1143 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor);
1142 }; 1144 };
1143 1145
1144 } // namespace dart 1146 } // namespace dart
1145 1147
1146 #endif // VM_SNAPSHOT_H_ 1148 #endif // VM_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698