@@ -4362,13 +4362,6 @@ class V8_EXPORT WasmCompiledModule : public Object {
4362
4362
public:
4363
4363
typedef std::pair<std::unique_ptr<const uint8_t []>, size_t > SerializedModule;
4364
4364
4365
- // The COMMA macro allows us to use ',' inside of the V8_DEPRECATED macro.
4366
- #define COMMA ,
4367
- V8_DEPRECATED (
4368
- " Use BufferReference." ,
4369
- typedef std::pair<const uint8_t * COMMA size_t > CallerOwnedBuffer);
4370
- #undef COMMA
4371
-
4372
4365
/* *
4373
4366
* A unowned reference to a byte buffer.
4374
4367
*/
@@ -4377,12 +4370,6 @@ class V8_EXPORT WasmCompiledModule : public Object {
4377
4370
size_t size;
4378
4371
BufferReference (const uint8_t * start, size_t size)
4379
4372
: start(start), size(size) {}
4380
- // Temporarily allow conversion to and from CallerOwnedBuffer.
4381
- V8_DEPRECATED (
4382
- " Use BufferReference directly." ,
4383
- inline BufferReference (CallerOwnedBuffer)); // NOLINT(runtime/explicit)
4384
- V8_DEPRECATED (" Use BufferReference directly." ,
4385
- inline operator CallerOwnedBuffer ());
4386
4373
};
4387
4374
4388
4375
/* *
@@ -4429,8 +4416,6 @@ class V8_EXPORT WasmCompiledModule : public Object {
4429
4416
* Get the wasm-encoded bytes that were used to compile this module.
4430
4417
*/
4431
4418
BufferReference GetWasmWireBytesRef ();
4432
- V8_DEPRECATED (" Use GetWasmWireBytesRef version." ,
4433
- Local<String> GetWasmWireBytes ());
4434
4419
4435
4420
/* *
4436
4421
* Serialize the compiled module. The serialized data does not include the
@@ -4463,15 +4448,6 @@ class V8_EXPORT WasmCompiledModule : public Object {
4463
4448
static void CheckCast (Value* obj);
4464
4449
};
4465
4450
4466
- // TODO(clemensh): Remove after M70 branch.
4467
- WasmCompiledModule::BufferReference::BufferReference (
4468
- WasmCompiledModule::CallerOwnedBuffer buf)
4469
- : BufferReference(buf.first, buf.second) {}
4470
- WasmCompiledModule::BufferReference::
4471
- operator WasmCompiledModule::CallerOwnedBuffer () {
4472
- return {start, size};
4473
- }
4474
-
4475
4451
/* *
4476
4452
* The V8 interface for WebAssembly streaming compilation. When streaming
4477
4453
* compilation is initiated, V8 passes a {WasmStreaming} object to the embedder
0 commit comments