Commit Graph

49092 Commits

Author SHA1 Message Date
Douglas Crosher
1f602976cd Bug 1160911 - JIT: precise shift right derived result range for all int32 input ranges. r=sunfish
--HG--
extra : rebase_source : 47556e34610b4219e0e17ce5cc7d9abf917c213f
2015-05-10 15:42:23 +10:00
Phil Ringnalda
9f4911dc28 Back out 2 changesets (bug 944164) for breaking fuzzing
Backed out changeset 4323557b111d (bug 944164)
Backed out changeset bff319d49d58 (bug 944164)
2015-05-10 15:17:27 -07:00
Wes Kocher
3f9fe847de Backed out changeset 4963ecd92915 (bug 1067610) for m-oth permafail CLOSED TREE 2015-05-08 19:44:11 -07:00
Tom Schuster
5cfbfd9938 Bug 1055473 - Make WeakMap/Set.prototype a plain object. r=Waldo 2015-05-08 23:27:50 +02:00
Jan de Mooij
8afa085290 Bug 1157231 - Optimize calls to own property setters. r=efaust 2015-05-08 21:41:50 +02:00
Tooru Fujisawa
bf7d481e9a Bug 1163020 - Fix --jitflags=none or no --jitflags in jit_test.py. r=terrence 2015-05-09 04:01:03 +09:00
Steve Fink
5374200814 Bug 944164 - Add in missing shell/jsshell.h file, r=bustage, a=KWierso for CLOSED TREE push
--HG--
extra : rebase_source : 28ef54875d592a14cafbbb4bb2d72f9db11a7f30
2015-05-07 09:53:31 -07:00
Steve Fink
4b9d5246f2 Bug 944164 - Move a bunch of file-related stuff onto an os.file object, creating aliases from the old names, r=jorendorff
--HG--
extra : rebase_source : 6f9bef170e2e981b172e4de6bf52aff17a2617e1
2015-05-08 10:45:24 -07:00
Brian Hackett
90ae6c054a Bug 1067610 - Rewrite how the main data structures in the backtracking allocator are organized, r=sunfish. 2015-05-08 11:42:10 -06:00
Terrence Cole
5e8de2d1db Bug 1162590 - Change the name of the 2-arg traverse to traverseEdge; r=sfink
--HG--
extra : rebase_source : d76cc31b9c5697a2336a740970bc6c1b48fb727a
2015-05-07 10:17:47 -07:00
Terrence Cole
00f17832df Bug 1162303 - Simplify TenuringTracer's implementation; r=jonco
--HG--
extra : rebase_source : f08d928a258c5be87fa3e1e86142892ef2634fa9
2015-05-07 10:17:45 -07:00
Terrence Cole
c6db13d2c4 Bug 1162301 - Move tenuring implementation to TenuringTracer; r=sfink
--HG--
extra : rebase_source : 9f990984eaa44450e9f19ed7af6333bac21468d8
2015-05-07 10:17:43 -07:00
Terrence Cole
26d790d19f Bug 1162296 - Use generic value traversal when scanning unboxed memory; r=jonco
--HG--
extra : rebase_source : 904492a7b966621a5fbc8905a0146891212f2f48
2015-05-06 10:26:34 -07:00
Jan de Mooij
7731c39c86 Bug 1157239 - Give MGuardShape and friends a resultTypeSet. r=h4writer
--HG--
extra : rebase_source : a60092660cbce30e855bf6e6c960bb5929991439
2015-05-08 15:18:03 +02:00
Jan de Mooij
27a55b2289 Bug 1124870 - Use LookupPropertyPure instead of LookupProperty in IsCacheableDOMProxyUnshadowedSetterCall. r=evilpie
--HG--
extra : rebase_source : e7ce36bd386b9adef77083fe62ec9aa2eac430c2
2015-05-08 15:17:52 +02:00
Jon Coppeard
97a0be091d Bug 1162078 - Ignore timeouts for some CGC tests r=terrence DONTBUILD 2015-05-08 12:48:47 +01:00
Shu-yu Guo
ae7e7a3c6d Bug 1161362 - When initializing a trivial script, also initialize its call object shape to the empty shape. (r=jimb) 2015-05-07 18:16:53 -07:00
Shu-yu Guo
5e9e729e61 Bug 1161351 - Fix unwound exit frame sizes in JitProfilingFrameIterator. (r=nbp) 2015-05-07 18:16:53 -07:00
Shu-yu Guo
c6e095450a Bug 1158223 - Tweak XPConnect stack size on 64bit Windows. (r=bholley) 2015-05-07 18:16:53 -07:00
Steve Fink
087775cc19 Bug 1162310 - Do not use nonexistent macro when XGILL_PLUGIN is defined, r=bhackett
--HG--
extra : rebase_source : 9c9942690f4942d94ae0222168be7e00a352dc69
2015-05-07 09:49:41 -07:00
Nicholas Nethercote
77943547dc Bug 1161377 (part 2) - Remove PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
They're not needed now that there is an initializing constructor and a
destructor.
2015-05-04 22:59:24 -07:00
Tooru Fujisawa
8f9bdad3d6 Bug 1162456 - Part 2: Use --format=automation instead of --tinderbox. r=sfink 2015-05-08 05:05:45 +09:00
Tooru Fujisawa
eb5693819d Bug 1162456 - Part 1: Add --format option in jstests.py and jit_test.py as a replacement for --tinderbox. r=sfink 2015-05-08 05:05:42 +09:00
Jon Coppeard
c3a38c89ae Bug 1161353 - Follow-up to remove more post-barrier verifier cruft; r=terrence
--HG--
extra : rebase_source : 5baf617cbafaafd3f53cf32a07fbfca8396bb135
2015-05-07 03:47:00 -07:00
Tooru Fujisawa
e34cb84e15 Bug 1161410 - Part 2: Use --jitflags instead of --tbpl and --tbpl-debug. r=sfink 2015-05-08 00:28:55 +09:00
Tooru Fujisawa
a155745932 Bug 1161410 - Part 1: Update --jitflags option in jstests.py and jit_test.py as a replacement for --tbpl and --tbpl-debug. r=sfink 2015-05-08 00:28:52 +09:00
Brian Hackett
67f1b5bb27 Bug 1161762 - Fix test used for whether an unboxed object layout is too large, r=jandem. 2015-05-07 07:43:27 -06:00
Olli Pettay
f0a7d4b40a Bug 1161491 - schedulePreciseGC should use the normal GC triggering mechanisms, r=mccr8
--HG--
extra : rebase_source : 6194d1a8ac627adc8262ecbe376bc96a87f1eae9
2015-05-07 14:47:56 +03:00
Gabor Krizsanits
0e8ed736d9 Bug 1148188 - part2: interposeCall. r=billm 2015-05-07 14:03:24 +02:00
Gabor Krizsanits
3dc926d6da Bug 1148188 - part1: defaultShims. r=billm 2015-05-07 14:01:43 +02:00
Jan de Mooij
98d8b74fc0 Bug 1160535 part 5 - Remove the now bogus !maybeScript check in CreateLazyScriptsForCompartment. r=shu 2015-05-07 11:26:37 +02:00
Jan de Mooij
8e9ea4aed8 Bug 1160535 part 4 - Remove an assert in XDRInterpretedFunction that's now bogus. r=nbp 2015-05-07 11:26:35 +02:00
Jan de Mooij
09214d5762 Bug 1160535 part 3 - Make the LazyScript -> JSScript pointer weak. r=jonco,terrence 2015-05-07 11:26:34 +02:00
Jan de Mooij
0a9caa4187 Bug 1160535 part 2 - Do function relazification as part of a new GC phase instead of during marking. r=terrence 2015-05-07 11:26:32 +02:00
Jon Coppeard
1f3e50337f Bug 1157382 - Fix possible data race caused by accessing the mark bits of cells in another runtime r=terrence 2015-05-07 10:14:40 +01:00
Jon Coppeard
3dc34cf2a8 Bug 1161303 - Fix bug in NewObjectCache::newObjectFromHit() caused by previous patch in bug 1155618 r=terrence 2015-05-07 10:14:40 +01:00
Jon Coppeard
8bfc7f20c4 Bug 1155618 - Report allocation failure to context for baseline ICStubs r=jandem 2015-05-07 10:14:40 +01:00
Jon Coppeard
1a1cf55f71 Bug 1161968 - Fix assertion failure in CloneFunctionObject() if script gets relazified r=jandem 2015-05-07 10:14:40 +01:00
Andrea Marchesini
0d81eae126 Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley 2015-05-07 08:05:43 +01:00
Lars T Hansen
3c7be77dcd Bug 1161298 - missing length guard on SAB. r=bbouvier 2015-05-07 11:02:12 +02:00
Phil Ringnalda
fa6795f7e7 Back out cb1b4b057dad (bug 1161362) for Linux64 cgc failures
CLOSED TREE
2015-05-06 21:15:22 -07:00
Bobby Holley
bc1b71c78e Bug 1131707 - Transparently forward the construct bit for function forwarders. r=gabor 2015-05-06 18:11:51 -07:00
Hannes Verschore
85945a96da Bug 1159899: IonMonkey: Fix folding of ~~x, r=nbp 2015-05-07 02:58:27 +02:00
Wes Kocher
a52d273622 Backed out changeset 7c7e849bb5fd (bug 1161351) for sm arm orange CLOSED TREE 2015-05-06 16:53:29 -07:00
Jeff Gilbert
f2d54345fa Bug 1142279 - DataView should require 'new'. - r=efaust 2015-05-06 15:55:05 -07:00
Shu-yu Guo
d1d566331f Bug 1161362 - When initializing a trivial script, also initialize its call object shape to the empty shape. (r=jimb) 2015-05-06 15:55:26 -07:00
Shu-yu Guo
e84c3a1f08 Bug 1161351 - Fix unwound exit frame sizes in JitProfilingFrameIterator. (r=nbp) 2015-05-06 15:55:26 -07:00
Brian Hackett
4bd04662c2 Bug 1160887 - Fix various unboxed object bugs, r=jandem,terrence. 2015-05-06 13:04:59 -06:00
Brian Hackett
f08653fb1d Bug 1161077 - Remove file that is no longer used. 2015-05-06 12:57:59 -06:00
Terrence Cole
98cb57804a No Bug - Add detail to a comment documenting out barrier implementation; r=sfink NO BUILD
--HG--
extra : rebase_source : 5e9c21c16e4ce0e92c5adb5f89b32757cdc1af23
2015-05-06 11:08:48 -07:00
Terrence Cole
d508a33c53 Bug 1161726 - Use a custom tracer for tenuring to avoid the indirect calls; r=jonco
--HG--
extra : rebase_source : e240e6fdbf3f959576bdfec305a96d73ffdb15b0
2015-05-04 17:36:31 -07:00
Terrence Cole
cbb419a12e Bug 1161353 - Remove the post-barrier verifier; r=sfink
--HG--
extra : rebase_source : c145ee6b66e89cba88db807ac4bb531f4034aa89
2015-05-04 17:34:38 -07:00
Terrence Cole
46c74df9cd Bug 1159806 - Replace macro assertions with inline functions; r=sfink
--HG--
extra : rebase_source : 1f9c36500f8e8c843da9552ac8328b36f9882870
2015-04-29 17:42:48 -07:00
Jan de Mooij
31cda07653 Bug 1160535 part 1 - Give JSFunction its own AllocKind. r=terrence 2015-05-06 16:52:46 +02:00
Nicolas B. Pierron
91238dad0a Bug 1161584 - Add TrackedStrategy::SetProp_InlineCache. r=shu 2015-05-06 15:51:45 +02:00
Jon Coppeard
c8e7607510 Bug 1160163 - Refactor arena decommit so we don't have to pass dummy thing kind to allocateArena() r=terrence 2015-05-06 09:45:10 +01:00
Jon Coppeard
eb8eb2cce2 Bug 1160468 - Remove unnecessary pre-barrier when creating undepended string r=terrence 2015-05-06 09:44:42 +01:00
Florian Merz
7e34e69202 Bug 1155211 - SIMD: rename lane mutators - load/store. r=bbouvier
--HG--
extra : rebase_source : 680e0dfa297d8a3c00f20cec254847f9df0d5608
2015-05-05 21:18:36 +02:00
Tooru Fujisawa
dd1f731c81 Bug 1161628 - Fix leak in ErrorWrongTypeArg. r=bbouvier 2015-05-06 15:44:31 +09:00
Terrence Cole
97eb3355da Bug 1160665 - Use the same implementation for both internal and external barriers; r=jonco 2015-05-01 10:23:57 -07:00
Terrence Cole
b8d6f35f9e Bug 1160567 - Assert that object derived types are not exposed in the API; r=jonco
--HG--
extra : rebase_source : c58c189aba2cc50761b9bea36c561da28937f211
2015-05-01 10:23:57 -07:00
Tooru Fujisawa
c1b9fef73b Bug 1157354 - Part 2: Pass --tbpl and --tbpl-debug to more spidermonkey shell build variants. r=sfink 2015-05-05 13:59:51 +09:00
Tooru Fujisawa
8bbfd578ad Bug 1157354 - Part 1: Add --tbpl-debug option to jstests.py. r=sfink 2015-05-05 13:59:51 +09:00
Tooru Fujisawa
95fe780d37 Bug 1160137 - Use 64bit on Windows 8 x64 debug spidermonkey shell build. r=sfink 2015-05-05 13:59:51 +09:00
Tooru Fujisawa
cfbf65c361 Bug 1160490 - Set target to x86_64 for spidermonkey shell build on Windows 8 x64. r=sfink 2015-05-05 13:59:48 +09:00
Brian Hackett
a7c7f13a97 Bug 1161077 - Allocate unboxed arrays in the nursery, r=terrence. 2015-05-04 16:36:54 -07:00
Bobby Holley
70f596dd97 Bug 1151385 - Fail early for cross-origin sandboxPrototype. r=gabor 2015-05-04 11:05:29 -07:00
Benjamin Smedberg
573f0e2266 Bug 1159737 Stop supporting binary XPCOM components except built into the application. r=froydnj sr=bz Some xpcshell tests of binary functionality need to register binary components. Expose a function "registerAppManifest" in the xpcshell environment to make this available to tests without exposing it to addons. r=bholley
--HG--
extra : rebase_source : 1bf47ad1cb8b662ff598c261dae872bc4710e170
2015-05-01 10:23:44 -04:00
Nicolas B. Pierron
a730e5eebc Bug 1150783 - Use a special JitFrame to record when LazyLink stubs are on the stack. r=h4writer 2015-05-04 15:14:39 +02:00
Nicolas B. Pierron
062cbcb37b Bug 1158344 part 1 - Use the an instruction which is not a beta node for hoisting bounds checks. r=sunfish 2015-05-04 15:14:39 +02:00
Nicolas B. Pierron
ab884c1ed0 Bug 1138195 - Ensure that the bytecode analysis is consistent with the bindings. r=jandem 2015-05-04 15:14:38 +02:00
Gabor Krizsanits
0d0e444a6c Bug 1101182 - One interpose call for one property access. r=bholley 2015-05-04 08:57:52 +02:00
Brian Hackett
84dfa1e4b6 Bug 1146597 - Remove redundant check for unboxed object/array runtime option. 2015-05-03 17:19:02 -07:00
Brian Hackett
6eb4312856 Bug 1157703 - Cache iterators involving unboxed objects, r=jandem. 2015-05-03 15:27:12 -07:00
Brian Hackett
e49076a042 Bug 1146597 - Add unboxed arrays for JSOP_NEWARRAY arrays, and shell option for using them, r=jandem. 2015-05-03 08:14:04 -07:00
Jeff Walden
b12a103ee6 Bug 1160356 - Make new Date(arg1, arg2, ...) conform to ES3-6 in converting *all* arguments to number before computing the return value. r=evilpie
--HG--
extra : rebase_source : 0bf2e56b4ad6b0263f4667132a076f49097b7c09
2015-04-30 09:58:58 -07:00
Jeff Walden
17e4e9f07d Bug 1160356 - Reorganize the code for the Date function/constructor into three separate methods, to be more consistent with ES6's definition of it. Don't change the actual algorithm yet -- this is just code motion. r=evilpie
--HG--
extra : rebase_source : 8bb70758f5ddc11e1724da3f6377ec04ed0f830a
2015-04-30 09:58:58 -07:00
Jeff Walden
5a393f014e Bug 1160356 - Make Date.UTC conform to ES3-6 in converting *all* arguments to number before computing the return value. r=evilpie
--HG--
extra : rebase_source : 2386fd0deeba28bc5498a0ca05c58fbdd6eebf5b
2015-04-30 09:58:58 -07:00
Terrence Cole
b5dfabcf7a Bug 1159428 - Use Value and Id type-based dispatching to simplify barriers; r=jonco 2015-04-30 11:29:43 -07:00
Eric Rahm
c8bf1cc5bb Bug 1160267 - JS build files should not declare IMPL_MFBT. r=glandium 2015-04-30 15:10:03 -07:00
ProgramFOX
fb6534e52f Bug 1153602 - SIMD (interpreter): Added more test cases for ReciprocalSqrtApproximation. r=Waldo
--HG--
extra : rebase_source : ec9c31faf47304287c9988934266613298dfd6b3
extra : histedit_source : d4592bc8fd6d2abcd2ce7c363d2b36dc1c4641e0
2015-04-29 16:56:53 +02:00
Jon Coppeard
8842b5aa7d Bug 1155618 - Fix tracelogger destructor that touches possibly uninitialised hash table r=benj 2015-05-01 16:26:11 +01:00
Jon Coppeard
2b72bcece6 Bug 1155618 - Fix places where OOM errors are not reported to the context in js::DependentAddPtr r=terrence 2015-05-01 16:26:10 +01:00
Jon Coppeard
47e955919b Bug 1155618 - Fix some places where OOM errors are not reported to the context r=terrence 2015-05-01 16:26:10 +01:00
Jon Coppeard
a87fc242a0 Bug 1159714 - Templatise AutoVectorRooter implementation r=terrence 2015-05-01 16:26:10 +01:00
Tom Schuster
9e88c94d46 Bug 1158463 - Reorder property creation in js::FromPropertyDescriptorToObject. r=Waldo 2015-05-01 12:32:53 +02:00
Florian Scholz
8a26645679 Bug 1153825 - Fix length properties of (Weak){Map,Set} constructors; r=evilpie 2015-05-01 12:32:53 +02:00
Ryan VanderMeulen
9440cb5e32 Merge m-c to inbound. a=merge
CLOSED TREE

