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

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

Issue 1430993003: Add test precompiling dart2js. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: status file Created 5 years, 1 month 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 class RawExceptionHandlers; 47 class RawExceptionHandlers;
48 class RawField; 48 class RawField;
49 class RawFloat32x4; 49 class RawFloat32x4;
50 class RawFloat64x2; 50 class RawFloat64x2;
51 class RawFunction; 51 class RawFunction;
52 class RawGrowableObjectArray; 52 class RawGrowableObjectArray;
53 class RawICData; 53 class RawICData;
54 class RawImmutableArray; 54 class RawImmutableArray;
55 class RawInstructions; 55 class RawInstructions;
56 class RawInt32x4; 56 class RawInt32x4;
57 class RawJSRegExp;
57 class RawLanguageError; 58 class RawLanguageError;
58 class RawLibrary; 59 class RawLibrary;
59 class RawLibraryPrefix; 60 class RawLibraryPrefix;
60 class RawLinkedHashMap; 61 class RawLinkedHashMap;
61 class RawLiteralToken; 62 class RawLiteralToken;
62 class RawLocalVarDescriptors; 63 class RawLocalVarDescriptors;
63 class RawMegamorphicCache; 64 class RawMegamorphicCache;
64 class RawMint; 65 class RawMint;
65 class RawMixinAppType; 66 class RawMixinAppType;
66 class RawBigint; 67 class RawBigint;
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 RawGrowableObjectArray* NewGrowableObjectArray(); 440 RawGrowableObjectArray* NewGrowableObjectArray();
440 RawFloat32x4* NewFloat32x4(float v0, float v1, float v2, float v3); 441 RawFloat32x4* NewFloat32x4(float v0, float v1, float v2, float v3);
441 RawInt32x4* NewInt32x4(uint32_t v0, uint32_t v1, uint32_t v2, uint32_t v3); 442 RawInt32x4* NewInt32x4(uint32_t v0, uint32_t v1, uint32_t v2, uint32_t v3);
442 RawFloat64x2* NewFloat64x2(double v0, double v1); 443 RawFloat64x2* NewFloat64x2(double v0, double v1);
443 RawApiError* NewApiError(); 444 RawApiError* NewApiError();
444 RawLanguageError* NewLanguageError(); 445 RawLanguageError* NewLanguageError();
445 RawUnhandledException* NewUnhandledException(); 446 RawUnhandledException* NewUnhandledException();
446 RawObject* NewInteger(int64_t value); 447 RawObject* NewInteger(int64_t value);
447 RawStacktrace* NewStacktrace(); 448 RawStacktrace* NewStacktrace();
448 RawWeakProperty* NewWeakProperty(); 449 RawWeakProperty* NewWeakProperty();
450 RawJSRegExp* NewJSRegExp();
449 451
450 RawInstructions* GetInstructionsAt(int32_t offset, uword expected_tags) { 452 RawInstructions* GetInstructionsAt(int32_t offset, uword expected_tags) {
451 return instructions_reader_->GetInstructionsAt(offset, expected_tags); 453 return instructions_reader_->GetInstructionsAt(offset, expected_tags);
452 } 454 }
453 455
454 const uint8_t* instructions_buffer_; 456 const uint8_t* instructions_buffer_;
455 457
456 protected: 458 protected:
457 SnapshotReader(const uint8_t* buffer, 459 SnapshotReader(const uint8_t* buffer,
458 intptr_t size, 460 intptr_t size,
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 private: 1128 private:
1127 SnapshotWriter* writer_; 1129 SnapshotWriter* writer_;
1128 bool as_references_; 1130 bool as_references_;
1129 1131
1130 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); 1132 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor);
1131 }; 1133 };
1132 1134
1133 } // namespace dart 1135 } // namespace dart
1134 1136
1135 #endif // VM_SNAPSHOT_H_ 1137 #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