Index: src/value-serializer.h |
diff --git a/src/value-serializer.h b/src/value-serializer.h |
index ef424698d0e59d10323d4f5a136ffcabb5710881..7961b2ea0b6a78375b8975945fa740cc3de8b06d 100644 |
--- a/src/value-serializer.h |
+++ b/src/value-serializer.h |
@@ -31,7 +31,6 @@ |
class Object; |
class Oddball; |
class Smi; |
-class WasmModuleObject; |
enum class SerializationTag : uint8_t; |
@@ -219,9 +218,6 @@ |
bool ReadUint64(uint64_t* value) WARN_UNUSED_RESULT; |
bool ReadDouble(double* value) WARN_UNUSED_RESULT; |
bool ReadRawBytes(size_t length, const void** data) WARN_UNUSED_RESULT; |
- void set_expect_inline_wasm(bool expect_inline_wasm) { |
- expect_inline_wasm_ = expect_inline_wasm; |
- } |
private: |
// Reading the wire format. |
@@ -234,7 +230,6 @@ |
Maybe<T> ReadZigZag() WARN_UNUSED_RESULT; |
Maybe<double> ReadDouble() WARN_UNUSED_RESULT; |
Maybe<Vector<const uint8_t>> ReadRawBytes(int size) WARN_UNUSED_RESULT; |
- bool expect_inline_wasm() const { return expect_inline_wasm_; } |
// Reads a string if it matches the one provided. |
// Returns true if this was the case. Otherwise, nothing is consumed. |
@@ -268,7 +263,6 @@ |
MaybeHandle<JSArrayBufferView> ReadJSArrayBufferView( |
Handle<JSArrayBuffer> buffer) WARN_UNUSED_RESULT; |
MaybeHandle<JSObject> ReadWasmModule() WARN_UNUSED_RESULT; |
- MaybeHandle<JSObject> ReadWasmModuleTransfer() WARN_UNUSED_RESULT; |
MaybeHandle<JSObject> ReadHostObject() WARN_UNUSED_RESULT; |
/* |
@@ -291,7 +285,6 @@ |
PretenureFlag pretenure_; |
uint32_t version_ = 0; |
uint32_t next_id_ = 0; |
- bool expect_inline_wasm_ = false; |
// Always global handles. |
Handle<FixedArray> id_map_; |