Commit Graph

52437 Commits

Author SHA1 Message Date
Terrence Cole
dd137cccab Bug 1232814 - Part 1: Fix a missing early return in NoteWeakEdge; r=sfink
--HG--
extra : rebase_source : f17e0369e980370895e24e8c604241777df46753
2015-12-16 12:50:12 -08:00
Eric Faust
04af4a022d Bug 1232446 - Re-enable method calls in SelfHosted code using new anti-content checks. (r=till) 2015-12-16 08:14:43 -08:00
Eric Faust
618dd16e90 Bug 1232022 - Part 2: Implement JSOP_DEBUGCHECKSELFHOSTED, and use it to check self-hosted callFunction()s. (r=till, r=h4writer) 2015-12-16 08:14:41 -08:00
Eric Faust
c26c287169 Bug 1232022 - Part 1: Mark self-hosted intrinsics for later checking. (r=till) 2015-12-16 08:14:39 -08:00
Nicolas B. Pierron
64c257e2ac Bug 1228579 - BacktrackingAllocator: Pack the LUse::Policy next to the LUse pointer of UsePosition. r=bhackett 2015-12-16 16:07:34 +00:00
Nicolas B. Pierron
aafdb794cc Bug 1215921 - Range Analysis: Recover observable operands if they are recoverable. r=jandem,sunfish 2015-12-16 13:42:19 +00:00
Nicolas B. Pierron
bcf059516f Bug 1215921 - Range Analysis: Do not eagerly optimize with truncate-after-bailout if we bailed out with an overflow. r=jandem,sunfish 2015-12-16 13:42:19 +00:00
Jon Coppeard
c739216623 Bug 1228404 - Add OOM test for module parsing and fix a couple of bugs r=shu 2015-12-16 11:48:54 +00:00
Jon Coppeard
f6370e99b1 Bug 1231647 - Check for duplicate exported let and const in modules r=shu 2015-12-16 11:48:54 +00:00
Wei Wu
74e045413f Bug 1231575 - "JitSpew: RegAlloc: dump buffer is too small for a kraken spew". r=bhackett 2015-12-12 01:56:00 +01:00
Wei Wu
004d7e4a63 Bug 1231581 - fix C4018 warning in WinXP. r=bhackett1024 2015-12-14 21:33:18 +08:00
Wei Wu
0258ab1a22 Bug 1231581 - "IonMonkey: MOZ_CRASH() in BacktrackingAllocator.cpp:LiveRange::toString() might be unreachable." r=bhackett1024 2015-12-14 08:14:00 +01:00
Wes Kocher
796006aa04 Backed out 19 changesets (bug 1229057) for android build bustage in MacroAssembler.h CLOSED TREE
Backed out changeset 8e1ce09c4c1c (bug 1229057)
Backed out changeset bf62c71e020f (bug 1229057)
Backed out changeset ac4aeb2be1a1 (bug 1229057)
Backed out changeset e96fe4110212 (bug 1229057)
Backed out changeset 6a276896d967 (bug 1229057)
Backed out changeset a697223488a3 (bug 1229057)
Backed out changeset 72728bf62ff4 (bug 1229057)
Backed out changeset eb58402c22b2 (bug 1229057)
Backed out changeset 417cbfd6c1b6 (bug 1229057)
Backed out changeset f4d4c7b21f8f (bug 1229057)
Backed out changeset 0427077032e0 (bug 1229057)
Backed out changeset ae0723cd69e7 (bug 1229057)
Backed out changeset 184f8cbcef7e (bug 1229057)
Backed out changeset f33d197c6c80 (bug 1229057)
Backed out changeset 19114c7f1ddb (bug 1229057)
Backed out changeset d8b26d40c14b (bug 1229057)
Backed out changeset 424abf32becb (bug 1229057)
Backed out changeset 400fc382c57b (bug 1229057)
Backed out changeset 6cf6dd40d704 (bug 1229057)

--HG--
extra : commitid : E1R0XfcgbVz
2015-12-15 15:11:07 -08:00
Shu-yu Guo
1bb73d77f3 Bug 1182866 - Fix Baseline GETNAME stubs to check for uninitialized lexicals. (r=jandem) 2015-12-15 14:31:34 -08:00
Tooru Fujisawa
9cdf91f09c Bug 1229057 - Part 19: Move MacroAssembler::negateDouble into generic macro assembler. r=bbouvier
--HG--
extra : rebase_source : 94e857a8aafd259072959df109e9b1d72159f36e
2015-12-01 17:04:39 +09:00
Tooru Fujisawa
5315dec838 Bug 1229057 - Part 18: Move MacroAssembler::negateFloat into generic macro assembler. r=bbouvier
--HG--
extra : rebase_source : 8c0766346be1c78742d724123377ad77dfdc7605
2015-12-01 17:04:30 +09:00
Tooru Fujisawa
87cc9015cc Bug 1229057 - Part 17: Move MacroAssembler::neg32 into generic macro assembler. r=bhackett
--HG--
extra : rebase_source : c8cca656641caea0d24adedda493e23d7572304d
2015-12-01 17:04:22 +09:00
Tooru Fujisawa
ddbb1a6682 Bug 1229057 - Part 16: Move MacroAssembler::inc64 into generic macro assembler. r=bhackett
--HG--
extra : rebase_source : 296684e540190dacceff567507330ea99d5013f1
2015-12-01 17:04:14 +09:00
Tooru Fujisawa
4ad68c7371 Bug 1229057 - Part 15: Move MacroAssembler::divDouble into generic macro assembler. r=djvj
--HG--
extra : rebase_source : a209b419f8ccca02b3cc4fe1f9a7fa8e033e7f16
2015-12-01 17:04:05 +09:00
Tooru Fujisawa
c2dee6abd7 Bug 1229057 - Part 14: Move MacroAssembler::mulDouble into generic macro assembler. r=djvj
--HG--
extra : rebase_source : adc93a6fd9079b111178932e692cca988c14248d
2015-12-01 17:03:57 +09:00
Tooru Fujisawa
8527e95489 Bug 1229057 - Part 13: Move MacroAssembler::mulDoublePtr into generic macro assembler. r=djvj
--HG--
extra : rebase_source : 655f7090f2bd824a1f7bb793b81f88fc264322a1
2015-12-01 17:03:49 +09:00
Tooru Fujisawa
e5e7751a83 Bug 1229057 - Part 12: Move MacroAssembler::mulBy3 into generic macro assembler. r=sstangl
--HG--
extra : rebase_source : 8abcb1e1727ff92b96e3808b7624eefce8d37b48
2015-12-01 17:03:40 +09:00
Tooru Fujisawa
58740497fb Bug 1229057 - Part 11: Move MacroAssembler::mul64 into generic macro assembler. r=sstangl
--HG--
extra : rebase_source : 69f0820213d0d18f4d11e12d8b0af6ce9162d957
2015-12-01 17:03:32 +09:00
Tooru Fujisawa
f63d0c1936 Bug 1229057 - Part 10: Move MacroAssembler::mul32 into generic macro assembler. r=sstangl
--HG--
extra : rebase_source : 4d583ef58cde95c86d8521c6c3bb67576c199a4d
2015-12-01 17:03:23 +09:00
Tooru Fujisawa
6e19f99452 Bug 1229057 - Part 9: Move MacroAssembler::subDouble into generic macro assembler. r=lth
--HG--
extra : rebase_source : 2a946adb563de396f4e3d9076f0d0cfdd39d2ba9
2015-12-01 17:03:15 +09:00
Tooru Fujisawa
eeda3354ff Bug 1229057 - Part 8: Move MacroAssembler::subPtr into generic macro assembler. r=lth
--HG--
extra : rebase_source : 20ea5c3475680ba18e534788115f001db1232ea1
2015-12-01 17:03:07 +09:00
Tooru Fujisawa
ae9a93c1e9 Bug 1229057 - Part 7: Move MacroAssembler::addConstantDouble into generic macro assembler. r=jandem
--HG--
extra : rebase_source : 15963e30cef5d886ec4ea11ec74a38b5a5a6bf81
2015-12-01 17:02:59 +09:00
Tooru Fujisawa
54b5fa77da Bug 1229057 - Part 6: Move MacroAssembler::addDouble into generic macro assembler. r=jandem
--HG--
extra : rebase_source : 1da6a2a7f21c7bdf6fdd4ed94bb0df1fc583cb32
2015-12-01 17:02:52 +09:00
Tooru Fujisawa
c0f3fbb3d0 Bug 1229057 - Part 5: Remove unused MacroAssemblerX86::addConstantFloat32. r=h4writer
--HG--
extra : rebase_source : df9a013982a0e914c1044ec7868158f2ac52dc0a
2015-12-01 17:02:44 +09:00
Tooru Fujisawa
c2589bf7a5 Bug 1229057 - Part 4: Move MacroAssembler::addFloat32 into generic macro assembler. r=h4writer
--HG--
extra : rebase_source : 95abacc641a6a54858c443e6ac9f428f1d53a6ef
2015-12-01 17:02:36 +09:00
Tooru Fujisawa
76f8f00db7 Bug 1229057 - Part 3: Move MacroAssembler::add64 into generic macro assembler. r=nbp
--HG--
extra : rebase_source : 144bf6f6875fbc6788e3244a06bb4cfa5cb4e142
2015-12-01 17:02:24 +09:00
Tooru Fujisawa
d76ebbed6b Bug 1229057 - Part 2: Move MacroAssembler::add32 into generic macro assembler. r=nbp
--HG--
extra : rebase_source : 0cf5deb1b3292dd86eb61704f9e0c703fea258b8
2015-12-01 17:02:17 +09:00
Tooru Fujisawa
86a64683a6 Bug 1229057 - Part 1: Move MacroAssembler::addPtr into generic macro assembler. r=nbp
--HG--
extra : rebase_source : 86431533671a51b43a74d43de3b9264ec6a25210
2015-12-01 17:02:09 +09:00
Lars T Hansen
7968ced746 Bug 1232264 - SharedArrayBuffer is only a constructor. r=arai
--HG--
extra : rebase_source : bf85d1ccd1cc33b01101f8250edf12a4907afbc2
2015-12-15 14:21:39 +01:00
Jon Coppeard
9bbe672eb1 Bug 1198833 - Variable redeclaration should be a syntax error r=shu 2015-12-15 13:36:14 +00:00
Jon Coppeard
1fa0b478ca Bug 1231386 - Change debugger to use RuntimeAllocPolicy for all its hash tables r=terrence 2015-12-15 13:36:14 +00:00
Nicholas Nethercote
b23e4b2d7b Bug 1231256 (part 12) - Remove TraceableVectorOperations::canAppendWithoutRealloc. r=terrence.
It's unused.

