summarylogtreecommitdiffstats
path: root/builtin_js.patch
diff options
context:
space:
mode:
authorVladislav Nepogodin2021-04-12 20:37:58 +0400
committerVladislav Nepogodin2021-04-12 20:37:58 +0400
commit6a4a221ab71f90aafde85e6df76c5f62aa5ced98 (patch)
tree89f73b8c3b5f05561ad27bb7b6c0b272b618efa4 /builtin_js.patch
parent21cc0a9e08c01c86c94886f9b3b398c8cd259647 (diff)
downloadaur-6a4a221ab71f90aafde85e6df76c5f62aa5ced98.tar.gz
Fix build-time error
Diffstat (limited to 'builtin_js.patch')
-rw-r--r--builtin_js.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/builtin_js.patch b/builtin_js.patch
new file mode 100644
index 000000000000..a984fefa7fc5
--- /dev/null
+++ b/builtin_js.patch
@@ -0,0 +1,21 @@
+diff --git a/js/src/builtin/TestingFunctions.cpp b/js/src/builtin/TestingFunctions.cpp
+index 9189ceb214..eee87893e4 100644
+--- a/js/src/builtin/TestingFunctions.cpp
++++ b/js/src/builtin/TestingFunctions.cpp
+@@ -7382,16 +7382,6 @@ JS_FOR_WASM_FEATURES(WASM_FEATURE, WASM_FEATURE)
+ "helperThreadCount()",
+ " Returns the number of helper threads available for off-thread tasks."),
+
+- JS_FN_HELP("createShapeSnapshot", CreateShapeSnapshot, 1, 0,
+-"createShapeSnapshot(obj)",
+-" Returns an object containing a shape snapshot for use with\n"
+-" checkShapeSnapshot.\n"),
+-
+- JS_FN_HELP("checkShapeSnapshot", CheckShapeSnapshot, 2, 0,
+-"checkShapeSnapshot(snapshot, [obj])",
+-" Check shape invariants based on the given snapshot and optional object.\n"
+-" If there's no object argument, the snapshot's object is used.\n"),
+-
+ JS_FN_HELP("enableShapeConsistencyChecks", EnableShapeConsistencyChecks, 0, 0,
+ "enableShapeConsistencyChecks()",
+ " Enable some slow Shape assertions.\n"),