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

Unified Diff: runtime/vm/snapshot.h

Issue 468423002: Add support for TypedData in full snapshot. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.h
===================================================================
--- runtime/vm/snapshot.h (revision 39220)
+++ runtime/vm/snapshot.h (working copy)
@@ -33,41 +33,42 @@
class RawArray;
class RawBigint;
class RawBoundedType;
-class RawMixinAppType;
+class RawCapability;
class RawClass;
+class RawClosureData;
class RawContext;
class RawDouble;
class RawField;
-class RawClosureData;
-class RawRedirectionData;
+class RawFloat32x4;
+class RawFloat64x2;
class RawFunction;
class RawGrowableObjectArray;
-class RawLinkedHashMap;
-class RawFloat32x4;
-class RawFloat64x2;
+class RawImmutableArray;
class RawInt32x4;
-class RawImmutableArray;
class RawLanguageError;
class RawLibrary;
class RawLibraryPrefix;
-class RawNamespace;
+class RawLinkedHashMap;
class RawLiteralToken;
class RawMint;
+class RawMixinAppType;
+class RawNamespace;
class RawObject;
class RawOneByteString;
class RawPatchClass;
+class RawReceivePort;
+class RawRedirectionData;
class RawScript;
+class RawSendPort;
class RawSmi;
-class RawCapability;
-class RawReceivePort;
-class RawSendPort;
class RawStacktrace;
class RawTokenStream;
+class RawTwoByteString;
class RawType;
+class RawTypeArguments;
+class RawTypedData;
+class RawTypeParameter;
class RawTypeRef;
-class RawTypeParameter;
-class RawTypeArguments;
-class RawTwoByteString;
class RawUnhandledException;
class RawUnresolvedClass;
class String;
@@ -285,6 +286,7 @@
RawInstance* NewInstance();
RawMint* NewMint(int64_t value);
RawBigint* NewBigint(const char* hex_string);
+ RawTypedData* NewTypedData(intptr_t class_id, intptr_t len);
RawDouble* NewDouble(double value);
RawUnresolvedClass* NewUnresolvedClass();
RawType* NewType();
@@ -333,7 +335,7 @@
};
// Allocate uninitialized objects, this is used when reading a full snapshot.
- RawObject* AllocateUninitialized(const Class& cls, intptr_t size);
+ RawObject* AllocateUninitialized(intptr_t class_id, intptr_t size);
RawClass* ReadClassId(intptr_t object_id);
RawObject* ReadObjectImpl();
« 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