--HG--
extra : rebase_source : ed5bda7e86e8f39ce3ac220f7cfe5d02cf4897a9
2015-12-09 15:51:31 -08:00
Mike Hommey
347d2ccc90 Bug 1231314 - Turn mozilla-config.h and js-confdefs.h into CONFIGURE_DEFINE_FILES. r=gps
Both these files, are, after all, define files, like other CONFIGURE_DEFINE_FILES.
They only happen to have a special requirement for an expansion for all defines,
which doesn't need to happen through traditional preprocessing.

This change adds consistency in how configure-related headers are being handled.
2015-12-15 08:06:11 +09:00
Shu-yu Guo
4436ea9ce0 No bug - Bump XDR version after backout of bug 1231758. (r=me) 2015-12-14 14:48:17 -08:00
Shu-yu Guo
07d8830040 Backout bug 1071646, bug 1231758 for breaking the web. (r=woe) 2015-12-14 13:28:14 -08:00
Eric Faust
135fbc4865 Bug 1232159 - Stop using pseudo-Uint32Array in SelfHosted code. (r=till) 2015-12-14 08:52:45 -08:00
Benjamin Bouvier
d3e0575e2e Bug 1229855: Fix miscompilation of uint8_t enum class with gcc4.8.2; r=luke 2015-12-14 15:46:45 +00:00
Alessio Placitelli
af49ee7fbe Bug 1231965 - Change references to ./mach build-docs to ./mach doc. r=gps
--HG--
extra : rebase_source : 53012ecda93a4c823a8de4b43afab5f1fa97a241
2015-12-11 17:33:11 +01:00
Wei Wu
95dcca7c06 Bug 1231900 - "API Document for JS_snprintf() is non-consistent with the Implementation". r=jcoppeard 2015-12-11 07:15:00 +01:00
Phil Ringnalda
7d13de22f6 Bug 1176214 followup followup, fix my screwup 2015-12-13 18:36:57 -08:00
Phil Ringnalda
7e33c35191 Bug 1226888 followup, make test not fail when TypedObject doesn't exist
--HG--
extra : rebase_source : 9d9cad680efa13137fae9fb009bc8c5bebf5f5fb
2015-12-13 10:49:25 -08:00
Phil Ringnalda
e8c0558df3 Bug 1176214 followup, make the guard for SharedArrayBuffer not being defined not cause the test to fail
--HG--
extra : rebase_source : 2d2f58ba10f945b673364e7a101768d0d640acee
2015-12-13 10:52:53 -08:00
Jeff Walden
6b625ccca7 Bug 1232211 - Don't perform various SharedArrayBuffer-centric typed array tests in builds with SharedArrayBuffer disabled (i.e. Aurora at next uplift). rs=lth over IRC, responding to cassandra!philor's concerns
--HG--
extra : rebase_source : a030971d00303b559b84c66b94cae2617bd3484e
2015-12-13 20:19:17 -05:00
Victor Carlquist
fc86b97861 Bug 1231163 - Don't assume the RNG's been initialized by a prior call to Math.random, when a call to Math.random is being inlined. (A method can be inlined once its identity has been guarded against, but mere identity can be established without the method having been called.) r=jwalden 2015-12-09 22:14:53 -02:00
Eric Faust
b70baff013 Bug 1197932 - Remove Nightly-only restriction from ES6 Classes. (r=jorendorff) 2015-12-11 07:20:35 -08:00
Bogdan Postelnicu
bf563b30b4 Bug 1231309 - guard sz with assert. r=bobbyholley 2015-12-10 08:10:00 +01:00
Mauricio Collares Neto
96ebfa0f8f Bug 12228397 - Bail out when dividing large unsigned integer by one. r=sunfish 2015-12-01 11:46:00 +01:00
Eric Faust
a5120db200 Bug 1230710 - Reenable direct eval and arrow functions in derived class constructors. (r=jorendorff, r=shu) 2015-12-10 12:50:35 -08:00
Shu-yu Guo
ea087bfc50 Bug 1231758 - Fix bogus assertion in BCE for Annex B function assignment. (r=jorendorff) 2015-12-10 12:48:46 -08:00
Eric Faust
1f82208764 Bug 1144630 - Follup: Fix review nit. (rs=evilpie) 2015-12-10 12:26:04 -08:00
Lars T Hansen
9912b88fe7 Bug 1231624 - properly gate SAB+atomics in asm.js. r=luke
--HG--
extra : rebase_source : 0c30826d1a529804b417c21418fd67e013cf7bd4
2015-12-10 10:46:53 -05:00
Jan de Mooij
405ef22973 Bug 1231224 part 8 - Fix some more append() calls in IonBuilder to handle OOM. r=nbp 2015-12-10 13:22:15 -05:00
Jan de Mooij
de82348a4b Bug 1231224 part 7 - Fix some more places to handle OOM. r=jonco 2015-12-10 13:22:15 -05:00
Jan de Mooij
4c2586c470 Bug 1231224 part 6 - Handle Vector OOM in some copy constructors. r=bhackett 2015-12-10 13:22:15 -05:00
Jan de Mooij
d0e597a0b9 Bug 1231224 part 5 - Use infallibleAppend in Debugger::setupTraceLogger. r=h4writer 2015-12-10 13:22:14 -05:00
Jan de Mooij
2eae9f8a3f Bug 1231224 part 4 - Fix TokenStream::getDirective to check append() return value. r=jwalden 2015-12-10 13:22:14 -05:00
Jan de Mooij
b214d21a76 Bug 1231224 part 3 - Fix some append() calls in Odin to handle OOM. r=bbouvier 2015-12-10 13:22:14 -05:00
Jan de Mooij
86e6d30178 Bug 1231224 part 2 - Fix MTableSwitch methods to handle OOM. r=h4writer 2015-12-10 13:22:14 -05:00
Jan de Mooij
45be0649a9 Bug 1231224 part 1 - Fix ExecutableAllocator to not leak a pool when append() OOMs. r=nbp 2015-12-10 13:22:14 -05:00
Jan de Mooij
16d0101ce1 Bug 1228571 - Fix GenerateSeed to not leave seed uninitialized if reading from /dev/urandom fails. r=cpeterson 2015-12-10 13:22:14 -05:00
Eric Faust
0b4d1f0b39 Bug 1202784 -Part 2: Seperate RequireCoercible check from JSOP_TOID. (r=jandem) 2015-12-10 09:04:47 -08:00
Eric Faust
64239255ad Bug 1202784 - Part 1: Refactor SuperElemOperations for use with emitElemOperands. (r=jandem) 2015-12-10 09:04:45 -08:00
Jan de Mooij
718316dc71 Bug 1225396 part 3 - Make %GeneratorPrototype% inherit from %IteratorPrototype%. r=jorendorff 2015-12-09 22:55:50 -05:00
Jan de Mooij
1c94156bf7 Bug 1225396 part 2 - Fix ES6 iterator prototype chains. r=jorendorff 2015-12-09 22:54:44 -05:00
Jan de Mooij
544e48f726 Bug 1225396 part 1 - Rename *Iterator stuff to *LegacyIterator. r=jorendorff 2015-12-09 22:54:10 -05:00
Andrea Marchesini
32580a380e Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Shu-yu Guo
8579f4894a Bug 1071646 - Support JSOP_BINDVAR in Ion. (r=jandem) 2015-12-09 07:52:59 -08:00
Shu-yu Guo
0a03078fc1 Bug 1071646 - Support JSOP_BINDVAR in Baseline. (r=jandem) 2015-12-09 07:52:58 -08:00
Shu-yu Guo
3fa7e43385 Bug 1071646 - Cast ParseNode to Definition using as<T>. (r=jorendorff) 2015-12-09 07:52:58 -08:00
Shu-yu Guo
85cc9c0f9c Bug 1071646 - Introduce JSOP_BINDVAR to support Annex B.3.3.3. (r=jorendorff) 2015-12-09 07:52:58 -08:00
Shu-yu Guo
0166aa107c Bug 1071646 - Support labelled function declarations in sloppy mode per Annex B.3.2. (r=jorendorff) 2015-12-09 07:52:58 -08:00
Shu-yu Guo
e5f6c90449 Bug 1071646 - Make functions block-scoped in JS and implement Annex B semantics for compatibility. (r=jorendorff) 2015-12-09 07:52:58 -08:00
Shu-yu Guo
53c0e2cad8 Bug 1071646 - Light refactoring of lexical binding helpers in Parser. (r=jorendorff) 2015-12-09 07:52:58 -08:00
Benjamin Bouvier
3752ed4a06 Bug 1230409: Implement dummy HeapOffset members for non-ion builds; r=luke
--HG--
extra : rebase_source : a993d11633deaf8bc20a796bde4008178df326f9
2015-12-04 12:42:33 +01:00
Jan de Mooij
a21a8ed722 Bug 1216379 - Throw less cryptic error message when using a non-iterable in a for...of loop. r=jorendorff 2015-12-08 15:28:23 -05:00
Sebastian Hengst
134244b2ae Backed out 2 changesets (bug 1229604) for Spidermonkey bustage on Windows and static failures. r=backout
Backed out changeset 0cb584405271 (bug 1229604)
Backed out changeset d4053d8be57b (bug 1229604)
2015-12-05 22:33:18 +01:00
Ryan VanderMeulen
ae574256a3 Bug 1229604 - Revert the original patch that's not needed anymore. 2015-12-05 15:38:34 -05:00
Yuan Pengfei
4e94d65992 Bug 1229604 - Fix VS2015u1 Assembler-x86.h & Assembler-x64.h C2078 bustage. r=nbp 2015-12-03 17:39:00 -05:00
Morgan Phillips
42c428ea21 Bug 1197094 - ForOfIterator calls ToObject on iterable; r=evilpie
Remove a needless cast from ValueHandle to Object to ValueHandle, where type information was lost.