--HG--
extra : amend_source : f158ed522808c8be66f918e7cd2d674a93e9e8b8
2015-05-01 10:50:07 -04:00
Ryan VanderMeulen
ae1b497c22 Backed out 3 changesets (bug 1155900) for frequent browser_net_cached-status.js failures. CLOSED TREE
Backed out changeset 8b3bb908f6fc (bug 1155900)
Backed out changeset 195a3736c877 (bug 1155900)
Backed out changeset 5d7b3b8cce5a (bug 1155900)
2015-05-01 09:30:44 -04:00
Jeff Walden
83932b837b Bug 1155900 - Followup test-fix and no-longer-correct assertion removal. r=bustage in a CLOSED TREE 2015-04-30 22:54:53 -07:00
Jeff Walden
4ad3d8c29d Bug 1155900 - Make frontend-triggered GetIterator perform ToObject before doing GetMethod(..., @@iterator), and add tests. (There's no behavioral change, except in terms of error messages, because the presence of bug 603201 causes this ToObject call to happen anyway -- but if that bug had been fixed before this one, these changes would have fixed a bug.) r=shu
--HG--
extra : rebase_source : aa1a9e88b6c45f1e8b0918a9620a788de261e9db
2015-04-20 19:51:17 -07:00
Jeff Walden
aea46014f9 Bug 1155900 - Pass destructuring right-hand-side expressions through ToObject before properties are destructured out of them. r=shu
--HG--
extra : rebase_source : 8c9efea4cbd4a638770860df0f94894f4b415d03
2015-04-17 21:57:50 -07:00
Boris Zbarsky
cee7584c17 And fix this to actually compile... Still bug 1160311. 2015-04-30 21:58:07 -04:00
Boris Zbarsky
0791d50265 Bug 1160311. JITs should be enabled by default. r=jorendorff 2015-04-30 17:36:50 -04:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Wes Kocher
8077a39947 Backed out changeset 2736f8056026 (bug 1160311) for SM(e) bustage CLOSED TREE 2015-04-30 15:26:29 -07:00
Terrence Cole
a044cbc08e Bug 1159540 - Organize and comment the marking paths; r=sfink 2015-04-29 10:23:24 -07:00
Boris Zbarsky
492e64bca9 Bug 1160311. JITs should be enabled by default. r=jorendorff 2015-04-30 17:36:50 -04:00
Terrence Cole
38655a0b62 Bug 1159402 - Remove the zone-specialized Value barriers; r=sfink
--HG--
extra : rebase_source : f9d2f2f797f8826ef946409e788b166bb8969a8e
2015-04-30 11:29:21 -07:00
Ryan VanderMeulen
4e0f4f8c6c Merge inbound to m-c. a=merge 2015-04-30 13:56:09 -04:00