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

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

Issue 2005723004: Fraction class prototype and test (not to be committed). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: work in progress Created 4 years, 5 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/scanner.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class RawClosure; 44 class RawClosure;
45 class RawClosureData; 45 class RawClosureData;
46 class RawCodeSourceMap; 46 class RawCodeSourceMap;
47 class RawContext; 47 class RawContext;
48 class RawContextScope; 48 class RawContextScope;
49 class RawDouble; 49 class RawDouble;
50 class RawExceptionHandlers; 50 class RawExceptionHandlers;
51 class RawField; 51 class RawField;
52 class RawFloat32x4; 52 class RawFloat32x4;
53 class RawFloat64x2; 53 class RawFloat64x2;
54 class RawFraction;
54 class RawFunction; 55 class RawFunction;
55 class RawGrowableObjectArray; 56 class RawGrowableObjectArray;
56 class RawICData; 57 class RawICData;
57 class RawImmutableArray; 58 class RawImmutableArray;
58 class RawInstructions; 59 class RawInstructions;
59 class RawInt32x4; 60 class RawInt32x4;
60 class RawRegExp; 61 class RawRegExp;
61 class RawLanguageError; 62 class RawLanguageError;
62 class RawLibrary; 63 class RawLibrary;
63 class RawLibraryPrefix; 64 class RawLibraryPrefix;
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 RawImmutableArray* NewImmutableArray(intptr_t len); 443 RawImmutableArray* NewImmutableArray(intptr_t len);
443 RawOneByteString* NewOneByteString(intptr_t len); 444 RawOneByteString* NewOneByteString(intptr_t len);
444 RawTwoByteString* NewTwoByteString(intptr_t len); 445 RawTwoByteString* NewTwoByteString(intptr_t len);
445 RawTypeArguments* NewTypeArguments(intptr_t len); 446 RawTypeArguments* NewTypeArguments(intptr_t len);
446 RawTokenStream* NewTokenStream(intptr_t len); 447 RawTokenStream* NewTokenStream(intptr_t len);
447 RawContext* NewContext(intptr_t num_variables); 448 RawContext* NewContext(intptr_t num_variables);
448 RawClass* NewClass(intptr_t class_id); 449 RawClass* NewClass(intptr_t class_id);
449 RawInstance* NewInstance(); 450 RawInstance* NewInstance();
450 RawMint* NewMint(int64_t value); 451 RawMint* NewMint(int64_t value);
451 RawBigint* NewBigint(); 452 RawBigint* NewBigint();
453 RawFraction* NewFraction();
452 RawTypedData* NewTypedData(intptr_t class_id, intptr_t len); 454 RawTypedData* NewTypedData(intptr_t class_id, intptr_t len);
453 RawDouble* NewDouble(double value); 455 RawDouble* NewDouble(double value);
454 RawUnresolvedClass* NewUnresolvedClass(); 456 RawUnresolvedClass* NewUnresolvedClass();
455 RawType* NewType(); 457 RawType* NewType();
456 RawTypeRef* NewTypeRef(); 458 RawTypeRef* NewTypeRef();
457 RawTypeParameter* NewTypeParameter(); 459 RawTypeParameter* NewTypeParameter();
458 RawBoundedType* NewBoundedType(); 460 RawBoundedType* NewBoundedType();
459 RawMixinAppType* NewMixinAppType(); 461 RawMixinAppType* NewMixinAppType();
460 RawPatchClass* NewPatchClass(); 462 RawPatchClass* NewPatchClass();
461 RawClosure* NewClosure(); 463 RawClosure* NewClosure();
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 friend class Bigint; 608 friend class Bigint;
607 friend class BoundedType; 609 friend class BoundedType;
608 friend class Class; 610 friend class Class;
609 friend class Closure; 611 friend class Closure;
610 friend class ClosureData; 612 friend class ClosureData;
611 friend class Code; 613 friend class Code;
612 friend class Context; 614 friend class Context;
613 friend class ContextScope; 615 friend class ContextScope;
614 friend class ExceptionHandlers; 616 friend class ExceptionHandlers;
615 friend class Field; 617 friend class Field;
618 friend class Fraction;
616 friend class Function; 619 friend class Function;
617 friend class GrowableObjectArray; 620 friend class GrowableObjectArray;
618 friend class ICData; 621 friend class ICData;
619 friend class ImmutableArray; 622 friend class ImmutableArray;
620 friend class Instructions; 623 friend class Instructions;
621 friend class RegExp; 624 friend class RegExp;
622 friend class LanguageError; 625 friend class LanguageError;
623 friend class Library; 626 friend class Library;
624 friend class LibraryPrefix; 627 friend class LibraryPrefix;
625 friend class LinkedHashMap; 628 friend class LinkedHashMap;
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 private: 1120 private:
1118 SnapshotWriter* writer_; 1121 SnapshotWriter* writer_;
1119 bool as_references_; 1122 bool as_references_;
1120 1123
1121 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); 1124 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor);
1122 }; 1125 };
1123 1126
1124 } // namespace dart 1127 } // namespace dart
1125 1128
1126 #endif // VM_SNAPSHOT_H_ 1129 #endif // VM_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « runtime/vm/scanner.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698