--HG--
extra : rebase_source : 7c94bb545cc4d7293745ae486f1eb43a819b2060
2015-12-04 15:07:03 -08:00
Jeff Walden
f0143b1186 Bug 1227677 - Simplify emitting of comprehension variables. r=shu 2015-11-24 11:00:44 -08:00
Jeff Walden
6ff5c8010b Bug 1227677 - Simplify code in light of the fact that for-in/of loops never have a PNK_LEXICALSCOPE declaration node and therefore never have a letBlockScope requiring pushing and popping. r=shu 2015-11-24 11:00:44 -08:00
Jeff Walden
122b3ad105 Bug 1227677 - Rename the misnomer |letDecl| variable associated with for-in/of loop variables to |letBlockScope|, as that's much closer to its actual meaning. (Notably, |for (let x of []);| does *not* mean |*letDecl|.) r=shu 2015-11-24 11:00:44 -08:00
Jeff Walden
bc4883181e Bug 1227677 - Emit code for PNK_COMPREHENSIONFOR using separate code from that used for for-loops. r=shu 2015-11-24 11:00:44 -08:00
Jeff Walden
f5da2608e0 Bug 1227677 - Extract PNK_COMPREHENSIONFOR from PNK_FOR so that comprehension gunk doesn't taint for-loop emitting logic. r=shu 2015-11-24 11:00:43 -08:00
Nick Fitzgerald
4560db90e5 Bug 1170325 - Convert js::Vector into a template alias to mozilla::Vector with a single customized default argument. Also get rid of the CRTP support in mozilla::Vector (through mozilla::VectorBase) now that template aliasing is good enough, and make mozilla::Vector final so that people will use composition and not inheritance with it. (Inheritance plays poorly with movability and a few other things, in addition to messing up template argument deduction matching.) r=Waldo, patch sort of a tag-team between him and me 2015-07-13 12:42:52 -07:00
Shu-yu Guo
ebc67a0d2f Bug 1131759 - Atomicize SharedScriptData::marked. (r=terrence) 2015-12-04 18:05:05 -08:00
Tom Schuster
45dd67c79a Bug 1199422 - Stop pattern matching class-constructors in String#replace and Array#sort. r=efaust 2015-12-04 22:41:04 +01:00
Lars T Hansen
d1f95ce1ab Bug 1225040 - generalize jsapi-tests for SAB. r=arai
--HG--
extra : rebase_source : cb9fcbed7c7f28a8a3f22e71273f4fd0d18ff82d
extra : amend_source : d42d5d61e2a4476f8fa59dd111b72ecfe08a54e7
2015-11-16 15:49:36 +01:00
Lars T Hansen
78aa2c6f8d Bug 1230162 - allocate less, when we can. r=luke
--HG--
extra : rebase_source : 41044134714073a611a70ccaf065a61b25553db1
extra : amend_source : a4fac35ff4f5b36636ba9c9d596d29276483d565
2015-12-03 16:52:31 +01:00
Boris Zbarsky
279d126b1b Bug 1227190 part 3. Make debugger error reporting play nice with the embedding taking ownership of error reporting. r=jorendorff 2015-12-02 13:53:00 -05:00
Boris Zbarsky
a3d7f2a714 Bug 1227190 part 2. Change PrepareScriptEnvironmentAndInvoke to take a JSContext*, not a JSRuntime*. r=jorendorff 2015-12-04 09:51:04 -05:00
Boris Zbarsky
0c51191364 Bug 1227190 part 1. change PrepareScriptEnvironmentAndInvoke to return void, not bool, to make it clearer that it reports exceptions for you. r=jorendorff 2015-12-02 13:53:00 -05:00
Heiher
8a4393dcba Bug 1230404 - IonMonkey: MIPS32: Fix load32(wasm::SymbolicAddress, Register). r=bbouvier
---
 js/src/jit/mips32/MacroAssembler-mips32.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2015-12-04 22:32:33 +08:00
