Commit Graph

18065 Commits

Author SHA1 Message Date
Steve Fink
b35e63ca4e Bug 731450 - jstests.py needs to import subprocess.call. r=dmandelin
--HG--
extra : rebase_source : b80c2698e84b9744dbc7faeb2ce5654479f7b6d4
2012-02-28 17:15:26 -08:00
Steve Fink
4ca2e4600b Bug 719294 - Eliminate the bytecode space optimization where it omits the starting line number. r=luke
As per this comment:

/*
 * Special case: function definition needs no line number note because
 * the function's script contains its starting line number.
 */

But this is the only reason why you need a JSContext in js_PCToLineNumber, and I have a user that needs to do the lookup without a context.

--HG--
extra : rebase_source : 73064dbbbf31949d19c8f1e1b18eb4febf127c87
2011-06-06 14:11:08 -07:00
Steve Fink
de27a605cf Bug 730144 - Label objects with their mark colors when dumping the heap. r=mccr8
--HG--
extra : rebase_source : 14b88d188875dd2f1fe90b9e16af77ef81018fde
2012-02-23 18:47:59 -08:00
David Mandelin
0be0db4666 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Nathan Froyd
6f835d88b2 Bug 731248 - Remove duplicate headers in js/src. r=luke 2012-02-28 12:01:52 -05:00
Luke Wagner
8f3a03dd2f Bug 731181 - Handle GC during RegExpShared::compile (r=billm)
--HG--
extra : rebase_source : bfc5af40e73cd5be1dce0fe2198175ae19e77998
2012-02-28 15:36:19 -08:00
Bill McCloskey
149b4aa9eb Bug 729367 - Add write barrier flag to shell worker class (r=jorendorff) 2012-02-28 10:43:56 -08:00
Brian Hackett
84e1964a4e Make sure to allocate auxiliary PC counter arrays when required, bug 721274. r=dvander 2012-02-28 08:00:24 -08: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
Igor Bukanov
f5e1d2235d bug 730987 - remove per-context debug hooks. r=luke 2012-02-28 11:54:40 +01:00
Luke Wagner
a5cbd429bb Bug 729382 - move the rest of the CallObject into ScopeObject (r=waldo) 2012-02-23 13:58:39 -08:00
Luke Wagner
7103faa24e Bug 724790 - get rid of the hasOverriddenArgs funny business (r=waldo) 2012-02-07 12:34:29 -08:00
Nicholas Nethercote
9727de241c Bug 729403 (part 2, take 2) - Add js/runtime/gc-marker memory reporter. r=wmccloskey.
--HG--
extra : rebase_source : c48aacddd186be0de3c74153f5e5e4049d09a87b
2012-02-26 20:20:15 -08:00
Nicholas Nethercote
d6aeabe8ce Bug 729403 (part 1, take 2) - Add Vector::sizeOf{In,Ex}cludingThis(). r=luke.
--HG--
extra : rebase_source : d745c1b1b9ca30c6836c31b03ded4dcab22a2565
2012-02-26 20:18:13 -08:00
David Anderson
a271172b79 Ensure that iterators are closed when an exception is thrown (bug 729797, r=luke).
--HG--
extra : rebase_source : a500065bf2c96d1b8581fc8ae81af2eac0ee880f
2012-02-27 17:01:52 -08:00
Terrence Cole
8829b7dd51 Bug 727306 - Specialize HeapValue::postWriteBarrier for object slots; r=billm
Because we need to re-alloc the object slots pointers for slots growth and
actively move the slots buffer between objects in TradeGuts, we cannot safely
store pointers to slots in our write buffer.  Instead we want to store a pair of
JSObject* + offset in the write buffer.  This effectively means that we need to
specialize the HeapValue::postWriteBarrier used when storing to slots.  This
patch sub-classes HeapValue and uses this sub-class for object slots.

--HG--
extra : rebase_source : 632ad9fd74f638cf9cadc19d6bc0aac8d6cc1cb1
2012-02-17 18:43:48 -08:00
Jeff Walden
9e3a6477f3 Tix fypo, bug 730810. r=winning 2012-02-27 15:17:38 -08:00
Jeff Walden
7ba8102078 Bug 730810 - Don't assert doing a compound assignment to a const. r=luke 2012-02-27 14:04:04 -08:00
Christian Holler
d185b656e3 Bug 730697 - Add missing OOM checks in JS type inference code. r=bhackett
--HG--
extra : rebase_source : 00e7f02d87f51a2cc2a4955de30c6f3f6c9b21ca
2012-02-27 13:43:48 -08:00
Christian Holler
69cec67b1d Bug 730415 - Fix JS engine OOM condition in makeDenseArraysSlow. r=bhackett 2012-02-27 12:57:53 -08:00
Terrence Cole
a6837c2b29 Bug 725500 - Eliminate various jstest freezes on Unix; r=dmandelin
This is a rewrite of the jstest loop for Unix to prevent a freeze
that is possible here. See the writeup in the bug for details.

