From 255b60802fb702c065999429fd3915751a3f056c Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Fri, 29 Apr 2016 14:16:40 -0400 Subject: www-client/firefox-{45.1.0,46.0}: patch to fix branch64 calls missing from none-jit Bug: http://bugs.gentoo.org/581474 Package-Manager: portage-2.2.26 --- www-client/firefox/files/jit-none-branch64.patch | 29 ++++++++++++++++++++++++ www-client/firefox/firefox-45.1.0.ebuild | 3 ++- www-client/firefox/firefox-46.0.ebuild | 3 ++- 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 www-client/firefox/files/jit-none-branch64.patch (limited to 'www-client') diff --git a/www-client/firefox/files/jit-none-branch64.patch b/www-client/firefox/files/jit-none-branch64.patch new file mode 100644 index 00000000000..590f745d14d --- /dev/null +++ b/www-client/firefox/files/jit-none-branch64.patch @@ -0,0 +1,29 @@ +# HG changeset patch +# User Nicolas B. Pierron + +Bug 1266366 - Add branch64 functions to the none-backend MacroAssembler. r= + +diff --git a/js/src/jit/none/MacroAssembler-none.h b/js/src/jit/none/MacroAssembler-none.h +index 512ae81..4441d8d 100644 +--- a/js/src/jit/none/MacroAssembler-none.h ++++ b/js/src/jit/none/MacroAssembler-none.h +@@ -254,16 +254,18 @@ class MacroAssemblerNone : public Assembler + template void branchSub32(Condition, T, S, Label*) { MOZ_CRASH(); } + template void branchPtr(Condition, T, S, Label*) { MOZ_CRASH(); } + template void branchTestPtr(Condition, T, S, Label*) { MOZ_CRASH(); } + template void branchDouble(DoubleCondition, T, S, Label*) { MOZ_CRASH(); } + template void branchFloat(DoubleCondition, T, S, Label*) { MOZ_CRASH(); } + template void branchPrivatePtr(Condition, T, S, Label*) { MOZ_CRASH(); } + template void decBranchPtr(Condition, T, S, Label*) { MOZ_CRASH(); } + template void branchTest64(Condition, T, T, S, Label*) { MOZ_CRASH(); } ++ template void branch64(Condition, T, S, Label*) { MOZ_CRASH(); } ++ template void branch64(Condition, T, T, S, Label*) { MOZ_CRASH(); } + template void mov(T, S) { MOZ_CRASH(); } + template void movq(T, S) { MOZ_CRASH(); } + template void movePtr(T, S) { MOZ_CRASH(); } + template void move32(T, S) { MOZ_CRASH(); } + template void moveFloat32(T, S) { MOZ_CRASH(); } + template void moveDouble(T, S) { MOZ_CRASH(); } + template void move64(T, S) { MOZ_CRASH(); } + template CodeOffset movWithPatch(T, Register) { MOZ_CRASH(); } + diff --git a/www-client/firefox/firefox-45.1.0.ebuild b/www-client/firefox/firefox-45.1.0.ebuild index 67e1b8b4770..832e18beb90 100644 --- a/www-client/firefox/firefox-45.1.0.ebuild +++ b/www-client/firefox/firefox-45.1.0.ebuild @@ -132,7 +132,8 @@ src_prepare() { # Apply our patches eapply "${WORKDIR}/firefox" \ "${FILESDIR}"/arm64-4-link-chromium-mutex-based-atomics.patch \ - "${FILESDIR}"/arm64-5-mozjemalloc-no-static-page-sizes.patch + "${FILESDIR}"/arm64-5-mozjemalloc-no-static-page-sizes.patch \ + "${FILESDIR}"/jit-none-branch64.patch # Allow user to apply any additional patches without modifing ebuild eapply_user diff --git a/www-client/firefox/firefox-46.0.ebuild b/www-client/firefox/firefox-46.0.ebuild index 3dd0989d0dd..80407c0de11 100644 --- a/www-client/firefox/firefox-46.0.ebuild +++ b/www-client/firefox/firefox-46.0.ebuild @@ -116,7 +116,8 @@ src_unpack() { src_prepare() { # Apply our patches - eapply "${WORKDIR}/firefox" + eapply "${WORKDIR}/firefox" \ + "${FILESDIR}"/jit-none-branch64.patch # Enable gnomebreakpad if use debug ; then -- cgit v1.2.3-18-g5258