Heiher
b3d0d46ded Bug 1230403 - IonMonkey: MIPS: Add add64 to mips32. r=arai
---
 js/src/jit/MacroAssembler.h                   |  2 +-
 js/src/jit/mips32/MacroAssembler-mips32-inl.h | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
2015-12-04 22:32:32 +08:00
Jon Coppeard
309f97e80f Bug 1227567 - Test that we guard on the namespace object when compiling accesses to module namespace imports r=shu 2015-12-04 13:47:25 +00:00
Jon Coppeard
d8ea08336c Bug 1229493 - Stop shell-only modules classes being reported as standard classes r=shu 2015-12-04 13:47:25 +00:00
Eric Faust
01c2b9ee24 Bug 1055472 - Part 18: Incorportate arai's test into the subclassing suite. (r=me) 2015-11-18 14:11:14 -08:00
Eric Faust
83011e03de Bug 1055472 - Part 17: Make the Array constructor properly subclassable. (r=jorendorff, r=bhackett, r=terrence) 2015-11-13 18:22:22 -08:00
Eric Faust
7f20e0e2e8 Bug 1055472 - Part 16: Make the String constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:22 -08:00
Eric Faust
9f2ef2ef43 Bug 1055472 - Part 15: Make the DataView constructor properly subclassable. (r=jorendorff, r=bhackett) 2015-11-13 18:22:22 -08:00
Eric Faust
b2f78e7ec8 Bug 1055472 - Part 14: Make the various TypedArray constructors properly subclassable. (r=Waldo, r=bhackett) 2015-11-13 18:22:22 -08:00
Eric Faust
6b81e290b2 Bug 1055472 - Part 13: Make the ArrayBuffer constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:22 -08:00
Eric Faust
013d13c53c Bug 1055472 - Part 12: Mae the WeakSet constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
1955dd4181 Bug 1055472 - Part 11: Make the WeakMap constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
728c2b0d43 Bug 1055472 - Part 10: Make the Set constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
0311a51135 Bug 1055472 - Part 9: Make the Map constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
47d95b18a2 Bug 1055472 - Part 8: Make the RegExp constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
c532ed6687 Bug 1055472 - Part 8 prelim: Rename InitializeRegExp to RegExpObject::initFromAtom for readability. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
a33ed54127 Bug 1055472 - Part 7: Make the Date constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
e9db21e231 Bug 1055472 - Part 6: Make the Number constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
13f285c204 Bug 1055472 - Part 5: Make the various Error constructors properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
224c3a8705 Bug 1055472 - Part 4: Make the Boolean constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
b3821647af Bug 1055472 - Part 3: Make the Object constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
0a68233ae4 Bug 1055472 - Part 2b: Make Function.prototype.bind play nicely with subclassed functions. (r=Waldo, shoutouts for good flyby by evilpie) 2015-11-13 18:22:21 -08:00
Eric Faust
36637e999d Bug 1055472 - Part 2: Make the Function constructor properly subclassable. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
5d4f5bdf8b Bug 1055472 - Part 1: Factor out GetPrototypeFromConstructor and use it in existing object creation paths. (r=Waldo) 2015-11-13 18:22:21 -08:00
Eric Faust
7f6b5d6456 Bug 1230337 - Fix TypedArrayObject::isNeutered to stop calling typed arrays using inline storage neutered. (r=Waldo) 2015-12-03 22:30:25 -08:00
Chris Peterson
9709fe89a0 Bug 1230071 - Enable warnings-as-errors in js/src. r=Waldo
--HG--
extra : rebase_source : b97fc86c40a21b18eaa89b9bbdf888672e45d631
2015-11-27 22:47:09 -08:00
Chris Peterson
2de2960439 Bug 1229196 - Fix MSVC C4334 "was 64-bit shift intended" warning in js/src/asmjs. r=sunfish
js/src/asmjs/AsmJSSignalHandlers.cpp(594) : warning C4334: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)

--HG--
extra : rebase_source : 4a290c2473de2b0b01e4e185719bf571909f3ff1
2015-11-26 11:14:25 -08:00
Chris Peterson
46bb7c80dd Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Jim Blandy
2c51be8732 Bug 1225474: Ensure we only ever seed the js::SavedStacks PRNG state with valid states. r=fitzgen
--HG--
extra : rebase_source : 394d1502d8c12560f3029b23af8d86521e95f1a1
2015-11-18 11:45:42 -08:00
Heiher
3370304e0b Bug 1229821 - IonMonkey: MIPS: Fix merge macro assemblers. r=bbouvier
---
 js/src/jit/mips-shared/Assembler-mips-shared.cpp   | 36 +++++++++++++++++++++-
 js/src/jit/mips-shared/Assembler-mips-shared.h     | 25 ++++++++++-----
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp |  4 +--
 js/src/jit/mips32/Assembler-mips32.cpp             | 15 +++------
 js/src/jit/mips32/Assembler-mips32.h               |  2 +-
 js/src/jit/mips32/CodeGenerator-mips32.cpp         |  8 ++---
 js/src/jit/mips32/MacroAssembler-mips32.cpp        |  9 ++----
 js/src/jit/mips32/MacroAssembler-mips32.h          |  2 +-
 js/src/jit/mips32/Trampoline-mips32.cpp            |  9 ++++--
 js/src/jit/mips64/Assembler-mips64.cpp             | 15 +++------
 js/src/jit/mips64/Assembler-mips64.h               |  2 +-
 js/src/jit/mips64/CodeGenerator-mips64.cpp         |  8 ++---
 js/src/jit/mips64/MacroAssembler-mips64.cpp        |  9 ++----
 js/src/jit/mips64/MacroAssembler-mips64.h          |  2 +-
 js/src/jit/mips64/Trampoline-mips64.cpp            |  9 ++++--
 15 files changed, 95 insertions(+), 60 deletions(-)
