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

Unified Diff: runtime/vm/snapshot.h

Issue 10871005: Make ClassFinalizer indifferent on whether we are generating a snapshot or not. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 11197)
+++ runtime/vm/snapshot.h (working copy)
@@ -28,6 +28,7 @@
class Object;
class ObjectStore;
class RawAbstractTypeArguments;
+class RawApiError;
class RawArray;
class RawBigint;
class RawClass;
@@ -38,6 +39,7 @@
class RawFunction;
class RawGrowableObjectArray;
class RawImmutableArray;
+class RawLanguageError;
class RawLibrary;
class RawLibraryPrefix;
class RawLiteralToken;
@@ -232,6 +234,8 @@
RawScript* NewScript();
RawLiteralToken* NewLiteralToken();
RawGrowableObjectArray* NewGrowableObjectArray();
+ RawApiError* NewApiError();
+ RawLanguageError* NewLanguageError();
private:
class BackRefNode : public ZoneAllocated {
@@ -283,6 +287,7 @@
Array& tokens_; // Temporary tokens handle.
GrowableArray<BackRefNode*> backward_references_;
+ friend class ApiError;
friend class Array;
friend class Class;
friend class Context;
@@ -293,6 +298,7 @@
friend class ImmutableArray;
friend class InstantiatedTypeArguments;
friend class JSRegExp;
+ friend class LanguageError;
friend class Library;
friend class LibraryPrefix;
friend class LiteralToken;
« 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