David Anderson
8c137d381a
Merge from mozilla-central.
2012-03-02 12:10:27 -08:00
David Anderson
3d31a8f115
Merge from mozilla-central.
2012-03-01 13:45:48 -08:00
David Anderson
6d7ef54b55
Merge from mozilla-central.
2012-02-28 12:21:56 -08:00
Bill McCloskey
0adf2c88b8
Bug 767234 - Don't invoke write barrier on generator slots (r=luke)
2012-06-22 11:24:20 -07:00
David Anderson
944ac2e297
Merge from mozilla-central.
2012-02-27 12:40:46 -08:00
David Mandelin
197f344254
Bug 732306: Remove typedef jsint, r=luke
2012-03-01 18:54:01 -08:00
Luke Wagner
abf23bd479
Bug 659577 - Don't alias stack variables (r=bhackett)
2012-02-23 13:59:10 -08:00
David Anderson
bf1d1f36ef
Merge from mozilla-central.
2012-02-22 19:25:06 -08:00
David Anderson
4c9cc22c1f
Merge from mozilla-central.
2012-02-21 15:08:22 -08:00
Luke Wagner
43a3fa6fbc
Bug 720753 - hoist NativeIterCache from JSCompartment into JSRuntime (r=bhackett)
2012-05-03 09:12:47 +02:00
Jeff Walden
ccfdb076a6
Bug 728423 - Fix warnings in js/src related to JSObject::asString et al (r=luke)
2012-02-20 13:56:10 -08:00
Jim Blandy
ba67e59fc0
Bug 777174: Change CallNonGenericMethod to take the predicate and implementation as template arguments, not function arguments. r=luke
...
On x86_64 Fedora 17, this patch yields an 8ms (1.6%) speedup on SunSpider compared to the tree just prior to the introduction of CallNonGenericMethod, or a ~12ms (2.8%) speedup compared to the tree just after the introduction.
2012-08-16 11:40:05 -07:00
David Anderson
ac747662fa
Merge from mozilla-central.
2012-02-14 15:04:32 -08:00
Igor Bukanov
c7e7021207
Bug 737365 - stop using the cx during finalization, part 1.
...
This part changes the signatures for various finalization API to take
not JSContext* but rather either JSFreeOp structure or its
library-private counterpart FreeOp. These structures wrap parameters
that are passed to the finalizers removing most of explicit dependencies
on JSContext in the finalization code.
2012-03-19 15:34:55 +01:00
David Anderson
35a7f057f9
Merge from mozilla-central.
2012-02-13 12:32:58 -08:00
Brian Hackett
6a16d5454f
Add more rooters, bug 772303. r=billm
2012-07-10 19:17:29 -06:00
Jeff Walden
f097896b3d
Bug 771743 - Remove generator_op and have the methods that call it do their work manually. r=luke
2012-07-06 15:35:59 -07:00
Bill McCloskey
a1bc48033a
Bug 722028 - Need write barrier for SuppressDeletedPropertyHelper (r=bhackett)
2012-02-10 18:32:18 -08:00
Bill McCloskey
0d7f15a31c
Bug 723313 - Stop using conservative stack scanner for VM stack marking (r=luke,bhackett)
2012-02-10 18:32:08 -08:00
Igor Bukanov
0265d1f860
bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke
2012-02-13 09:02:21 +01:00
David Anderson
85bd64c5c9
Merge from mozilla-central.
2012-02-08 19:13:56 -08:00
Brian Hackett
67bda865f9
Compile JSOP_ITER (bug 701965, r=jandem)
2012-02-08 11:05:32 +01:00
David Anderson
bdae2ae7b1
Ensure that iterators are closed when an exception is thrown (bug 729797, r=luke).
2012-02-27 17:01:52 -08:00
Brian Hackett
b4c002a912
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 15:03:45 -07:00
Brian Hackett
4f8baecc9e
Backed out changeset 5fc7462dd394 for android orange.
2012-05-19 11:52:55 -07:00
Brian Hackett
b7d2500332
Use handles in API object hooks where possible, bug 750733. r=billm
2012-05-19 09:48:09 -07:00
Jeff Walden
41de02b8c9
Bug 773850 - Refactor method guarding to be able to work for methods that must be able to accept a |this| which is a proxy. r=luke
2012-07-03 17:44:22 -07:00
Luke Wagner
ae4c51ced0
Bug 734129 - uncatchable exceptions should still pop cx->enumerators (r=dvander)
2012-03-09 16:25:50 -08:00
Jason Orendorff
0d99c649c3
Add CallArgs::hasDefined convenience method. Bug 730676, r=luke.
2012-03-01 12:48:52 -06:00
Jason Orendorff
f3feffa1f4
Make Map and Set constructors take a single iterable argument. Bug 726223, r=luke.
2012-03-01 09:01:46 -06:00
Jason Orendorff
37bb9d2c51
Element iterators should use [[Get]] and not peculiarly ignore the prototype chain. Bug 725168, r=Waldo.
2012-03-01 09:01:45 -06:00
Jeff Walden
b580faca5d
Remove internal #includes of jsstdint.h, the functionality of which is now part of the JSAPI and need not be explicitly #included. No bug, r=evilpies, r=jorendorff, r=terrence, all over IRC
2012-01-22 21:22:10 -08:00
Brian Hackett
640d82f7e5
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
c5e4bddc54
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
dc3d6c24fc
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
Terrence Cole
30176f3b0a
Bug 743868 - Fix barriers in SupressDeletedProperties; r=billm
...
Right now, we simply stop tracing through deleted properties. This causes us to
delete things that are still in the write buffer. We need to, in addition, set
the reference to NULL to ensure that the write buffer doesn't dereference these
dead entries.
2012-04-09 16:52:50 -07:00
Terrence Cole
90fa9d1141
Bug 714109 - Add missing barriers to Generator; r=billm
...
The generator object stores aside values from the stack of the generator
function when the generator is not running. These values need to properly root
objects in the nursery.
2012-02-13 10:01:18 -08:00
Luke Wagner
cd818c77ee
Bug 746843 - change StackFrame::scopeChain() to return a HandleObject (r=bhackett)
2012-04-13 18:06:40 -07:00
Luke Wagner
b6c1dd76de
Bug 690135 - create scope objects eagerly or not at all (r=jimb)
2011-12-20 17:42:45 -08:00
Bill McCloskey
ca293fdba6
Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor)
2012-02-17 14:35:20 -08:00
Terrence Cole
d5bba64499
Bug 727281 - Make JSObject* for Root and Barriered marking indirect; r=billm
...
This will allow us to move HeapPtr and rooted objects when tracing.
2012-02-14 15:19:55 -08:00
Jeff Walden
ee062ae67e
Windows-specific warning patrol. No bug, r=themaid
2012-02-25 01:59:12 -08:00
Jason Orendorff
c1c36f610b
Bug 699565 - Part 3 - for-of loops on wrappers. r=bhackett.
2012-02-07 12:57:16 -06:00
Jason Orendorff
774282f9ae
Bug 699565 - Part 2 - for-of loops on arrays. r=bhackett.
2012-02-07 12:57:16 -06:00
Jason Orendorff
9b97a3a1af
Bug 699565 - Part 1 - for-of loop basics. r=Waldo.
2012-02-07 12:57:16 -06:00
Brian Hackett
e352970e66
Root strings in native iterators when converting from array of jsids, bug 719686. r=dvander
2012-01-20 16:22:16 -08:00
Brian Hackett
851444a29f
Store JSStrings instead of jsids in native key iterators, bug 713754. r=dvander
2012-01-18 16:56:22 -08:00
Jason Orendorff
31ce0c4155
Bug 752092 - Support building SpiderMonkey without JS_HAS_XML_SUPPORT. r=terrence.
2012-05-14 18:53:30 -05:00
Chris Leary
bf0951e061
Bug 717762: Proliferate js_memcpy and PodCopy, take 2. (r=luke)
2012-01-17 14:32:36 -08:00
David Mandelin
f0690b22d1
Bug 730511: remove obsolete typedefs intN, uintN, r=luke
2012-02-28 15:11:11 -08:00