Index: src/value-serializer.h |
diff --git a/src/value-serializer.h b/src/value-serializer.h |
index ab9c66489963569e8d53f5fcca31b013bdf59561..aa6874b9671ddc4b2114df37d1b3f23cecd8e661 100644 |
--- a/src/value-serializer.h |
+++ b/src/value-serializer.h |
@@ -21,7 +21,9 @@ namespace internal { |
class HeapNumber; |
class Isolate; |
class JSDate; |
+class JSMap; |
class JSRegExp; |
+class JSSet; |
class JSValue; |
class Object; |
class Oddball; |
@@ -79,6 +81,8 @@ class ValueSerializer { |
void WriteJSDate(JSDate* date); |
Maybe<bool> WriteJSValue(Handle<JSValue> value) WARN_UNUSED_RESULT; |
void WriteJSRegExp(JSRegExp* regexp); |
+ Maybe<bool> WriteJSMap(Handle<JSMap> map) WARN_UNUSED_RESULT; |
+ Maybe<bool> WriteJSSet(Handle<JSSet> map) WARN_UNUSED_RESULT; |
/* |
* Reads the specified keys from the object and writes key-value pairs to the |
@@ -152,6 +156,8 @@ class ValueDeserializer { |
MaybeHandle<JSDate> ReadJSDate() WARN_UNUSED_RESULT; |
MaybeHandle<JSValue> ReadJSValue(SerializationTag tag) WARN_UNUSED_RESULT; |
MaybeHandle<JSRegExp> ReadJSRegExp() WARN_UNUSED_RESULT; |
+ MaybeHandle<JSMap> ReadJSMap() WARN_UNUSED_RESULT; |
+ MaybeHandle<JSSet> ReadJSSet() WARN_UNUSED_RESULT; |
/* |
* Reads key-value pairs into the object until the specified end tag is |