Commit Graph

190 Commits

Author SHA1 Message Date
Eric Faust
8cc5a05403 Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Luke Wagner
2c9d40f617 Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
* * *
imported patch fix-debugger-for-non-reentrant-removal

--HG--
extra : rebase_source : d77f8e19d0674726fb4078a73b6a3cb57ac91d73
2012-07-03 10:24:35 -07:00
Ed Morley
b42ebe8a76 Backout 6bbf3f22bb5d (bug 753158), 38a703b244c2 (bug 753145), c9a5dfa1b07d (bug 767750), cd782fd66995 & 6cf7aa93994c (bug 765956), 0253f34f6bc2 & 41d5c8529748 (bug 771039),94f6bf99a4aa (bug 766447),fad7d06d7dd5 (bug 772303) for winxp pgo-only jsreftest failures (caused by fad7d06d7dd5) and the rest for conflicts, on a CLOSED TREE 2012-07-12 13:04:51 +01:00
Luke Wagner
85d2d15622 Bug 765956 - Remove the non-reentrant closure optimization (r=bhackett)
* * *
imported patch fix-debugger-for-non-reentrant-removal

--HG--
extra : rebase_source : d534ed39a2ae3e245588288391759744f2081bde
2012-07-03 10:24:35 -07:00
Eric Faust
c9728904d1 Bug 766447 - Teach TI about the new DOM bindings. (r=bhackett) 2012-07-11 20:55:19 -07:00
Brian Hackett
d270a70bec Add more rooters, bug 772303. r=billm 2012-07-10 19:17:29 -06:00
Nicholas Nethercote
e134be45fd Bug 687724 (part 1) - Convert JSCompartment::gcRunning to gcState. r=wmccloskey.
--HG--
extra : rebase_source : 5ba4e3b170ffd98495f31dd04a6be46ad33d497b
2012-07-03 17:24:03 -07:00
Bill McCloskey
252cf2ecc5 Bug 771018 - Replace "const Shape" with "Shape" (r=luke) 2012-07-04 19:33:41 -07:00
Bill McCloskey
2100b10524 Bug 770759 - Add mutable handles (r=bhackett) 2012-07-04 11:12:16 -07:00
Luke Wagner
2b93f97fce Fix 'inline function used but never defined' warnings (no bug, r=themaid) 2012-07-02 09:25:09 -07:00
Steve Fink
c58643e4c6 Bug 767141 - moar rooting. r=bhackett
Believed to be complete rooting for jsapi.cpp, ctypes/CTypes.cpp, and frontend/BytecodeCompiler.cpp, and lots of rooting for additional things I encountered along the way