2015-12-04 09:15:08 +08:00
Xidorn Quan
a816a8a87e Bug 1229604 - Use const for some struct arrays instead of constexpr to work around bug of VS2015u1. r=jandem
--HG--
extra : source : 7b18a22082273f868e1bf5d970db3139c84334f3
extra : intermediate-source : f173b16e93be55fd06cf56ad2a568e556f4ad2bb
2015-12-04 11:58:18 +11:00
Morgan Phillips
817cebef63 Bug 1197095 - ensure that ForOfIterator does not pass arguments to next calls; r=evilpie
--HG--
extra : rebase_source : e08bea96808616797f4840ce064c7c1389269593
2015-12-03 12:23:41 -08:00
Benjamin Bouvier
8a44551069 Bug 1229396: Templatize constants merging in the shared x86 masm; r=jandem
--HG--
extra : rebase_source : 924dd237eb655231842a96ff44bfdd61e5c86219
extra : histedit_source : ea1533c1aaf8897ff537fbbe6a8b1cc727cc7d32
2015-12-01 19:35:03 +01:00
Benjamin Bouvier
1bba39f692 Bug 1229396: Templatize Float/Double/SimdData in MacroAssembler-x86-shared.h; r=jandem
--HG--
extra : rebase_source : 88c53674d68586686b92d3ce215d649bb3c746ab
extra : histedit_source : cd0d7381f1a9a5087a4a174daa0d8aa369a47c68
2015-12-01 19:24:49 +01:00
Benjamin Bouvier
0c856aafcc Bug 1229396: Templatize get{Float,Double,SimdData}; r=jandem
--HG--
extra : rebase_source : b5529425719159dc9d08ba67c3c6add7da33d210
extra : histedit_source : 8c4ff3221b3374d976835ea9c88d4f0ee4f7ccff
2015-12-01 19:09:40 +01:00
Benjamin Bouvier
c1bb13250b Bug 1229396: Propagate OOM when pushing elements to the uses array; r=jandem
--HG--
extra : rebase_source : 1288ddfb31b5b71340d74d55f7b68ab7e49f52e2
extra : histedit_source : 11d523919e76ec641acacf0ccb659d2d02ede6e9
2015-12-01 18:28:51 +01:00
Jan Beich
814acd7ab8 Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium 2015-12-02 09:40:50 +00:00
Heiher
bb992fcdb0 Bug 1230039 - IonMonkey: MIPS: Implement cacheFlush for Loongson3. r=jandem
---
 js/src/jit/ExecutableAllocator.h | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
2015-12-03 19:22:37 +08:00
Heiher
1ed74c6354 Bug 1230010 - OdinMonkey: MIPS: Make immediate patching shared. r=luke
---
 js/src/asmjs/AsmJSModule.cpp | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)
2015-12-03 19:22:36 +08:00
Heiher
143fcc2167 Bug 1229989 - IonMonkey: MIPS: Fix patchCall for mips32. r=luke
---
 js/src/jit/mips-shared/MacroAssembler-mips-shared.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2015-12-03 19:22:35 +08:00
Heiher
8cf9bff5bc Bug 1229292 - IonMonkey: MIPS64: Fix skip nops in conditional branches. r=huangwenjun06
---
 js/src/jit/mips64/Assembler-mips64.cpp | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
2015-12-03 19:22:34 +08:00
Till Schneidereit
b646fffd2a Bug 1229729 - Make make-source-package.sh work on OS X. r=sfink
--HG--
extra : rebase_source : 30cf8cec5e2dce92d0bb8f3ab9fab81bd763d82c
2015-12-01 23:41:45 +01:00
Lars T Hansen
29139d87d3 Bug 1225026 - Remove support for atomics on Uint8ClampedArray. r=nbp
--HG--
extra : rebase_source : 316a4b7e11d13eab6c1909490e18ee2982dbec15
2015-12-02 18:26:18 +01:00
Luke Wagner
3e2e979a8b Bug 1229642 - Odin: hoist some things into Wasm.h and simplify symbolic addresses (r=bbouvier)
--HG--
extra : rebase_source : 072480e2713f184b9dbac1e33d4ffb60af1c720c
2015-12-02 21:40:09 -06:00
Jeff Walden
382c52beaf Bug 1227677 - Minor renaming. r=shu
--HG--
extra : rebase_source : 467b4ca97848288a095e69ec8abdb84beba3dfc6
2015-11-06 15:09:15 -08:00
Jeff Walden
f579af2e1a Bug 1226188 - Define the DEFINED_ON_DISPATCH_RESULT macro such that it can be called with no arguments as well as with one argument. r=nbp
--HG--
extra : rebase_source : d8b096c104b28daa491d0d93922457d8af26c06a
2015-11-25 15:07:28 -08:00
Mike Hommey
826f769939 Bug 1229541 - Turn NSPR_CFLAGS, NSS_CFLAGS, MOZ_JPEG_CFLAGS, MOZ_PNG_CFLAGS and MOZ_ZLIB_CFLAGS into AC_SUBST_LISTs. r=mshal 2015-12-02 11:24:34 +09:00
Luke Wagner
d5f891c228 Bug 1229698 - Odin: fix memory corruption when -D passed to the shell (r=bbouvier)
--HG--
extra : rebase_source : 54987cfd536a8ee35d24df78c4b1510e10ad103e
2015-12-02 09:57:44 -06:00
Nathan Froyd
c381a6b86c Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Wes Kocher
b16dc998b7 Backed out 4 changesets (bug 1227190) for still having failures after several followups, most recently jit test assertions in jsfriendapi.cpp CLOSED TREE
Backed out changeset e3ae43ee51fa (bug 1227190)
Backed out changeset 2e33a92988cd (bug 1227190)
Backed out changeset 4ebb551d8db2 (bug 1227190)
Backed out changeset 5f84bb42a723 (bug 1227190)

