1 |
commit: 46a7beff9c65976bccd3ef07a8ad98c9c4ddf213 |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 30 16:13:39 2015 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 30 16:13:39 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=46a7beff |
7 |
|
8 |
added patch to fix USE=-jit builds |
9 |
|
10 |
www-client/firefox/files/jit-none.patch | 135 +++++++++++++++++++++++++++ |
11 |
www-client/firefox/firefox-43.0_beta7.ebuild | 1 + |
12 |
2 files changed, 136 insertions(+) |
13 |
|
14 |
diff --git a/www-client/firefox/files/jit-none.patch b/www-client/firefox/files/jit-none.patch |
15 |
new file mode 100644 |
16 |
index 0000000..7da33d7 |
17 |
--- /dev/null |
18 |
+++ b/www-client/firefox/files/jit-none.patch |
19 |
@@ -0,0 +1,135 @@ |
20 |
+ |
21 |
+# HG changeset patch |
22 |
+# User Steve Singer <steve@×××××××.info> |
23 |
+# Date 1443349020 -7200 |
24 |
+# Node ID aa7e651a038a95c1f2eba8d869d66fb568c8b88c |
25 |
+# Parent c634c30551b04b8d214e7ae54c79af8d87b24445 |
26 |
+Bug 1208867 - Add xxx64 operations to MacroAssembler-none. r=sstangl |
27 |
+ |
28 |
+diff --git a/js/src/jit/none/Lowering-none.h b/js/src/jit/none/Lowering-none.h |
29 |
+--- a/js/src/jit/none/Lowering-none.h |
30 |
++++ b/js/src/jit/none/Lowering-none.h |
31 |
+@@ -82,16 +82,17 @@ class LIRGeneratorNone : public LIRGener |
32 |
+ |
33 |
+ LTableSwitch* newLTableSwitch(LAllocation, LDefinition, MTableSwitch*) { MOZ_CRASH(); } |
34 |
+ LTableSwitchV* newLTableSwitchV(MTableSwitch*) { MOZ_CRASH(); } |
35 |
+ void visitSimdSelect(MSimdSelect* ins) { MOZ_CRASH(); } |
36 |
+ void visitSimdSplatX4(MSimdSplatX4* ins) { MOZ_CRASH(); } |
37 |
+ void visitSimdValueX4(MSimdValueX4* lir) { MOZ_CRASH(); } |
38 |
+ void visitSubstr(MSubstr*) { MOZ_CRASH(); } |
39 |
+ void visitSimdBinaryArith(js::jit::MSimdBinaryArith*) { MOZ_CRASH(); } |
40 |
++ void visitRandom(js::jit::MRandom*) { MOZ_CRASH(); } |
41 |
+ |
42 |
+ }; |
43 |
+ |
44 |
+ typedef LIRGeneratorNone LIRGeneratorSpecific; |
45 |
+ |
46 |
+ } // namespace jit |
47 |
+ } // namespace js |
48 |
+ |
49 |
+diff --git a/js/src/jit/none/MacroAssembler-none.h b/js/src/jit/none/MacroAssembler-none.h |
50 |
+--- a/js/src/jit/none/MacroAssembler-none.h |
51 |
++++ b/js/src/jit/none/MacroAssembler-none.h |
52 |
+@@ -233,20 +233,22 @@ class MacroAssemblerNone : public Assemb |
53 |
+ void testObjectSet(Condition, ValueOperand, Register) { MOZ_CRASH(); } |
54 |
+ void testUndefinedSet(Condition, ValueOperand, Register) { MOZ_CRASH(); } |
55 |
+ |
56 |
+ template <typename T, typename S> void cmpPtrSet(Condition, T, S, Register) { MOZ_CRASH(); } |
57 |
+ template <typename T, typename S> void cmp32Set(Condition, T, S, Register) { MOZ_CRASH(); } |
58 |
+ |
59 |
+ template <typename T, typename S> void add32(T, S) { MOZ_CRASH(); } |
60 |
+ template <typename T, typename S> void addPtr(T, S) { MOZ_CRASH(); } |
61 |
++ template <typename T, typename S> void add64(T, S) { MOZ_CRASH(); } |
62 |
+ template <typename T, typename S> void sub32(T, S) { MOZ_CRASH(); } |
63 |
+ template <typename T, typename S> void subPtr(T, S) { MOZ_CRASH(); } |
64 |
+ void neg32(Register) { MOZ_CRASH(); } |
65 |
+ void mulBy3(Register, Register) { MOZ_CRASH(); } |
66 |
++ void mul64(Imm64, const Register64&) { MOZ_CRASH(); } |
67 |
+ |
68 |
+ void negateDouble(FloatRegister) { MOZ_CRASH(); } |
69 |
+ void addDouble(FloatRegister, FloatRegister) { MOZ_CRASH(); } |
70 |
+ void subDouble(FloatRegister, FloatRegister) { MOZ_CRASH(); } |
71 |
+ void mulDouble(FloatRegister, FloatRegister) { MOZ_CRASH(); } |
72 |
+ void divDouble(FloatRegister, FloatRegister) { MOZ_CRASH(); } |
73 |
+ |
74 |
+ template <typename T, typename S> void branch32(Condition, T, S, Label*) { MOZ_CRASH(); } |
75 |
+@@ -254,22 +256,24 @@ class MacroAssemblerNone : public Assemb |
76 |
+ template <typename T, typename S> void branchAdd32(Condition, T, S, Label*) { MOZ_CRASH(); } |
77 |
+ template <typename T, typename S> void branchSub32(Condition, T, S, Label*) { MOZ_CRASH(); } |
78 |
+ template <typename T, typename S> void branchPtr(Condition, T, S, Label*) { MOZ_CRASH(); } |
79 |
+ template <typename T, typename S> void branchTestPtr(Condition, T, S, Label*) { MOZ_CRASH(); } |
80 |
+ template <typename T, typename S> void branchDouble(DoubleCondition, T, S, Label*) { MOZ_CRASH(); } |
81 |
+ template <typename T, typename S> void branchFloat(DoubleCondition, T, S, Label*) { MOZ_CRASH(); } |
82 |
+ template <typename T, typename S> void branchPrivatePtr(Condition, T, S, Label*) { MOZ_CRASH(); } |
83 |
+ template <typename T, typename S> void decBranchPtr(Condition, T, S, Label*) { MOZ_CRASH(); } |
84 |
++ template <typename T, typename S> void branchTest64(Condition, T, T, S, Label*) { MOZ_CRASH(); } |
85 |
+ template <typename T, typename S> void mov(T, S) { MOZ_CRASH(); } |
86 |
+ template <typename T, typename S> void movq(T, S) { MOZ_CRASH(); } |
87 |
+ template <typename T, typename S> void movePtr(T, S) { MOZ_CRASH(); } |
88 |
+ template <typename T, typename S> void move32(T, S) { MOZ_CRASH(); } |
89 |
+ template <typename T, typename S> void moveFloat32(T, S) { MOZ_CRASH(); } |
90 |
+ template <typename T, typename S> void moveDouble(T, S) { MOZ_CRASH(); } |
91 |
++ template <typename T, typename S> void move64(T, S) { MOZ_CRASH(); } |
92 |
+ template <typename T> CodeOffsetLabel movWithPatch(T, Register) { MOZ_CRASH(); } |
93 |
+ |
94 |
+ template <typename T> void loadInt32x1(T, FloatRegister dest) { MOZ_CRASH(); } |
95 |
+ template <typename T> void loadInt32x2(T, FloatRegister dest) { MOZ_CRASH(); } |
96 |
+ template <typename T> void loadInt32x3(T, FloatRegister dest) { MOZ_CRASH(); } |
97 |
+ template <typename T> void loadFloat32x3(T, FloatRegister dest) { MOZ_CRASH(); } |
98 |
+ |
99 |
+ template <typename T> void loadPtr(T, Register) { MOZ_CRASH(); } |
100 |
+@@ -280,32 +284,34 @@ class MacroAssemblerNone : public Assemb |
101 |
+ template <typename T> void loadUnalignedInt32x4(T, FloatRegister) { MOZ_CRASH(); } |
102 |
+ template <typename T> void loadAlignedFloat32x4(T, FloatRegister) { MOZ_CRASH(); } |
103 |
+ template <typename T> void loadUnalignedFloat32x4(T, FloatRegister) { MOZ_CRASH(); } |
104 |
+ template <typename T> void loadPrivate(T, Register) { MOZ_CRASH(); } |
105 |
+ template <typename T> void load8SignExtend(T, Register) { MOZ_CRASH(); } |
106 |
+ template <typename T> void load8ZeroExtend(T, Register) { MOZ_CRASH(); } |
107 |
+ template <typename T> void load16SignExtend(T, Register) { MOZ_CRASH(); } |
108 |
+ template <typename T> void load16ZeroExtend(T, Register) { MOZ_CRASH(); } |
109 |
++ template <typename T> void load64(T, Register64 ) { MOZ_CRASH(); } |
110 |
+ |
111 |
+ template <typename T, typename S> void storePtr(T, S) { MOZ_CRASH(); } |
112 |
+ template <typename T, typename S> void store32(T, S) { MOZ_CRASH(); } |
113 |
+ template <typename T, typename S> void store32_NoSecondScratch(T, S) { MOZ_CRASH(); } |
114 |
+ template <typename T, typename S> void storeFloat32(T, S) { MOZ_CRASH(); } |
115 |
+ template <typename T, typename S> void storeDouble(T, S) { MOZ_CRASH(); } |
116 |
+ template <typename T, typename S> void storeAlignedInt32x4(T, S) { MOZ_CRASH(); } |
117 |
+ template <typename T, typename S> void storeUnalignedInt32x4(T, S) { MOZ_CRASH(); } |
118 |
+ template <typename T, typename S> void storeAlignedFloat32x4(T, S) { MOZ_CRASH(); } |
119 |
+ template <typename T, typename S> void storeUnalignedFloat32x4(T, S) { MOZ_CRASH(); } |
120 |
+ template <typename T, typename S> void store8(T, S) { MOZ_CRASH(); } |
121 |
+ template <typename T, typename S> void store16(T, S) { MOZ_CRASH(); } |
122 |
+ template <typename T, typename S> void storeInt32x1(T, S) { MOZ_CRASH(); } |
123 |
+ template <typename T, typename S> void storeInt32x2(T, S) { MOZ_CRASH(); } |
124 |
+ template <typename T, typename S> void storeInt32x3(T, S) { MOZ_CRASH(); } |
125 |
+ template <typename T, typename S> void storeFloat32x3(T, S) { MOZ_CRASH(); } |
126 |
++ template <typename T, typename S> void store64(T, S) { MOZ_CRASH(); } |
127 |
+ |
128 |
+ template <typename T> void computeEffectiveAddress(T, Register) { MOZ_CRASH(); } |
129 |
+ |
130 |
+ template <typename T> void compareExchange8SignExtend(const T& mem, Register oldval, Register newval, Register output) { MOZ_CRASH(); } |
131 |
+ template <typename T> void compareExchange8ZeroExtend(const T& mem, Register oldval, Register newval, Register output) { MOZ_CRASH(); } |
132 |
+ template <typename T> void compareExchange16SignExtend(const T& mem, Register oldval, Register newval, Register output) { MOZ_CRASH(); } |
133 |
+ template <typename T> void compareExchange16ZeroExtend(const T& mem, Register oldval, Register newval, Register output) { MOZ_CRASH(); } |
134 |
+ template <typename T> void compareExchange32(const T& mem, Register oldval, Register newval, Register output) { MOZ_CRASH(); } |
135 |
+@@ -393,16 +399,18 @@ class MacroAssemblerNone : public Assemb |
136 |
+ void convertDoubleToInt32(FloatRegister, Register, Label*, bool v = true) { MOZ_CRASH(); } |
137 |
+ void convertBoolToInt32(Register, Register) { MOZ_CRASH(); } |
138 |
+ |
139 |
+ void convertDoubleToFloat32(FloatRegister, FloatRegister) { MOZ_CRASH(); } |
140 |
+ void convertInt32ToFloat32(Register, FloatRegister) { MOZ_CRASH(); } |
141 |
+ |
142 |
+ template <typename T> void convertInt32ToDouble(T, FloatRegister) { MOZ_CRASH(); } |
143 |
+ void convertFloat32ToDouble(FloatRegister, FloatRegister) { MOZ_CRASH(); } |
144 |
++ void convertUInt64ToDouble(Register64, Register, FloatRegister) { MOZ_CRASH(); } |
145 |
++ void mulDoublePtr(ImmPtr, Register, FloatRegister) { MOZ_CRASH(); } |
146 |
+ |
147 |
+ void branchTruncateDouble(FloatRegister, Register, Label*) { MOZ_CRASH(); } |
148 |
+ void branchTruncateFloat32(FloatRegister, Register, Label*) { MOZ_CRASH(); } |
149 |
+ |
150 |
+ void boolValueToDouble(ValueOperand, FloatRegister) { MOZ_CRASH(); } |
151 |
+ void boolValueToFloat32(ValueOperand, FloatRegister) { MOZ_CRASH(); } |
152 |
+ void int32ValueToDouble(ValueOperand, FloatRegister) { MOZ_CRASH(); } |
153 |
+ void int32ValueToFloat32(ValueOperand, FloatRegister) { MOZ_CRASH(); } |
154 |
+ |
155 |
|
156 |
diff --git a/www-client/firefox/firefox-43.0_beta7.ebuild b/www-client/firefox/firefox-43.0_beta7.ebuild |
157 |
index eeec89b..8b97558 100644 |
158 |
--- a/www-client/firefox/firefox-43.0_beta7.ebuild |
159 |
+++ b/www-client/firefox/firefox-43.0_beta7.ebuild |
160 |
@@ -148,6 +148,7 @@ src_prepare() { |
161 |
EPATCH_EXCLUDE="8002_jemalloc_configure_unbashify.patch |
162 |
8011_bug1194520-freetype261_until_moz43.patch" \ |
163 |
epatch "${WORKDIR}/firefox" |
164 |
+ epatch "${FILESDIR}"/jit-none.patch |
165 |
|
166 |
# Allow user to apply any additional patches without modifing ebuild |
167 |
epatch_user |