| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index e559733f5444717aa3e3217a7c42b84100a333ff..bf6ad3d4d7a3ee08a516a967f1687031530975e9 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1002,7 +1002,6 @@ template <class C> inline bool Is(Object* obj);
|
| V(JSWeakMap) \
|
| V(JSWeakSet) \
|
| V(JSRegExp) \
|
| - V(WebAssemblyCompiledModule) \
|
| V(HashTable) \
|
| V(Dictionary) \
|
| V(UnseededNumberDictionary) \
|
| @@ -8160,26 +8159,6 @@ class JSMessageObject: public JSObject {
|
| kSize> BodyDescriptor;
|
| };
|
|
|
| -// A compiled web assembly module.
|
| -class WebAssemblyCompiledModule : public JSObject {
|
| - public:
|
| - // Serialize the compiled module. The returned buffer is owned by
|
| - // the caller, who may simply leave the return value drop out of
|
| - // scope, once done processing the bytes.
|
| - // TODO(mtrofin): to avoid increased memory pressure, we should
|
| - // explore a caller-provided segmented memory design.
|
| - std::pair<std::unique_ptr<const byte>, size_t> Serialize();
|
| -
|
| - // Deserialize a compiled module. The buffer is owned by the caller and may
|
| - // be released after deserialization returns.
|
| - static MaybeHandle<WebAssemblyCompiledModule> Deserialize(Isolate* isolate,
|
| - const byte* data,
|
| - size_t size);
|
| -
|
| - private:
|
| - DISALLOW_IMPLICIT_CONSTRUCTORS(WebAssemblyCompiledModule);
|
| -};
|
| -
|
| // Regular expressions
|
| // The regular expression holds a single reference to a FixedArray in
|
| // the kDataOffset field.
|
|
|