--HG--
extra : amend_source : 41b78fc50850a8a34c48b54aaaa82241607e98cd
2015-12-02 12:26:23 -08:00
Boris Zbarsky
9c0fbd9079 Bug 1227190. Make the constructor for ReportExceptionClosure explicit to silence our static analyzers. r=CLOSED TREE 2015-12-02 14:57:53 -05:00
Boris Zbarsky
f02a79a4e0 Bug 1227190 followup to address the review comments I missed. r=jorendorff 2015-12-02 14:04:47 -05:00
Boris Zbarsky
e8013a0abc Bug 1227190 part 2. Make debugger error reporting play nice with the embedding taking ownership of error reporting. r=jorendorff 2015-12-02 13:53:00 -05:00
Boris Zbarsky
d6f277acb4 Bug 1227190 part 1. change PrepareScriptEnvironmentAndInvoke to return void, not bool, to make it clearer that it reports exceptions for you. r=jorendorff 2015-12-02 13:53:00 -05:00
Boris Zbarsky
29345faced Bug 1229664. Drop the concept of inner exceptions from Exception/DOMException. r=bholley 2015-12-02 13:52:59 -05:00
Lars T Hansen
a297f1c8f3 Bug 1176214 - Part 10: jsapi-tests changes. r=bbouvier
--HG--
extra : rebase_source : 07fe1cd989452c31b60d57511a8f9eb875a307ed
2015-11-11 18:28:42 +01:00
Lars T Hansen
b5cd967500 Bug 1176214 - Part 9: tests changes. r=bbouvier
--HG--
extra : rebase_source : 6a9c2f9513efce47bc28b7321186c3ac6fe5d3d9
2015-11-23 18:08:32 +01:00
Lars T Hansen
9031bb2c2c Bug 1176214 - Part 8: jit-test changes. r=bbouvier
--HG--
extra : rebase_source : 1e6de87ce395ba20280becee5e113bc328ef683f
2015-11-23 17:35:06 +01:00
Lars T Hansen
6bda1e516c Bug 1176214 - Part 7: Ctypes, shell, xpconnect, etc. r=waldo
--HG--
extra : rebase_source : 47e9a61168f04ef0772784b12561f7597f14f663
2015-12-02 11:36:13 +01:00
Lars T Hansen
403d95c10c Bug 1176214 - Part 6: Odin changes. r=luke
--HG--
extra : rebase_source : dc3b9ee72314b4256e6d321a992fd259c56d34e8
2015-11-27 09:00:42 +01:00
Lars T Hansen
0b2079a3e0 Bug 1176214 - Part 5: Ion changes. r=h4writer
--HG--
extra : rebase_source : 35ea5cd4767072eb6f46846c22e09343e271b344
2015-11-30 11:27:48 +01:00
Lars T Hansen
65de5b1e48 Bug 1176214 - Part 4: VM built-in lib changes. r=waldo
--HG--
extra : rebase_source : fe518d6107523fa69f3358bd8423c57ef6b5cc21
2015-12-02 11:23:08 +01:00
Lars T Hansen
9a05479976 Bug 1176214 - Part 3: VM core changes. r=waldo
--HG--
extra : rebase_source : 7020c7375dc84a4bb34b56ea90fd9daa084edd0d
2015-12-02 16:38:26 +01:00
Lars T Hansen
5aae98ed9a Bug 1176214 - Part 2: Preliminary adjustments. r=waldo
--HG--
extra : rebase_source : b306ed5c0ded6830a9333e975d521bc6729c8312
2015-11-23 19:51:50 +01:00
Lars T Hansen
8da342c976 Bug 1176214 - Part 1: Remove obsolete files. r=waldo
--HG--
extra : rebase_source : 70cb1a286fe425bb438349b74020a73e72a6be03
2015-11-13 11:35:37 +01:00
Jan de Mooij
9de1b439be Bug 322529 part 5 - Give Windows ExecutableAllocator its own XorShift128+ RNG. r=jwalden 2015-12-02 13:56:01 +01:00
Jan de Mooij
b103e7d1a9 Bug 322529 part 4 - Fix setRNGState shell function and math-random.js jit-test. r=arai 2015-12-02 13:56:01 +01:00
Jan de Mooij
90cb097793 Bug 322529 part 3 - Fix LRandom JIT code to use the new algorithm. r=arai,jwalden 2015-12-02 13:56:00 +01:00
Jan de Mooij
3c2424e82f Bug 322529 part 2 - Add xor64 and add64 to macro-assemblers. r=arai 2015-12-02 13:56:00 +01:00
Jan de Mooij
3a03b8ce13 Bug 322529 part 1 - Use XorShift128PlusRNG for Math.random(). r=jwalden 2015-12-02 13:56:00 +01:00
Jon Coppeard
539c6c9f63 Bug 1227567 - Add Ion cache for module namepsace imports r=shu 2015-12-02 10:10:26 +00:00
Jon Coppeard
2ee97dbd00 Bug 1227567 - Optimise module namespace imports in Ion where we have type information r=shu 2015-12-02 10:10:26 +00:00
Jon Coppeard
64725598d5 Bug 1227567 - Add baseline IC to optimise module namespace imports r=shu 2015-12-02 10:10:26 +00:00
Mike Hommey
88221586dd Bug 1225682 - Don't use nsAuto{,C}String as class member variables in js/xpconnect/. r=mccr8 2015-12-02 11:04:37 +09:00
Eric Faust
0c156b26dc Bug 1229579 - Make class members properly XDR-able. (r=billm) 2015-12-01 15:53:00 -08:00
Steve Fink
f9e576a222 Bug 1206308 - include nsprpub and zlib for Windows, plus minor enhancements to make-source-package.sh, r=sstangl
--HG--
extra : rebase_source : d109e313cbd1a6baaac1e215a30c8d38f858a822
extra : amend_source : ef998f30851ecba93f5853f8bdb1eb39c3d22b9b
2015-09-18 17:13:33 -07:00
Yury Delendik
b984c50fec Bug 1218029 - Adds ScriptLoadHandler and implements OnIncrementalData callback. r=djvj
--HG--
extra : commitid : 7TyrlgQ2f2Z
2015-12-01 08:00:58 -06:00
Yury Delendik
66199890c4 Bug 1218029 - Adds IncrementalStreamLoader interface stubs. r=djvj
--HG--
extra : commitid : J0UubFG9gvz
2015-11-30 08:54:11 -06:00
Steve Fink
ff55707b83 Bug 1225298 - Use GCHashMap for UniqueIdMap, r=terrence
--HG--
extra : rebase_source : 322f5b64eb3e3e37d3ab51ca813b05fe8e78e7bd
2015-11-18 17:37:03 -08:00
Steve Fink
fd192a968a Bug 1225298 - Use GCHashMap for liveScopes, r=terrence
--HG--
extra : rebase_source : b364399010d0eadaade561de310125ec3f1f8ed1
2015-11-19 11:21:07 -08:00
Steve Fink
244cf5d69d Bug 1225298 - Use GCHashSet for InnerViewTable, r=terrence
--HG--
extra : rebase_source : 715f2bb5a591efd1acdb28ba1c83f5f2c9c06855
2015-11-19 11:20:53 -08:00
Steve Fink
96199a6125 Bug 1225298 - Use GCHashSet for SymbolRegistry, r=terrence
--HG--
extra : rebase_source : a26b02eee734cb4dbacd4329c96d9e56683b2446
2015-11-18 08:58:57 -08:00
Steve Fink
642ecb4eec Bug 1225298 - Use GCHashSet for SavedStack set of frames, r=terrence
--HG--
extra : rebase_source : 3d713bc3f020a112b6026a0f9605ba7b8427466b
2015-11-19 11:20:44 -08:00
Steve Fink
4a4f8a6547 Bug 1225298 - Use GCHashSet for atoms table, r=terrence
--HG--
extra : rebase_source : e091995dec92f0bd17cfe06885ffc2037cfdcb9d
2015-11-16 21:56:36 -08:00
Morgan Phillips
c0cc327f56 Bug 1134253 - Improve object extensibility TypeError messages produced from Object.defineProperty; r=jorendorff
--HG--
extra : rebase_source : a1078b7e6b5605054553f5b445b21f989881f99c
2015-12-01 10:13:58 -08:00
Hannes Verschore
d08b0cdd80 Bug 1226816: SharedStubs - Don't enable the call scripted get prop shared stub in ionmonkey yet, r=jandem 2015-12-01 18:11:36 +01:00
Jan de Mooij
bb9418628d Bug 1227287 - Fix minor bug with f.arguments and lazy arguments. r=luke 2015-12-01 16:20:36 +01:00
Jan de Mooij
27b63a868f Bug 1225367 - Fix bogus asserts when storing symbols to typed arrays. r=h4writer 2015-12-01 16:17:31 +01:00
Benjamin Bouvier
0385cdc9bd Bug 1229258: Implement dummy asmMergeWith/retargetWithOffset functions in none backend; r=h4writer
--HG--
extra : rebase_source : a6a77c381ef0b6824971e96a28d8cd3c4e364c87
2015-12-01 13:06:35 +01:00
Benjamin Bouvier
4db8c7ff5e Bug 1228340: Get rid of the js_ prefix for CodeSpec, CodeName, NumCodeSpecs; r=jorendorff
--HG--
extra : rebase_source : 15581237242211fb1b29743f909d9c04669c6b2c
2015-11-26 15:51:26 +01:00
Benjamin Bouvier
2e76d6b88a Bug 1228340: Rename JitOptions into DefaultJitOptions and get rid of the js_ prefix for the instance; r=h4writer
--HG--
extra : rebase_source : 58c678bdd16316bfa4c8898cf43b8d68498e64a9
2015-11-26 15:39:22 +01:00
Benjamin Bouvier
8ba8ea4383 Bug 1228340: Remove the js_ prefix in front of IonOptimizationsLevel; r=h4writer
--HG--
extra : rebase_source : 675be157fef20adfccedf7b179c7736a41975ebd
2015-11-26 14:53:26 +01:00
Jan de Mooij
0b2970741e Bug 922406 - Ion-compile global scripts that use 'this'. r=shu 2015-12-01 11:00:22 +01:00
Bogdan Postelnicu
60f4aa423b Bug 1226549 - added assert check for matches pointer in for prevent null dereference. r=hv1989 2015-11-25 06:47:00 +01:00
Nick Fitzgerald
aba02288a1 Bug 1226416 - Expose a method to get a node's set of immediately dominated nodes in the dominator tree; r=bz,sfink
This adds the `getImmediatelyDominated` method to `DominatorTree` which takes a
node id and returns the set of each node ids for every node that is immediately
dominated by the node with the given id. The results are sorted by greatest to
least retained size. In conjunction with the `root` attribute, this can be used
to traverse the whole dominator tree.
2015-11-30 17:38:06 -08:00
Jakob Stoklund Olesen
f734c21675 Bug 1226027 - Use Simd128 register content type. r=bbouvier
In preparation for the addition of a new set of SIMD types, collapse all of the
128-bit SIMD types into a single content type for a FloatRegister.

