Commit 6c64338c authored by Clemens Backes's avatar Clemens Backes Committed by V8 LUCI CQ

[API][wasm] Advance deprecation after dynamic tiering launch

Advance the deprecation of structs, classes, and methods which do not
make sense any more after dynamic tiering.

They were marked V8_DEPRECATE_SOON in 10.5.

R=mlippautz@chromium.org

Bug: v8:12899
Change-Id: I12b21f7d968a161b285b558d6e2437b0d03ef696
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3789510Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82023}
parent 602960f8
......@@ -331,7 +331,7 @@ using WasmSimdEnabledCallback = bool (*)(Local<Context> context);
using WasmExceptionsEnabledCallback = bool (*)(Local<Context> context);
// --- Callback for checking if WebAssembly dynamic tiering is enabled ---
using WasmDynamicTieringEnabledCallback V8_DEPRECATE_SOON(
using WasmDynamicTieringEnabledCallback V8_DEPRECATED(
"Dynamic tiering is now enabled by default") =
bool (*)(Local<Context> context);
......
......@@ -1534,7 +1534,7 @@ class V8_EXPORT Isolate {
void SetWasmExceptionsEnabledCallback(WasmExceptionsEnabledCallback callback);
V8_DEPRECATE_SOON("Dynamic tiering is now enabled by default")
V8_DEPRECATED("Dynamic tiering is now enabled by default")
void SetWasmDynamicTieringEnabledCallback(WasmDynamicTieringEnabledCallback) {
}
......
......@@ -125,7 +125,7 @@ struct WasmModuleInstantiated {
int64_t wall_clock_duration_in_us = -1;
};
struct V8_DEPRECATE_SOON(
struct V8_DEPRECATED(
"With dynamic tiering, there is no point any more where the module is "
"fully tiered up") WasmModuleTieredUp {
bool lazy = false;
......@@ -191,7 +191,7 @@ class V8_EXPORT Recorder {
ADD_MAIN_THREAD_EVENT(WasmModuleCompiled)
ADD_MAIN_THREAD_EVENT(WasmModuleInstantiated)
V8_DEPRECATE_SOON(
V8_DEPRECATED(
"With dynamic tiering, there is no point any more where the module is "
"fully tiered up")
ADD_MAIN_THREAD_EVENT(WasmModuleTieredUp)
......
......@@ -134,8 +134,7 @@ class V8_EXPORT WasmStreaming final {
/**
* Client to receive streaming event notifications.
*/
class V8_DEPRECATE_SOON(
"Use SetMoreFunctionsCanBeSerializedCallback") Client {
class V8_DEPRECATED("Use SetMoreFunctionsCanBeSerializedCallback") Client {
public:
virtual ~Client() = default;
......@@ -189,7 +188,7 @@ class V8_EXPORT WasmStreaming final {
* Sets the client object that will receive streaming event notifications.
* This must be called before {OnBytesReceived}, {Finish}, or {Abort}.
*/
V8_DEPRECATE_SOON("Use SetMoreFunctionsCanBeSerializedCallback")
V8_DEPRECATED("Use SetMoreFunctionsCanBeSerializedCallback")
void SetClient(std::shared_ptr<Client> client);
/**
......
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