Index: src/value-serializer.h |
diff --git a/src/value-serializer.h b/src/value-serializer.h |
index 85341537885f8d50547337fb0213aa0d121764ec..ab9c66489963569e8d53f5fcca31b013bdf59561 100644 |
--- a/src/value-serializer.h |
+++ b/src/value-serializer.h |
@@ -21,6 +21,7 @@ namespace internal { |
class HeapNumber; |
class Isolate; |
class JSDate; |
+class JSRegExp; |
class JSValue; |
class Object; |
class Oddball; |
@@ -77,6 +78,7 @@ class ValueSerializer { |
Maybe<bool> WriteJSArray(Handle<JSArray> array) WARN_UNUSED_RESULT; |
void WriteJSDate(JSDate* date); |
Maybe<bool> WriteJSValue(Handle<JSValue> value) WARN_UNUSED_RESULT; |
+ void WriteJSRegExp(JSRegExp* regexp); |
/* |
* Reads the specified keys from the object and writes key-value pairs to the |
@@ -149,6 +151,7 @@ class ValueDeserializer { |
MaybeHandle<JSArray> ReadDenseJSArray() WARN_UNUSED_RESULT; |
MaybeHandle<JSDate> ReadJSDate() WARN_UNUSED_RESULT; |
MaybeHandle<JSValue> ReadJSValue(SerializationTag tag) WARN_UNUSED_RESULT; |
+ MaybeHandle<JSRegExp> ReadJSRegExp() WARN_UNUSED_RESULT; |
/* |
* Reads key-value pairs into the object until the specified end tag is |