This saves bits in TypedRegisterSet and prevents us from overflowing the
uint64_t bit mask currently used.

For consistency, provide global variables ReturnSimd128Reg and
ScratchSimd128Reg, and rename ScratchSimdScope to ScratchSimd128Scope.
2015-11-30 16:16:28 -08:00
Mike Hommey
54278f48fa Bug 1227385 - Avoid make variable references in VISIBILITY_FLAGS and STL_FLAGS. r=mshal 2015-12-01 08:25:22 +09:00
Mike Hommey
281ed723c5 Bug 1227385 - Properly propagate $DIST from top-level after bug 1224490. r=mshal 2015-12-01 08:25:22 +09:00
Mike Hommey
513dd064fd Bug 1227852 - Remove the --with-dist-dir configure flag from js/src/. r=mshal 2015-12-01 08:25:22 +09:00
Luke Wagner
28f2c8f11d Bug 1224389 - Odin: refactor stubs, func-ptrs, and masm use (r=bbouvier)
--HG--
extra : rebase_source : 2adb3f40ec15e473097ee532b32e6999d7acdd84
2015-11-30 15:35:18 -06:00
Luke Wagner
4ef42db6e3 Bug 1224389 - Odin: simplify AsmJSModule global data allocation (r=bbouvier)
--HG--
extra : rebase_source : 20f174a9593293674e20e768f6d19f6ede861083
2015-11-24 23:35:20 -06:00
Luke Wagner
f7c5ebaa66 Bug 1224389 - Odin: refactor types/signatures/values (r=bbouvier)
--HG--
rename : js/src/asmjs/AsmJSCompileInputs.h => js/src/asmjs/WasmCompileArgs.h
rename : js/src/asmjs/AsmJSCompile.cpp => js/src/asmjs/WasmIonCompile.cpp
rename : js/src/asmjs/AsmJSCompile.h => js/src/asmjs/WasmIonCompile.h
extra : rebase_source : f9a755a132065f4e261e860e4c787bf2a3225b64
2015-10-30 17:09:32 -05:00
Hannes Verschore
683d74380a Bug 1227028: TraceLogger - Fix when to keep the payload of a TraceLogger event, r=bbouvier 2015-11-30 20:45:18 +01:00
Hannes Verschore
83a7889f1f Bug 1227914: TraceLogger - Limit the memory tracelogger can take, r=bbouvier 2015-11-30 20:45:14 +01:00
Lars T Hansen
55b6a42965 Bug 1228421 - fix intermittent failure. r=bbouvier
--HG--
extra : rebase_source : e142508951db7826da2cefc3a13eaf8d7a017f5a
extra : amend_source : 2b68941d6259f0144ea5373bbef1d6cc8469b3a6
2015-11-30 10:10:48 +01:00
Benjamin Bouvier
294e4e0eeb Bug 1228369: Rename CodeOffset::use/used into bind/bound; r=luke
--HG--
extra : histedit_source : 5687b7f865bb476531218c900f420345d5527ce2
2015-11-26 17:54:01 +01:00
Benjamin Bouvier
d02e56a1f0 Bug 1228369: Rename CodeOffsetLabel into CodeOffset; r=luke
--HG--
extra : histedit_source : da9914a1917731ed4707827e2017dfb9536655d9
2015-11-26 17:23:32 +01:00
Benjamin Bouvier
fba62be69f Bug 1228369: Backed out 2 changeset because of missing reviewer field in the commit message; r=me
--HG--
extra : amend_source : e584abf47ff2f0562064fe3abf6cc40ebeb896fd
extra : histedit_source : e59d37bb687baad326e191b58369df8814c91178
2015-11-30 13:30:11 +01:00
Benjamin Bouvier
8b479dc36a Bug 1228369: Rename CodeOffset::use/used into bind/bound;
--HG--
extra : rebase_source : 6969f42167d3532367efbf4bd4e691d384a7327a
2015-11-26 17:54:01 +01:00
Benjamin Bouvier
14cb6b06eb Bug 1228369: Rename CodeOffsetLabel into CodeOffset;
--HG--
extra : rebase_source : 9a60854e09adc45ff009b6dd23e6f0485d928364
2015-11-26 17:23:32 +01:00
Lars T Hansen
bc9c6e0192 Bug 1228259 - jitspew is #ifdef JS_JITSPEW not DEBUG. r=h4writer
--HG--
extra : rebase_source : 6ac8a0e1095c4a318af15fee745467e5163503e5
extra : amend_source : 9ba9d3d0c9b15a8e3550ace0b88d4068cc945e3b
2015-11-26 12:55:06 +01:00
Sebastian Hengst
d155747cfa Backed out 2 changesets (bug 1224722, bug 1226551) for Linux x64 opt Valgrind failure. r=bustage
Backed out changeset 5966ace0c932 (bug 1226551)
Backed out changeset f477eb89443b (bug 1224722)
2015-11-27 00:45:05 +01:00
Till Schneidereit
f1064cd317 Bug 1226551 - Add support for installing self-hosting intrinsics via JSAPI. r=efaust, f=bz,mwu 2015-11-25 14:10:25 +01:00
Till Schneidereit
00ace3547e Bug 1224722 - Enable executing multiple inputs as self-hosted JS during runtime startup. r=efaust, f=bz,mwu 2015-11-25 14:05:05 +01:00
Carsten "Tomcat" Book
44189adf88 Merge mozilla-central to mozilla-inbound 2015-11-26 16:56:09 +01:00
Carsten "Tomcat" Book
358e4575c4 merge mozilla-inbound to mozilla-central a=merge 2015-11-26 16:54:27 +01:00
Jan de Mooij
4059a6e5ee Bug 1227263 part 3 - Remove this-slot from non-function frames. r=efaust 2015-11-26 12:00:05 +01:00
Jan de Mooij
12923393cf Bug 1227263 part 2 - Remove this-slot from generators. r=efaust 2015-11-26 12:00:04 +01:00
Jan de Mooij
3f89ce8294 Bug 1227263 part 1 - Rename frame thisValue methods to thisArgument. r=shu 2015-11-26 12:00:04 +01:00
Jon Coppeard
23a1008811 Bug 1227555 - Force specialization of JSObject::is() for ProxyObject subclasses r=shu 2015-11-26 11:49:54 +00:00
Jon Coppeard
bf29dccb1c Bug 1227533 - Factor out dummy module resolve hook from tests r=shu 2015-11-26 11:49:54 +00:00
Carsten "Tomcat" Book
4478aaa8da Merge mozilla-central to b2g-inbound 2015-11-25 14:00:32 +01:00
Wei Wu
657db80539 Bug 1228238 - "TraceLogger: don't enable tracelogger unless TLOPTIONS is set". r=hv1989 2015-11-25 23:12:00 +01:00
Yoshi Huang
4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Wes Kocher
e617ebdf10 Backed out changeset d4af58f0f1e0 (bug 1226188) for MacroAssembler bustage on Windows CLOSED TREE
--HG--
extra : commitid : 66bECBf7LtE
2015-11-24 09:49:49 -08:00
Wes Kocher
b40b9c497b Backed out changeset eb9e244e3834 (bug 1227535) for static build bustage in ModuleObject.h CLOSED TREE
--HG--
extra : commitid : 27dFKkZdEs4
2015-11-24 09:42:40 -08:00
Jon Coppeard
e379214094 Bug 1227535 - Add ZoneAllocPolicy and use it to attribute module memory usage to the zone r=terrence 2015-11-24 17:27:35 +00:00
Jon Coppeard
ac26a189d6 Bug 1011786 - Reset GC zeal in reftest before returning to the browser r=terrence 2015-11-24 17:27:35 +00:00
Jon Coppeard
1abd844269 Bug 1226896 - Fix OOM handling related to script counts r=nbp 2015-11-24 17:27:35 +00:00
Terrence Cole
593a471c03 Backout c2c730d6bd73 (Bug 1227144) for build bustage on a CLOSED TREE. 2015-11-24 08:48:57 -08:00
Nicolas B. Pierron
bba1586666 Bug 1226188 - Use __VA_ARGS__ to avoid warnings with empty argument list. r=h4writer 2015-11-24 16:41:16 +00:00
Terrence Cole
75b58e896c Bug 1226888 - Remove an incorrect assertion about store buffer state; r=jandem
--HG--
extra : rebase_source : 5bc10e6ce92aea1aed51b7bd0e38bd7d27317ee5
2015-11-24 08:04:08 -08:00
Terrence Cole
1a3c815cc3 Bug 1227144 - Use Rooted instead of AutoRegExpStaticsBuffer; r=jonco
--HG--
extra : rebase_source : 424f2fd357e795e94f89c2bb11c19ad824a396cb
2015-11-19 15:42:18 -08:00
Phil Ringnalda
04870269d3 Back out 91c196b60306 (bug 1226027) for build bustage in Assembler-x64.cpp
CLOSED TREE
2015-11-25 20:12:29 -08:00
Jakob Stoklund Olesen
1badb94490 Bug 1226027 - Use Simd128 register content type. r=bbouvier
In preparation for the addition of a new set of SIMD types, collapse all of the
128-bit SIMD types into a single content type for a FloatRegister.

