summaryrefslogtreecommitdiff
path: root/user/mozjs/dont-fail-tests-without-ion.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-07 19:07:39 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-05-07 19:07:39 +0000
commit59aa5ebb76efd757f107e61bb4cceb0a167c727e (patch)
tree2938d3db37170cccba266cf0ae899f479bbb99ad /user/mozjs/dont-fail-tests-without-ion.patch
parentbbcfbb2837243b567861c0f37961bec1cb3cb17e (diff)
downloadpackages-59aa5ebb76efd757f107e61bb4cceb0a167c727e.tar.gz
packages-59aa5ebb76efd757f107e61bb4cceb0a167c727e.tar.bz2
packages-59aa5ebb76efd757f107e61bb4cceb0a167c727e.tar.xz
packages-59aa5ebb76efd757f107e61bb4cceb0a167c727e.zip
user/mozjs: bump to 60.5.2
Diffstat (limited to 'user/mozjs/dont-fail-tests-without-ion.patch')
-rw-r--r--user/mozjs/dont-fail-tests-without-ion.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/user/mozjs/dont-fail-tests-without-ion.patch b/user/mozjs/dont-fail-tests-without-ion.patch
deleted file mode 100644
index 569947cdc..000000000
--- a/user/mozjs/dont-fail-tests-without-ion.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-
-# HG changeset patch
-# User Steve Fink <sfink@mozilla.com>
-# Date 1519362707 28800
-# Node ID 7b78c4aa2d589e088519b4f76bddf8ded33283a6
-# Parent 9b8b888e1ce64b1a607158681aecb959721d1326
-Bug 1426006 - Do not expect ion scripts when ion is unavailable. r=bbouvier, a=RyanVM
-
-diff --git a/js/src/jsapi-tests/testPreserveJitCode.cpp b/js/src/jsapi-tests/testPreserveJitCode.cpp
---- a/js/src/jsapi-tests/testPreserveJitCode.cpp
-+++ b/js/src/jsapi-tests/testPreserveJitCode.cpp
-@@ -38,24 +38,20 @@ testPreserveJitCode(bool preserveJitCode
- cx->options().setBaseline(true);
- cx->options().setIon(true);
- cx->setOffthreadIonCompilationEnabled(false);
-
- RootedObject global(cx, createTestGlobal(preserveJitCode));
- CHECK(global);
- JSAutoCompartment ac(cx, global);
-
--#ifdef JS_CODEGEN_ARM64
-- // The ARM64 Ion JIT is not yet enabled, so this test will fail with
-- // countIonScripts(global) == 0. Once Ion is enabled for ARM64, this test
-- // should be passing again, and this code can be deleted.
-- // Bug 1208526 - ARM64: Reenable jsapi-tests/testPreserveJitCode once Ion is enabled
-+ // The Ion JIT may be unavailable due to --disable-ion or lack of support
-+ // for this platform.
- if (!js::jit::IsIonEnabled(cx))
- knownFail = true;
--#endif
-
- CHECK_EQUAL(countIonScripts(global), 0u);
-
- const char* source =
- "var i = 0;\n"
- "var sum = 0;\n"
- "while (i < 10) {\n"
- " sum += i;\n"
-