Commit b5c757d6 authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[wasm] Deprecate old serialization API

Uses of the old API were removed from chromium in
https://crrev.com/c/1373749.

R=adamk@chromium.org

Bug: chromium:912031
Change-Id: I3fed4d72c147ef8e00ec96f869af2134e7ee71c8
Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Reviewed-on: https://chromium-review.googlesource.com/c/1373769Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#58205}
parent 228b362a
......@@ -4335,14 +4335,14 @@ class V8_EXPORT CompiledWasmModule {
class V8_EXPORT WasmModuleObject : public Object {
public:
// TODO(clemensh): Remove after 7.3 branch.
V8_DEPRECATE_SOON("Use OwnedBuffer", typedef)
V8_DEPRECATED("Use OwnedBuffer", typedef)
std::pair<std::unique_ptr<const uint8_t[]>, size_t> SerializedModule;
/**
* A unowned reference to a byte buffer.
* TODO(clemensh): Remove after 7.3 branch.
*/
V8_DEPRECATE_SOON("Use MemorySpan<const uint8_t>", struct) BufferReference {
V8_DEPRECATED("Use MemorySpan<const uint8_t>", struct) BufferReference {
const uint8_t* start;
size_t size;
BufferReference(const uint8_t* start, size_t size)
......@@ -4400,8 +4400,8 @@ class V8_EXPORT WasmModuleObject : public Object {
/**
* Get the wasm-encoded bytes that were used to compile this module.
*/
V8_DEPRECATE_SOON("Use CompiledWasmModule::GetWireBytesRef()",
BufferReference GetWasmWireBytesRef());
V8_DEPRECATED("Use CompiledWasmModule::GetWireBytesRef()",
BufferReference GetWasmWireBytesRef());
/**
* Get the compiled module for this module object. The compiled module can be
......@@ -4413,8 +4413,8 @@ class V8_EXPORT WasmModuleObject : public Object {
* Serialize the compiled module. The serialized data does not include the
* uncompiled bytes.
*/
V8_DEPRECATE_SOON("Use CompiledWasmModule::Serialize()",
SerializedModule Serialize());
V8_DEPRECATED("Use CompiledWasmModule::Serialize()",
SerializedModule Serialize());
/**
* If possible, deserialize the module, otherwise compile it from the provided
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment