Nicolas Pierron
c17842925f
Bug 908903 - Add testing function to toggle jit compiler options. r=jandem
2013-08-27 16:32:04 -07:00
Shu-yu Guo
4cccd558d3
Bug 908939 - Use the original function to construct the |this| type set in inline dispatch in Ion. (r=jandem)
2013-08-27 16:01:54 -07:00
Shu-yu Guo
1b03516a2b
Bug 903028 - Do not allocate type sets off main thread. (r=bhackett)
2013-08-27 16:01:53 -07:00
Shu-yu Guo
626d2e0130
Bug 909599 - Initialize PerThreadData for ForkJoinSlice. (r=nmatsakis)
2013-08-27 16:01:53 -07:00
Andrew McCreight
d168e85a9e
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug,bholley,bz
2013-08-27 15:39:02 -07:00
Luke Wagner
bb164a9906
Bug 909534 - tidy up AsmJSSignalHandler, remove unnecessary SIGBUS handling (r=bhackett)
...
--HG--
extra : rebase_source : a02fa6e374ea610db1e964181b84e251e5e44cbf
2013-08-27 17:33:32 -05:00
Luke Wagner
52056ee677
Bug 909534 - don't call exit as a backstop in AsmJSSignalHandler (r=bhackett)
...
--HG--
extra : rebase_source : 12f00124b6c1806e0628d3eda0a47e474b24327d
2013-08-27 17:32:58 -05:00
Kannan Vijayan
e350040366
Bug 906781 - Optimize JSOP_FUNAPPLY with Array argument in Baseline. r=bhackett r=jandem
2013-08-27 18:32:40 -04:00
Bobby Holley
41d0a60a21
Bug 899367 - Make GetNativeGlobal consumers call GetWindowProxy and rm the former. r=mccr8
...
Some of the uses of this are a bit nonsensical now, but that's a problem for
another day.
2013-08-27 15:21:40 -07:00
Bobby Holley
f4699b4f3a
Bug 899367 - Remove xpc_UnmarkGrayContext. r=mccr8
...
Default compartment objects are never gray anymore.
2013-08-27 15:21:39 -07:00
Bobby Holley
c7d814d8ce
Bug 899367 - Remove JSOPTION_UNROOTED_GLOBAL. r=luke,mccr8
...
\o/
2013-08-27 15:21:39 -07:00
Bobby Holley
360beeeaef
Bug 899367 - Stop storing the window proxy on the JSContext. r=mccr8
...
We need to simultaneously report the new Heap Pointer to the cycle collector,
and remove the old machinery for cycle-collecting the default object via the
JSContext.
2013-08-27 15:21:39 -07:00
Bobby Holley
f4dd8b2c3e
Bug 899367 - Stop depending on the default compartment object for DOM JSContexts. r=mccr8
2013-08-27 15:21:38 -07:00
Bobby Holley
3a95399b84
Bug 899367 - Add an API to opt out of default compartment objects. r=luke
...
We need this explicit API because otherwise the default compartment object will
get set implicitly during the first call to InitClasses.
2013-08-27 15:21:38 -07:00
Bobby Holley
d592d5f81c
Bug 899367 - Explicitly traverse outer windows, rather than doing it via JSContext iteration. r=mccr8
...
Note that this machinery will go away in further patches. But we want to be
deliberate about each of these steps.
2013-08-27 15:21:38 -07:00
Bobby Holley
afb9cf290d
Bug 899367 - Explicitly trace outer windows, rather than doing it via JSContext iteration. r=mccr8
2013-08-27 15:21:37 -07:00
Bobby Holley
f3bdcc8e2c
Bug 899367 - Add an API to determine if we're marking gray. r=billm
...
This allows us to assert that certain callbacks get invoked during the gray
phase of a marking GC.
2013-08-27 15:21:37 -07:00
Bobby Holley
b9441e23f7
Bug 899367 - Only use JSOPTION_UNROOTED_GLOBAL for DOM JSContexts. r=mccr8
...
We don't cycle collect any other kind, so there's no difference between marking
them gray and letting the JS engine mark them black. This also gets rid of that
nasty code which reset the flag, which billm theorizes has to do with faulty
logic in ContextHolder when creating ephemeral sandbox cxes. The assertion in
this patch should catch us if anything goes wrong.
2013-08-27 15:21:37 -07:00
Terrence Cole
c1259eea9d
Bug 909866 - Fix an exact rooting hazard in JSCompartment::wrap; r=sfink
...
--HG--
extra : rebase_source : 637cea3f6c93a333bfe9000f0837663fd0905853
2013-08-27 15:16:03 -07:00
Justin Lebar
4aeeb65d91
Bug 909514 - Include <new> before mozilla::Maybe (and move Maybe into mfbt/Maybe.h). r=waldo
...
--HG--
rename : mfbt/Util.h => mfbt/Maybe.h
2013-08-27 15:10:28 -07:00
Jeff Walden
a25a1de512
Bug 905947 - Don't assert when redefining an array's length to be configurable via the JSAPI. r=jorendorff
...
--HG--
extra : rebase_source : 4729e0aca6ea7addb56fd12a280eb2b1b4469ad7
2013-08-20 17:06:51 -07:00
Gregory Szorc
fc42180b67
Bug 909412 - Don't attempt to track tier progression during partial tree builds; r=glandium
2013-08-27 14:40:07 -07:00
Jeff Walden
9b30e2b732
Bug 908898 - Move the JS_PS{G,GS,_END} macros from jsobj.h into jsapi.h for general use. r=jorendorff
2013-08-21 15:33:11 -07:00
Jeff Walden
ab0c881137
Bug 907958 - Disallow |function function() {}| and similar unreadabilities. r=jorendorff, r=wingo for the yield interactions, r=luke for the asm.js interactions
2013-08-15 10:07:40 -07:00
Jeff Walden
f6490d9710
Bug 907958 - Change a test to not expect exact error messages, only that the errors are SyntaxErrors. r=simple-test-fixup
...
--HG--
extra : rebase_source : 106e9f5be720a0d781db3e4a94bc07926b02bf2e
2013-08-26 14:05:17 -07:00
Ryan VanderMeulen
eb87abbc5c
Bug 908920 - Don't assume suspended generator activations have a script. r=jorendorff
...
This patch makes legacy (JS 1.7) and star (ES6) generators have
different classes, avoiding the need to poke through to the frame's
script to see which kind they are. This steps around a failure to get
a frame's script after GC, when the script was thrown away, while also
preparing for bug 907744.
To detect errors in the future, also make accesses to gen->fp->script()
cause a null pointer deref in debug mode. This caught another bug in
generator_close_impl(), in which with GGC it could be possible to
reference a return value from the recently dead frame. This was easily
fixed because that value is always undefined.
2013-08-27 14:01:11 -04:00
Jan de Mooij
78121fe6ce
Bug 909505 - Fix IonBuilder to set the Folded flag on the instanceof rhs if needed. r=bhackett
2013-08-27 19:50:00 +02:00
Brian Hackett
6c7134cbc0
Bug 908301 - Remove dedicated source compression thread, use JS worker threads instead, allow saving source when parsing off thread, r=benjamin.
2013-08-27 11:48:55 -06:00
Andrew McCreight
dbe5cdd3b0
Backed out changeset 365053e73efa for build bustage on this CLOSED TREE.
2013-08-27 09:54:01 -07:00
Andrew McCreight
a93fe393a9
Bug 904826 - Remove some unneeded nsLayoutStatics calls. r=smaug
2013-08-20 14:19:33 -07:00
Douglas Crosher
b86bb4630f
Bug 909323 - Improve jit-tests ADB support. r=terrence
2013-08-26 23:32:32 +10:00
Jed Davis
861703e88c
Bug 890143 - BaselineSecondScratchReg is not available in Baseline mode. r=djvj
2013-08-27 09:01:45 -04:00
Felix S. Klock II
3ff0c98492
Bug 901000: regression test.
...
Bug 901000: regression test.
2013-08-22 08:01:00 +02:00
Felix S. Klock II
1f0542d508
Bug 901000: Added uncached variants of Math functions for PJS (r=nmatsakis).
2013-08-22 16:33:35 +02:00
Dan Minor
69ab32a7bd
Bug 908906 - Add test summary info to jit-tests when run with --tinderbox;r=terrence
2013-08-27 07:18:03 -04:00
Jan de Mooij
899e6dee9e
Bug 909499 part 2 - Rename jit::IsEnabled to jit::IsIonEnabled. r=njn
2013-08-27 12:50:53 +02:00
Jan de Mooij
cc97a61bf9
Bug 909499 part 1 - Rename js::ion namespace to js::jit. r=njn
2013-08-27 12:50:16 +02:00
Jon Coppeard
305702cb73
Bug 726687 - Stop rekeying from calling pre barriers r=terrence
2013-02-15 17:59:19 +00:00
Jon Coppeard
2eb25384eb
Bug 726687 - GC: rewrite key marking in terms of HashMap::rekey r=terrence
2013-02-15 10:42:39 +00:00
David Anderson
86124d9cd4
Don't deadlock on a child process for a CPOW (bug 905896, r=cjones).
2013-08-26 21:56:57 -07:00
Nicholas Nethercote
4b89de8370
Bug 909178 (part 2) - Make jsclass.h not depend on jsapi.h, and rename it js/Class.h. r=jwalden.
...
--HG--
rename : js/src/jsclass.h => js/public/Class.h
extra : rebase_source : 31ecd4074181c234f7f71eef04a10ae371c35eaa
2013-08-21 22:26:57 -07:00
Nicholas Nethercote
c31cde29ea
Bug 909178 (part 1) - Move |jsid| from jsapi.h into js/Id.h. r=luke.
...
--HG--
extra : rebase_source : b0d38093a9f40a532e73c2c30ae86b8970b814ac
2013-08-21 22:26:56 -07:00
Nicolas Pierron
1ee8af3657
Bug 907333 - IonMonkey: Add MAssertRange. r=h4writer
2013-08-26 20:49:20 -07:00
Nicholas Nethercote
20f867d44a
Bug 909171 (part 3) - Remove JS_VERSION. r=luke.
...
--HG--
extra : rebase_source : b09e2c23654675cfb5f93cea5f372bcb8d9ddce5
2013-08-26 17:09:40 -07:00
Nicholas Nethercote
6496e4ecff
Bug 909171 (part 2) - Fix up jsversion.h includes. r=luke.
...
--HG--
extra : rebase_source : 2938ddad7ae8f9ea4069847688f461fa5caed40e
2013-08-26 17:09:30 -07:00
Nicholas Nethercote
e00147012d
Bug 909171 (part 1) - Add JS_ prefixes to macros missing them in jsversion.h. r=luke.
...
--HG--
extra : rebase_source : f8afce8bbed7a940e9168f4f851d18c5d30620e7
2013-08-26 17:09:27 -07:00
Shu-yu Guo
7cab769de8
Bug 903655 - JSOP_GETELEM always needs a type barrier in parallel execution. (r=bhackett)
2013-08-26 16:20:17 -07:00
Nicolas Pierron
e757f17e1c
Revert "Bug 907333 - IonMonkey: Add MAssertRange. r=h4writer"
...
This reverts changeset a559154a056c for oranges with --ion-check-range-analysis.
2013-08-26 15:43:51 -07:00
Nicolas Pierron
f3d6d4154b
Bug 907333 - IonMonkey: Add MAssertRange. r=h4writer
2013-08-26 14:36:23 -07:00
Luke Wagner
8c248939fd
Also recognize Inlines.h as a inlines header suffix in check-style (no bug, r=bustage)
...
--HG--
extra : rebase_source : 876ee986c8533afa0a3ba5b67c0a8efd588bd083
2013-08-26 12:21:06 -05:00