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

Side by Side Diff: vm/snapshot.h

Issue 9835074: Fix for issue 2233 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
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"
11 #include "vm/globals.h" 11 #include "vm/globals.h"
12 #include "vm/growable_array.h" 12 #include "vm/growable_array.h"
13 #include "vm/isolate.h" 13 #include "vm/isolate.h"
14 #include "vm/visitor.h" 14 #include "vm/visitor.h"
15 15
16 namespace dart { 16 namespace dart {
17 17
18 // Forward declarations. 18 // Forward declarations.
19 class AbstractType; 19 class AbstractType;
20 class AbstractTypeArguments; 20 class AbstractTypeArguments;
21 class Class; 21 class Class;
22 class Heap; 22 class Heap;
23 class Library; 23 class Library;
24 class Object; 24 class Object;
25 class ObjectStore; 25 class ObjectStore;
26 class RawArray; 26 class RawArray;
27 class RawBigint;
27 class RawClass; 28 class RawClass;
28 class RawContext; 29 class RawContext;
29 class RawDouble; 30 class RawDouble;
30 class RawField; 31 class RawField;
31 class RawFourByteString; 32 class RawFourByteString;
32 class RawFunction; 33 class RawFunction;
33 class RawGrowableObjectArray; 34 class RawGrowableObjectArray;
34 class RawImmutableArray; 35 class RawImmutableArray;
35 class RawLibrary; 36 class RawLibrary;
36 class RawLibraryPrefix; 37 class RawLibraryPrefix;
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 RawArray* NewArray(intptr_t len); 359 RawArray* NewArray(intptr_t len);
359 RawImmutableArray* NewImmutableArray(intptr_t len); 360 RawImmutableArray* NewImmutableArray(intptr_t len);
360 RawOneByteString* NewOneByteString(intptr_t len); 361 RawOneByteString* NewOneByteString(intptr_t len);
361 RawTwoByteString* NewTwoByteString(intptr_t len); 362 RawTwoByteString* NewTwoByteString(intptr_t len);
362 RawFourByteString* NewFourByteString(intptr_t len); 363 RawFourByteString* NewFourByteString(intptr_t len);
363 RawTypeArguments* NewTypeArguments(intptr_t len); 364 RawTypeArguments* NewTypeArguments(intptr_t len);
364 RawTokenStream* NewTokenStream(intptr_t len); 365 RawTokenStream* NewTokenStream(intptr_t len);
365 RawContext* NewContext(intptr_t num_variables); 366 RawContext* NewContext(intptr_t num_variables);
366 RawClass* NewClass(int value); 367 RawClass* NewClass(int value);
367 RawMint* NewMint(int64_t value); 368 RawMint* NewMint(int64_t value);
369 RawBigint* NewBigint(const char* hex_string);
368 RawDouble* NewDouble(double value); 370 RawDouble* NewDouble(double value);
369 RawUnresolvedClass* NewUnresolvedClass(); 371 RawUnresolvedClass* NewUnresolvedClass();
370 RawType* NewType(); 372 RawType* NewType();
371 RawTypeParameter* NewTypeParameter(); 373 RawTypeParameter* NewTypeParameter();
372 RawFunction* NewFunction(); 374 RawFunction* NewFunction();
373 RawField* NewField(); 375 RawField* NewField();
374 RawLibrary* NewLibrary(); 376 RawLibrary* NewLibrary();
375 RawLibraryPrefix* NewLibraryPrefix(); 377 RawLibraryPrefix* NewLibraryPrefix();
376 RawScript* NewScript(); 378 RawScript* NewScript();
377 RawLiteralToken* NewLiteralToken(); 379 RawLiteralToken* NewLiteralToken();
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 560
559 private: 561 private:
560 SnapshotWriter* writer_; 562 SnapshotWriter* writer_;
561 563
562 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); 564 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor);
563 }; 565 };
564 566
565 } // namespace dart 567 } // namespace dart
566 568
567 #endif // VM_SNAPSHOT_H_ 569 #endif // VM_SNAPSHOT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698