--HG--
extra : rebase_source : 8a7c80cb7ee044d909e29c669648cfc67e096c3b
2012-02-14 11:24:48 -08:00
Bill McCloskey
75460687b1 Bug 729238 - Save and restore weakmap list during marking validation (r=igor) 2012-02-27 09:48:35 -08:00
Mike Hommey
a5f435fd9c Bug 716544 - Define android NDK headers as system headers. r=khuey 2012-02-27 08:22:27 +01:00
Phil Ringnalda
2e98180c3d Back out a7255af10a2a and da193f5b526b (bug 729403) for xpcshell assertions in test_TelemetryPing.js 2012-02-26 18:39:06 -08:00
Nicholas Nethercote
7d90bc00d0 Bug 729403 (part 2) - Add js/runtime/gc-marker memory reporter. r=wmccloskey.
--HG--
extra : rebase_source : 9f078515b971e3de4156bb3edd3f8aea74c9fa8f
2012-02-21 21:43:45 -08:00
Nicholas Nethercote
de94e4c2f9 Bug 729403 (part 1) - Add Vector::sizeOf{In,Ex}cludingThis(). r=luke.
--HG--
extra : rebase_source : 850abf71178c5a23198561560d00ecd970db0cc1
2012-02-21 20:58:40 -08:00
Nicholas Nethercote
f65c98bbba Bug 730182 - Show location for "[System Principal]" compartments in about:compartments. r=bholley.
--HG--
extra : rebase_source : 084b36938e00058503fba426aeb42ca5cd85698d
2012-02-26 13:23:32 -08:00
ABE Hiroki
efbe1d84d7 Bug 693226 - Fix up paths so that --enable-ui-locale=ab-CD --with-l10n-base=l10n works with pymake on Windows. r=khuey 2012-01-31 10:25:41 -05:00
Bill McCloskey
333021ca45 Bug 729238 - Don't reset weakmap list during mark validation (r=igor) 2012-02-26 10:04:53 -08:00
Bill McCloskey
275fb493fa Bug 728962 - Always use a safe JSContext during GC (r=igor) 2012-02-26 10:03:44 -08:00
Philipp Wagner
38fa903280 Bug 730081 - Add a way to disable xpccheck for subdirectories; r=khuey 2012-02-23 22:22:00 +01:00
Makoto Kato
93a280d673 Bug 730212 - Set _WIN32_IE to 0x0603 (XPSP2). r=jimm 2012-02-26 00:20:36 +09:00
Peter Van der Beken
3b0644136d Fix for bug 691707 (Enumerating new proxy-based DOM bindings should enumerate the prototype too). r=mrbkap.
--HG--
extra : rebase_source : 788c2b3f9666ca654fab67047f6309937360f725
2012-02-07 20:55:37 +01:00
Jeff Walden
53f2ebdd19 Windows-specific warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : c0f13210632a661bdeb560e397a24476e754816d
2012-02-25 01:59:12 -08:00
L. David Baron
5c4dc186ed Add a header file for CSS property aliases (and temporarily resurrect the aliases whose DOM properties we forgot to remove). (Bug 730532, patch 1) r=bzbarsky 2012-02-24 21:23:14 -08:00
Jeff Walden
584d570d9a Bug 728411 - Move more elements bits over to ObjectImpl. r=bhackett
--HG--
extra : rebase_source : bcc5f0d8fc44643675e4a9efad84c7419545bb95
2012-02-16 19:11:06 -08:00
Jeff Walden
5cc93a8ee1 Bug 728411 - Move write barrier bits to ObjectImpl. r=bhackett
--HG--
extra : rebase_source : b1d72f92b2befd3a1277afe0cc5188fef2ebddf8
2012-02-16 19:11:06 -08:00
Jeff Walden
e7055f8746 Bug 728411 - Move some elements bits into ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 4d8644e37674795c4b3803d5e4b4ded828df7e63
2012-02-16 15:08:50 -08:00
Jeff Walden
13a16dcc1a Bug 728411 - Make ReportReadOnly a static method, not part of the JSObject interface. r=bhackett
--HG--
extra : rebase_source : b2e126907ed126d249830b7ee73e2411af5d32da
2012-02-16 15:06:23 -08:00
Jeff Walden
24f9c987f6 Bug 728411 - Move some size-computation bits into ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 22fe716cc7b76622f8856f5a50905ca5facb2a19
2012-02-16 15:05:44 -08:00
Jeff Walden
078a99196b Bug 728411 - Begin to move simple functions from JSObject to ObjectImpl. r=bhackett
--HG--
extra : rebase_source : 1a82d604cb32e941a296a63b3047a6c76426d57e
2012-02-16 15:02:15 -08:00
Jeff Walden
b1328fd2b1 Bug 728411 - Add new files for internal object structural details, as opposed to the external, ES5-like object interface. r=bhackett
--HG--
extra : rebase_source : 55d679f4576d8059deb265ae929b49b26e3c777e
2012-02-09 18:54:28 -08:00
Jeff Walden
4b0352a7be Bug 720316 - Use uint32_t indexes for JOF_ATOM opcodes. r=jorendorff
--HG--
extra : rebase_source : 44b6fc051eadbb5b38c634c18a454ce6adfaa69f
2012-02-03 18:53:29 -08:00
Jeff Walden
34fe4334c8 Remove a top-level |using namespace js| from jspropertycacheinlines.h. No bug, r=lumpy
--HG--
extra : rebase_source : c9824427df8b35372ff238c4badcf3156cff09c0
2012-02-24 14:25:38 -08:00
Jeff Walden
b6c32cb7b9 Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 5b0df12cbc8e609d3415f2785f262612cb77516b
2012-02-22 14:48:55 -08:00
David Mandelin
59dcf8cdf7 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
74afb56c79 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
de0e6e6ccd Bug 726230: remove obsolete typedefs JSIntn, JSUIntn, r=luke
--HG--
extra : rebase_source : f7f84755fe86f10109cd7332583212b1aa1e719d
2012-02-10 18:07:35 -08:00
David Mandelin
ad7cda83f5 Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Chris Leary
e9e4a90b47 Bug 700822: Followup: add comment about use of static local. (r=bz) 2012-02-24 11:15:32 -08:00