1 # HG changeset patch |
1 # HG changeset patch |
2 # Parent 2c9bf1336fd0811e0112953334df4c81c717e6ff |
2 # Parent 21d0e194954e451f0f1935d0ed68ee9eae432ddf |
3 # User Wolfgang Rosenauer <wr@rosenauer.org> |
3 # User Wolfgang Rosenauer <wr@rosenauer.org> |
4 Bug 746112 - RegExp hang on ppc64 in execute. |
4 Bug 746112 - RegExp hang on ppc64 in execute. |
5 Bug 750620 - Make double-conversion portable to exotic architectures. TM: mozilla15 |
5 Bug 750620 - Make double-conversion portable to exotic architectures. TM: mozilla15 |
6 |
6 |
7 diff --git a/js/src/yarr/YarrInterpreter.h b/js/src/yarr/YarrInterpreter.h |
7 diff --git a/js/src/yarr/YarrInterpreter.h b/js/src/yarr/YarrInterpreter.h |
8 --- a/js/src/yarr/YarrInterpreter.h |
8 --- a/js/src/yarr/YarrInterpreter.h |
9 +++ b/js/src/yarr/YarrInterpreter.h |
9 +++ b/js/src/yarr/YarrInterpreter.h |
10 @@ -159,17 +159,17 @@ struct ByteTerm { |
10 @@ -162,17 +162,17 @@ struct ByteTerm { |
11 , m_invert(invert) |
11 , m_invert(invert) |
12 { |
12 { |
13 atom.characterClass = characterClass; |
13 atom.characterClass = characterClass; |
14 atom.quantityType = QuantifierFixedCount; |
14 atom.quantityType = QuantifierFixedCount; |
15 atom.quantityCount = 1; |
15 atom.quantityCount = 1; |
24 { |
24 { |
25 atom.subpatternId = subpatternId; |
25 atom.subpatternId = subpatternId; |
26 atom.parenthesesDisjunction = parenthesesInfo; |
26 atom.parenthesesDisjunction = parenthesesInfo; |
27 atom.quantityType = QuantifierFixedCount; |
27 atom.quantityType = QuantifierFixedCount; |
28 atom.quantityCount = 1; |
28 atom.quantityCount = 1; |
29 @@ -180,17 +180,17 @@ struct ByteTerm { |
29 @@ -183,17 +183,17 @@ struct ByteTerm { |
30 : type(type) |
30 : type(type) |
31 , m_capture(false) |
31 , m_capture(false) |
32 , m_invert(invert) |
32 , m_invert(invert) |
33 { |
33 { |
34 atom.quantityType = QuantifierFixedCount; |
34 atom.quantityType = QuantifierFixedCount; |
46 atom.quantityCount = 1; |
46 atom.quantityCount = 1; |
47 inputPosition = inputPos; |
47 inputPosition = inputPos; |
48 diff --git a/js/src/yarr/YarrPattern.h b/js/src/yarr/YarrPattern.h |
48 diff --git a/js/src/yarr/YarrPattern.h b/js/src/yarr/YarrPattern.h |
49 --- a/js/src/yarr/YarrPattern.h |
49 --- a/js/src/yarr/YarrPattern.h |
50 +++ b/js/src/yarr/YarrPattern.h |
50 +++ b/js/src/yarr/YarrPattern.h |
51 @@ -179,17 +179,17 @@ struct PatternTerm { |
51 @@ -180,17 +180,17 @@ struct PatternTerm { |
52 , m_capture(false) |
52 , m_capture(false) |
53 , m_invert(invert) |
53 , m_invert(invert) |
54 { |
54 { |
55 characterClass = charClass; |
55 characterClass = charClass; |
56 quantityType = QuantifierFixedCount; |
56 quantityType = QuantifierFixedCount; |
68 parentheses.isCopy = false; |
68 parentheses.isCopy = false; |
69 parentheses.isTerminal = false; |
69 parentheses.isTerminal = false; |
70 diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c |
70 diff --git a/memory/mozjemalloc/jemalloc.c b/memory/mozjemalloc/jemalloc.c |
71 --- a/memory/mozjemalloc/jemalloc.c |
71 --- a/memory/mozjemalloc/jemalloc.c |
72 +++ b/memory/mozjemalloc/jemalloc.c |
72 +++ b/memory/mozjemalloc/jemalloc.c |
73 @@ -1099,17 +1099,19 @@ struct arena_s { |
73 @@ -1099,17 +1099,17 @@ struct arena_s { |
74 static unsigned ncpus; |
74 static unsigned ncpus; |
75 #endif |
75 #endif |
76 |
76 |
77 /* |
77 /* |
78 * When MALLOC_STATIC_SIZES is defined most of the parameters |
78 * When MALLOC_STATIC_SIZES is defined most of the parameters |
79 * controlling the malloc behavior are defined as compile-time constants |
79 * controlling the malloc behavior are defined as compile-time constants |
80 * for best performance and cannot be altered at runtime. |
80 * for best performance and cannot be altered at runtime. |
81 */ |
81 */ |
82 +#if !(defined(__powerpc__)) |
82 -#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) |
|
83 +#if !defined(__ia64__) && !defined(__sparc__) && !defined(__mips__) && !(defined(__powerpc__)) |
83 #define MALLOC_STATIC_SIZES 1 |
84 #define MALLOC_STATIC_SIZES 1 |
84 +#endif |
85 #endif |
85 |
86 |
86 #ifdef MALLOC_STATIC_SIZES |
87 #ifdef MALLOC_STATIC_SIZES |
87 |
88 |
88 /* |
89 /* |
89 * VM page size. It must divide the runtime CPU page size or the code |
90 * VM page size. It must divide the runtime CPU page size or the code |
90 * will abort. |
91 * will abort. |
91 * Platform specific page size conditions copied from js/public/HeapAPI.h |
|
92 */ |
|
93 diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h |
92 diff --git a/mfbt/double-conversion/utils.h b/mfbt/double-conversion/utils.h |
94 --- a/mfbt/double-conversion/utils.h |
93 --- a/mfbt/double-conversion/utils.h |
95 +++ b/mfbt/double-conversion/utils.h |
94 +++ b/mfbt/double-conversion/utils.h |
96 @@ -50,17 +50,17 @@ |
95 @@ -50,17 +50,17 @@ |
97 // the result is equal to 89255e-22. |
96 // the result is equal to 89255e-22. |