summarylogtreecommitdiffstats
path: root/builtin_js.patch
diff options
context:
space:
mode:
authordr460nf1r32021-04-14 17:09:51 +0200
committerdr460nf1r32021-04-14 17:09:51 +0200
commit48b431df80f95afc3fdf72ca4c07178b9244df00 (patch)
treefe86272aa820e30fe2f8af1afa2bcce79927973a /builtin_js.patch
downloadaur-48b431df80f95afc3fdf72ca4c07178b9244df00.tar.gz
Initial upload
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"),