summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.gypi2
-rw-r--r--deps/v8/include/v8.h24
-rw-r--r--deps/v8/src/api.cc8
3 files changed, 1 insertions, 33 deletions
diff --git a/common.gypi b/common.gypi
index 4c43db48f3..50f69563be 100644
--- a/common.gypi
+++ b/common.gypi
@@ -33,7 +33,7 @@
# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
- 'v8_embedder_string': '-node.4',
+ 'v8_embedder_string': '-node.5',
# Enable disassembler for `--print-code` v8 options
'v8_enable_disassembler': 1,
diff --git a/deps/v8/include/v8.h b/deps/v8/include/v8.h
index 4a104e57d8..6c3cc84fba 100644
--- a/deps/v8/include/v8.h
+++ b/deps/v8/include/v8.h
@@ -4362,13 +4362,6 @@ class V8_EXPORT WasmCompiledModule : public Object {
public:
typedef std::pair<std::unique_ptr<const uint8_t[]>, size_t> SerializedModule;
-// The COMMA macro allows us to use ',' inside of the V8_DEPRECATED macro.
-#define COMMA ,
- V8_DEPRECATED(
- "Use BufferReference.",
- typedef std::pair<const uint8_t * COMMA size_t> CallerOwnedBuffer);
-#undef COMMA
-
/**
* A unowned reference to a byte buffer.
*/
@@ -4377,12 +4370,6 @@ class V8_EXPORT WasmCompiledModule : public Object {
size_t size;
BufferReference(const uint8_t* start, size_t size)
: start(start), size(size) {}
- // Temporarily allow conversion to and from CallerOwnedBuffer.
- V8_DEPRECATED(
- "Use BufferReference directly.",
- inline BufferReference(CallerOwnedBuffer)); // NOLINT(runtime/explicit)
- V8_DEPRECATED("Use BufferReference directly.",
- inline operator CallerOwnedBuffer());
};
/**
@@ -4429,8 +4416,6 @@ class V8_EXPORT WasmCompiledModule : public Object {
* Get the wasm-encoded bytes that were used to compile this module.
*/
BufferReference GetWasmWireBytesRef();
- V8_DEPRECATED("Use GetWasmWireBytesRef version.",
- Local<String> GetWasmWireBytes());
/**
* Serialize the compiled module. The serialized data does not include the
@@ -4463,15 +4448,6 @@ class V8_EXPORT WasmCompiledModule : public Object {
static void CheckCast(Value* obj);
};
-// TODO(clemensh): Remove after M70 branch.
-WasmCompiledModule::BufferReference::BufferReference(
- WasmCompiledModule::CallerOwnedBuffer buf)
- : BufferReference(buf.first, buf.second) {}
-WasmCompiledModule::BufferReference::
-operator WasmCompiledModule::CallerOwnedBuffer() {
- return {start, size};
-}
-
/**
* The V8 interface for WebAssembly streaming compilation. When streaming
* compilation is initiated, V8 passes a {WasmStreaming} object to the embedder
diff --git a/deps/v8/src/api.cc b/deps/v8/src/api.cc
index 5f1737b2a4..fbd947b923 100644
--- a/deps/v8/src/api.cc
+++ b/deps/v8/src/api.cc
@@ -7382,14 +7382,6 @@ WasmCompiledModule::BufferReference WasmCompiledModule::GetWasmWireBytesRef() {
return {bytes_vec.start(), bytes_vec.size()};
}
-Local<String> WasmCompiledModule::GetWasmWireBytes() {
- BufferReference ref = GetWasmWireBytesRef();
- CHECK_LE(ref.size, String::kMaxLength);
- return String::NewFromOneByte(GetIsolate(), ref.start, NewStringType::kNormal,
- static_cast<int>(ref.size))
- .ToLocalChecked();
-}
-
WasmCompiledModule::TransferrableModule
WasmCompiledModule::GetTransferrableModule() {
if (i::FLAG_wasm_shared_code) {