Index: src/value-serializer.h |
diff --git a/src/value-serializer.h b/src/value-serializer.h |
index a985aaffb8b533c6e87517824a13f09d9e7df5e8..761e38ac6aee1571c65706361bc1e956bf7115e0 100644 |
--- a/src/value-serializer.h |
+++ b/src/value-serializer.h |
@@ -21,6 +21,7 @@ namespace internal { |
class HeapNumber; |
class Isolate; |
class JSArrayBuffer; |
+class JSArrayBufferView; |
class JSDate; |
class JSMap; |
class JSRegExp; |
@@ -94,6 +95,7 @@ class ValueSerializer { |
Maybe<bool> WriteJSMap(Handle<JSMap> map) WARN_UNUSED_RESULT; |
Maybe<bool> WriteJSSet(Handle<JSSet> map) WARN_UNUSED_RESULT; |
Maybe<bool> WriteJSArrayBuffer(JSArrayBuffer* array_buffer); |
+ Maybe<bool> WriteJSArrayBufferView(JSArrayBufferView* array_buffer); |
/* |
* Reads the specified keys from the object and writes key-value pairs to the |
@@ -174,6 +176,10 @@ class ValueDeserializer { |
Maybe<double> ReadDouble() WARN_UNUSED_RESULT; |
Maybe<Vector<const uint8_t>> ReadRawBytes(int size) WARN_UNUSED_RESULT; |
+ // Like ReadObject, but skips logic for special cases in simulating the |
+ // "stack machine". |
+ MaybeHandle<Object> ReadObjectInternal() WARN_UNUSED_RESULT; |
+ |
// Reading V8 objects of specific kinds. |
// The tag is assumed to have already been read. |
MaybeHandle<String> ReadUtf8String() WARN_UNUSED_RESULT; |
@@ -188,6 +194,8 @@ class ValueDeserializer { |
MaybeHandle<JSSet> ReadJSSet() WARN_UNUSED_RESULT; |
MaybeHandle<JSArrayBuffer> ReadJSArrayBuffer() WARN_UNUSED_RESULT; |
MaybeHandle<JSArrayBuffer> ReadTransferredJSArrayBuffer() WARN_UNUSED_RESULT; |
+ MaybeHandle<JSArrayBufferView> ReadJSArrayBufferView( |
+ Handle<JSArrayBuffer> buffer) WARN_UNUSED_RESULT; |
/* |
* Reads key-value pairs into the object until the specified end tag is |