Commit 618bb202 authored by Jakob Gruber's avatar Jakob Gruber Committed by Commit Bot

Remove JS natives support, step 2

The natives blob is deprecated and will be removed in the next
release.

Step 1 landed in https://crrev.com/c/1824944.
Step 2 (this CL) is to mark API functions as V8_DEPRECATED.
Step 3, in the next V8 release, is to remove these functions and all
other natives support in V8.

Bug: v8:7624
Change-Id: I177fa6197e06a3ca21787b4e2d74dd1689038b6b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1835536
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64101}
parent 531a8542
......@@ -9004,9 +9004,8 @@ class V8_EXPORT V8 {
* handled entirely on the embedders' side.
* - The call will abort if the data is invalid.
*/
V8_DEPRECATE_SOON(
"The natives blob is deprecated (https://crbug.com/v8/7624).",
static void SetNativesDataBlob(StartupData* startup_blob));
V8_DEPRECATED("The natives blob is deprecated (https://crbug.com/v8/7624).",
static void SetNativesDataBlob(StartupData* startup_blob));
static void SetSnapshotDataBlob(StartupData* startup_blob);
/** Set the callback to invoke in case of Dcheck failures. */
......@@ -9102,10 +9101,9 @@ class V8_EXPORT V8 {
* not perform any file IO.
*/
static void InitializeExternalStartupData(const char* directory_path);
V8_DEPRECATE_SOON(
"The natives blob is deprecated (https://crbug.com/v8/7624).",
static void InitializeExternalStartupData(const char* natives_blob,
const char* snapshot_blob));
V8_DEPRECATED("The natives blob is deprecated (https://crbug.com/v8/7624).",
static void InitializeExternalStartupData(
const char* natives_blob, const char* snapshot_blob));
static void InitializeExternalStartupDataFromFile(const char* snapshot_blob);
/**
......
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