This saves bits in TypedRegisterSet and prevents us from overflowing the
uint64_t bit mask currently used.

For consistency, provide global variables ReturnSimd128Reg and
ScratchSimd128Reg, and rename ScratchSimdScope to ScratchSimd128Scope.

--HG--
extra : rebase_source : f07deedaa9cddfcea4e71a6d9272314a364bf9c0
2015-11-25 11:39:40 -08:00
Terrence Cole
020b367913 Bug 1226732 - Use stable hashing and builtin sweeping for ipc::ObjectIdMap; r=billm
--HG--
extra : rebase_source : 9dc40a8f2573fd190d9c86a5a88b57dcb41e0771
2015-11-25 11:59:09 -08:00
Terrence Cole
9c36f99a19 Bug 1226801 - None of the GCHashMap users require movable keys; r=fitzgen
--HG--
extra : rebase_source : d24e3f8c5cdfa050b166f224d76967b3f02287c2
2015-11-25 11:58:50 -08:00
Terrence Cole
e918579721 Bug 1227774 - Encapsulate markCompartments logic; r=jonco
--HG--
extra : rebase_source : 994a0bafa6e88cff6a29d01d50cd5a29f54ed7ec
2015-11-25 11:41:30 -08:00
Nicolas B. Pierron
f538e44852 Bug 1223023 - Ensure that we have enough ballast space for allocating MoveGroups in BacktrackingAllocator::resolveControlFlow. r=bhackett 2015-11-25 17:30:24 +00:00
Ted Mielczarek
d9c04b91c1 bug 1224165 - Remove some Makefiles in js/xpconnect/tests/. r=glandium
--HG--
extra : commitid : CdYDnLGN2Yf
extra : rebase_source : 1dee19c8064f1afb53cc646e4659c12577ba6a94
2015-11-12 06:39:01 -05:00
Ted Mielczarek
8b765abfbe bug 1224308 - Remove some Makefile cruft. r=gps
--HG--
extra : commitid : JdDnpW7zfHf
extra : rebase_source : 9eca8f978c43eb6f26c8d14d5d13fee5ea556a02
2015-11-12 06:39:11 -05:00
Nicolas B. Pierron
e56bcb2332 Bug 1213735 - LCov: Rely on the GC finalizers to visit all JSScripts. r=bhackett 2015-11-25 16:56:13 +00:00
Nicolas B. Pierron
f14fd6c5cc Bug 1219166 - SM LCov: Prevent reporting empty compartments, and empty runtimes. r=bhackett 2015-11-25 16:56:13 +00:00
Nicolas B. Pierron
ba81d44fff Bug 1213732 part 3 - SM LCov: Add code coverage support for TableSwitch statements. r=bhackett 2015-11-25 16:56:13 +00:00
Nicolas B. Pierron
95b6d67041 Bug 1213732 part 2 - SM LCov: Check that fallthrough branches are correctly counted. r=bhackett 2015-11-25 16:56:13 +00:00
Nicolas B. Pierron
f6a0e76d3d Bug 1213732 part 1 - SM LCov: Report both side of the branches. r=bhackett 2015-11-25 16:56:13 +00:00
Benjamin Bouvier
9cb6c17ff5 Bug 1227642: Make data a ScopedJSFreePtr in js::detail::CopyScript to ensure it doesn't leak; r=jonco
--HG--
extra : rebase_source : ccf4034cc9a0770f9af9391be72ef211a6d71edd
extra : amend_source : 08542020a95717fcc1552755ddeba46ecc79b702
2015-11-24 19:35:19 +01:00
Till Schneidereit
7f6e232d5a Backout of bug 1224722 from a CLOSED TREE. r=bustage
--HG--
extra : amend_source : 2e05abb4de7042d33d50659f0497861a4b7fee06
2015-11-25 15:37:41 +01:00
Till Schneidereit
de3be65932 Backout of bug 1226551. r=bustage 2015-11-25 15:36:57 +01:00
Till Schneidereit
8a04abb7cc Bug 1226551 - Add support for installing self-hosting intrinsics via JSAPI. r=efaust, f=bz,mwu
--HG--
extra : rebase_source : a3b179f3f33c3157387fd8170cb657b585131bf4
2015-11-25 14:10:25 +01:00
Till Schneidereit
5bf848f39b Bug 1224722 - Enable executing multiple inputs as self-hosted JS during runtime startup. r=efaust, f=bz,mwu
--HG--
extra : rebase_source : 09dddf7f37d1a7abae24c3ce9189ec77b740ee25
2015-11-25 14:05:05 +01:00
Till Schneidereit
291b0d30f0 Bug 1226799 - De-duplicate the 11 Is[BuiltinName] self-hosting intrinsics with templates. r=arai
--HG--
extra : rebase_source : 0208de7d4f19a7a4611c4309b9a482788a668077
2015-11-21 19:02:24 +01:00