--HG--
extra : rebase_source : 638ab985e7d9c96654347364d053bb4a3acf3b36
2012-06-21 14:19:21 -07:00
Brian Hackett
db4e554a69 Specialize big typed arrays with singleton types, bug 762561. r=dvander 2012-06-27 07:10:50 -07:00
Phil Ringnalda
dcd5e0401d Back out e3ec1bc37d8c (bug 762561) for debug make check orange 2012-06-26 19:53:59 -07:00
Brian Hackett
3a5a434a81 Specialize big typed arrays with singleton types, bug 762561. r=dvander 2012-06-26 17:47:20 -07:00
Eric Faust
962c0913dd Bug 764148 - Stop incorrectly shadowing TI properties on sets if a setter would
be called. r=bhackett
2012-06-25 17:32:34 -07:00
Luke Wagner
9c66f5afd5 Bug 756864 - Avoid quadratic cost of JS_GetFramePC when the stack is deep (r=bhackett) 2012-06-23 20:46:14 -07:00
Bill McCloskey
73c46100a8 Bug 765313 - script->types is getting thrown out too soon in JSScript::ensureRanAnalysis (r=bhackett) 2012-06-22 11:30:54 -07:00
Brian Hackett
1573459c2b Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Steve Fink
12fee613a0 Bug 757682 - Add JSProto_DataView to the setFlagsFromKey assert. r=bhackett
--HG--
extra : rebase_source : 9bffcb95273680a5a6c47a4751215d61ebc889fd
2012-05-24 13:25:49 -07:00
Brian Hackett
b8298cecde Remove Root<T>, bug 756823. r=billm 2012-05-24 08:52:21 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
bf76d70428 Don't throw away JIT code for compartments in web pages displaying animations, bug 750834. r=billm 2012-05-09 14:14:10 -07:00
Bill McCloskey
cc31724901 Bug 748119 - Read barrier for js::types::Type (r=bhackett) 2012-05-07 10:12:52 -07:00
Jason Orendorff
f103f34e07 Bug 745802 - JS OOM Testing: Crash [@ js::HeapId::operator jsid]. r=bhackett.
--HG--
extra : rebase_source : ef4e762c3e63cbcc09247f861c4d7c030b389b10
2012-04-26 15:57:29 -04:00
Jeff Walden
bc60b350a5 Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 3eb96a33102f0b76438dbb79ecb46e817bc1b767
2012-05-01 14:30:18 -07:00
Matt Brubeck
6772a57f47 Back out 682bf201edde, ef35ba222ac8, and 6a20cf61289d (bug 750907, bug 751003, bug 751377) because of build failure on a CLOSED TREE
--HG--
rename : js/src/gc/Marking.cpp => js/src/jsgcmark.cpp
rename : js/src/gc/Marking.h => js/src/jsgcmark.h
2012-05-03 14:55:52 -07:00
Jeff Walden
2044564243 Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
--HG--
rename : js/src/jsgcmark.cpp => js/src/gc/Marking.cpp
rename : js/src/jsgcmark.h => js/src/gc/Marking.h
extra : rebase_source : 2829c44da4316ceb6af0f4627158e337dd6ba28a
2012-05-01 14:30:18 -07:00
Brian Hackett
71506db37a Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Matt Brubeck
b7d725d72a Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds 2012-04-12 22:07:43 -07:00
Brian Hackett
90b23329e3 Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Brian Hackett
8f6d99798b Bail out from on calling functions if an OOM occurs while during initial bytecode analysis, bug 727341. r=luke 2012-04-10 12:24:46 -07:00
Igor Bukanov
45bee87157 Bug 737365 - stop using the cx during finalization, part 3.
This part removes the usage of JSContext* during the finalization and
when sweeping the compartments. That required to change quite a few
methods in type inference, jit and debugger implementation to take a
FreeOp rather than JSContext pointer. In turn that also often required
to replace cx->compartment usage with extracting the compartment from
the passed objects or pass the compartment explicitly. On the plus side
it allowed to remove fallible compartment enter code in methods that
could be called during finalization.
2012-03-20 11:22:05 +01:00
Brian Hackett
0baaf796f4 Use singleton types for global object initializers, bug 731398. r=dvander 2012-03-21 07:37:43 -06:00
Terrence Cole
610ce813e4 Bug 728343 - Make unbarriered object marking interface indirect ; r=billm
This will allow us to move objects that are not wrapped in a HeapPtr.
2012-02-17 11:46:11 -08:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Justin Lebar
eabf2efeae Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
379c6ab88b Bug 729940 - Part 2: Stop using crappy hash functions in the js engine. r=bhackett 2012-03-04 13:49:41 -05:00
Jan de Mooij
82da0fa223 Bug 730836 - Refactor SetObjectElementOperation to avoid a GetPcScript call. r=pierron
--HG--
extra : rebase_source : 889b08873e1cab824f62c09c412e6b8d85a98b28
2012-02-28 12:06:42 +01:00
Terrence Cole
276ed7807a Bug 727281 - Make JSObject* for Root and Barriered marking indirect; r=billm
This will allow us to move HeapPtr and rooted objects when tracing.

--HG--
extra : rebase_source : 6752792c1610899350eee1d5151136090de94f42
2012-02-14 15:19:55 -08:00
Terrence Cole
a877d9b43e Bug 721463 - Clean up and minimize marking interfaces; r=billm
Currently, the marking interfaces are a giant pile of duplicated and,
frequently, unused code.  This patch reworks the interface to clean
up jsgcmark.h.
2012-02-14 09:10:23 -08:00
Phil Ringnalda
14bf78c766 Back out 61d58d97747a (bug 721463) on expanded suspicion of GC crashes 2012-02-09 21:02:19 -08:00
Terrence Cole
389bd33824 Bug 721463 - Clean up and minimize marking interfaces; r=billm
Currently, the marking interfaces are a giant pile of duplicated and,
frequently, unused code. This patch reworks the interface to clean
up jsgcmark.h.

--HG--
extra : rebase_source : 34797ffbdc8940d3de312b650163910ad8b1b728
2012-01-24 19:34:44 -08:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
b34f83251c Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap. 2012-01-27 14:16:27 -06:00
Phil Ringnalda
44050661bf Back out 88145df4191a, 42408569a696, and 2108d51be2e7 (Bug 719841, Bug 678086, and Bug 695922) for tp crashes on a CLOSED TREE 2012-01-27 14:22:10 -08:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
67533cf65a Do not innerize an object assigned to __proto__ or used as the target of a with statement. Bug 719841, r=mrbkap. 2012-01-27 14:16:27 -06:00
Jan de Mooij
76646917e5 Move GETELEM/SETELEM operations to jsinterpinlines (bug 718683, r=pierron) 2012-01-24 16:20:34 +01:00
Geoff Lankow
abbcd75aa0 Backed out changeset febc999231e4 (bug 719841) 2012-01-21 11:26:37 +13:00
Bobby Holley
9f30bd70b1 Bug 719841 - Assert that inner objects don't appear in prototype chains. r=jorendorff 2012-01-20 13:32:44 -08:00
Jan de Mooij
d509a9c8b2 Bug 719135 - Move some arithmetic operations to jsinterpinlines. r=dvander 2012-01-20 13:01:44 +01:00