Commit Graph

27305 Commits

Author SHA1 Message Date
Luke Wagner
84727cbbd0 Bug 731181 - Handle GC during RegExpShared::compile (r=billm)
--HG--
extra : rebase_source : bfc5af40e73cd5be1dce0fe2198175ae19e77998
2012-02-28 15:36:19 -08:00
Bill McCloskey
a91e7f4570 Bug 729367 - Add write barrier flag to shell worker class (r=jorendorff) 2012-02-28 10:43:56 -08:00
Brian Hackett
a9ed85025c 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
40831abc1a 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
fef7f4a40e bug 730987 - remove per-context debug hooks. r=luke 2012-02-28 11:54:40 +01:00
Luke Wagner
bc5c79813f Bug 729382 - move the rest of the CallObject into ScopeObject (r=waldo) 2012-02-23 13:58:39 -08:00
Luke Wagner
89ae88e849 Bug 724790 - get rid of the hasOverriddenArgs funny business (r=waldo) 2012-02-07 12:34:29 -08:00
Nicholas Nethercote
02dfa47967 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
8738b7c1f1 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
01b10c0163 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
c07e695d9f 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
b1226e41fc Tix fypo, bug 730810. r=winning 2012-02-27 15:17:38 -08:00
Jeff Walden
014773859c Bug 730810 - Don't assert doing a compound assignment to a const. r=luke 2012-02-27 14:04:04 -08:00
Christian Holler
4dbc45e321 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
e3dd569647 Bug 730415 - Fix JS engine OOM condition in makeDenseArraysSlow. r=bhackett 2012-02-27 12:57:53 -08:00
Terrence Cole
e5a53642c9 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
0021da71d3 Bug 729238 - Save and restore weakmap list during marking validation (r=igor) 2012-02-27 09:48:35 -08:00
Mike Hommey
a17cd3de2f Bug 716544 - Define android NDK headers as system headers. r=khuey 2012-02-27 08:22:27 +01:00
Phil Ringnalda
072acec7c0 Back out a7255af10a2a and da193f5b526b (bug 729403) for xpcshell assertions in test_TelemetryPing.js 2012-02-26 18:39:06 -08:00
Nicholas Nethercote
1db76d424a 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
c6670bbe70 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
3bc1ae7585 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
6495876ebb 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
85ed5a66f6 Bug 729238 - Don't reset weakmap list during mark validation (r=igor) 2012-02-26 10:04:53 -08:00
Bill McCloskey
ebac83c1b1 Bug 728962 - Always use a safe JSContext during GC (r=igor) 2012-02-26 10:03:44 -08:00
Philipp Wagner
eb2f7e62f1 Bug 730081 - Add a way to disable xpccheck for subdirectories; r=khuey 2012-02-23 22:22:00 +01:00
Makoto Kato
6096edb8e8 Bug 730212 - Set _WIN32_IE to 0x0603 (XPSP2). r=jimm 2012-02-26 00:20:36 +09:00
Peter Van der Beken
f318a67971 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
dbe9d9c7f5 Windows-specific warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : c0f13210632a661bdeb560e397a24476e754816d
2012-02-25 01:59:12 -08:00
L. David Baron
156371420c 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
50113c3307 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
29b604027d 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
f697b95866 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
96da789c72 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
6876d52247 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
eef63fe63b 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
e380551637 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
ab5efa84e0 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
49283ce0b5 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
943440e552 Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 5b0df12cbc8e609d3415f2785f262612cb77516b
2012-02-22 14:48:55 -08:00
David Mandelin
ec012300ff Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
f35da5b2e3 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
6b38b9109e Bug 726230: remove obsolete typedefs JSIntn, JSUIntn, r=luke
--HG--
extra : rebase_source : f7f84755fe86f10109cd7332583212b1aa1e719d
2012-02-10 18:07:35 -08:00
David Mandelin
80fdf887df Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Chris Leary
4d9b05b171 Bug 700822: Followup: add comment about use of static local. (r=bz) 2012-02-24 11:15:32 -08:00
Marco Bonardo
1723509063 Backout 92c25caf3990 (bug 691707) for m-oth failures 2012-02-24 20:05:44 +01:00
Bill McCloskey
ea6ab27298 Bug 730148 - Handle OOM better in ValidateIncrementalMarking (r=igor) 2012-02-24 10:46:31 -08:00
Bill McCloskey
9ec0e5d3d9 Bug 673551 - Allow mark stack size to be bounded for debugging (r=igor) 2012-02-24 10:42:42 -08:00
Peter Van der Beken
9fba77fc68 Fix for bug 691707 (Enumerating new proxy-based DOM bindings should enumerate the prototype too). r=mrbkap.
--HG--
extra : rebase_source : 2877f225f60750d27005fccc0225e5c0482fb441
2012-02-07 20:55:37 +01:00
Daniel Holbert
1b17c78e96 Bug 730074: Use JSCLASS_NO_OPTIONAL_MEMBERS in JSClass definition within XrayWrapper.cpp, to fix build warning about missing braces. r=mrbkap 2012-02-24 14:31:49 +01:00
Steve Fink
69e527ec01 Bug 730140 - NUL-terminate strings when dumping the heap. r=mccr8 2012-02-23 18:47:51 -08:00
Richard Newman
7f648ed72b Merge m-c to m-i. 2012-02-23 18:37:12 -08:00
Richard Newman
e7b436563b Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Brian Hackett
4822651d7f Fix bogus assert, bug 717249. r=waldo 2012-02-23 18:11:03 -08:00
Honza Bambas
199e57e8b9 Bug 495337 - Make sessionStorage use principals instead of string domains, r=bz+bclary 2012-02-23 18:41:25 +01:00
Ben Turner
7705855055 Backed out changeset 1f3643b7de2d 2012-02-23 07:09:11 -08:00
Ben Turner
5d09f9ba63 Bug 717414 - 'Telephony: Make calls array live'. r=sicking. 2012-02-23 03:48:35 -08:00
Florian Boesch
401b77d113 Bug 728354 - Implement WebGL EXT_texture_filter_anisotropic extension *proposal* - r=bjacob
The spec proposal for this extension is at
  https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/extensions/proposals/EXT_texture_filter_anisotropic/index.html

This adds a conformance test as well, that will have to be merged upstream.
2012-02-23 08:43:57 -05:00
Bill McCloskey
c3dd98cde2 Bug 728086 - Initialize the stack properly (r=luke) 2012-02-22 10:36:12 -08:00
Mike Hommey
fe06cd2f8f Bug 729666 - Remove clock_gettime check in js/src/configure.in. r=khuey 2012-02-23 11:01:31 +01:00
Mark Capella
3a0b126058 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Bill McCloskey
c10a98a4ba Bug 728086 - Back out the test as well 2012-02-22 14:18:24 -08:00
Bill McCloskey
325c6387ca Bug 728086 - Back out f4e8839c28f5 to fix Windows purple builds 2012-02-22 13:38:34 -08:00
Brian Hackett
5182c53514 Compile scripts containing decomposed opcodes, fix warning. bug 728342. 2012-02-22 12:57:25 -08:00
Brian Hackett
f9fe86433d Don't compile any part of scripts containing uncompileable opcodes, bug 728342. r=dvander 2012-02-22 10:57:00 -08:00
Bill McCloskey
2cd6daa202 Bug 728190 - Update stack later in Arguments (r=bhackett) 2012-02-22 10:39:58 -08:00
Bill McCloskey
014d905257 Bug 728086 - Poison the stack when not in use (r=luke) 2012-02-22 10:36:12 -08:00
Ed Morley
363756466a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-23 13:58:27 +00:00
Kyle Huey
03dd251a24 Merge b-s to m-c. 2012-02-22 19:00:04 -08:00
Kyle Huey
0a928bbce6 Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan 2012-02-22 15:05:28 -08:00
Phil Ringnalda
6bb007b4d6 Merge m-c to m-i 2012-02-21 23:36:31 -08:00
Phil Ringnalda
c26b1c3bb7 Back out b7f7b63038dd (bug 728686) for leaks and suspicion of intermittent mochitest-a11y failures 2012-02-21 20:34:26 -08:00
Phil Ringnalda
ba5084f33c Back out b27980f1de54 and 39ea8d8f9768 (bug 728429) for potential Windows PGO build bustage on a CLOSED TREE 2012-02-21 20:01:01 -08:00
Kyle Huey
76f70c43c2 Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan 2012-02-21 16:09:39 -08:00
Brian Hackett
af46be0a37 Compute correct object in BINDNAME IC, bug 727223. r=dvander 2012-02-21 06:48:43 -08:00
Jacek Caban
5f557cc789 Bug 728178 - js.exe fails to link on on mingw (missing MOZ_Crash) r=glandium 2012-02-21 15:48:02 +01:00
Ed Morley
78abbb4b1b Merge mozilla-central to mozilla-inbound 2012-02-21 14:15:58 +00:00
Ed Morley
3aea95e2d2 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Ms2ger
0c813df23c Bug 673468 - Remove a superfluous null-check; r=gabor 2012-02-21 10:34:02 +01:00
Ms2ger
950ea9dc4e Bug 726964 - Remove unused sDOMStringFinalizerIndex; r=bholley 2012-02-21 10:34:02 +01:00
Ms2ger
f425afc45a Bug 726960 - Introduce xpc::NonVoidStringToJsval; r=bholley 2012-02-21 10:34:02 +01:00
Dão Gottwald
5cc0620ff3 Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-21 04:29:09 +01:00
Justin Dolske
0dbfe0509d Backout 0a7410527788 (bug 572659), UA change breaks Google and Zimbra. 2012-02-20 16:29:36 -08:00
Dão Gottwald
81ad5d4df2 Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-20 15:39:33 +01:00
Ed Morley
cc3a5fa7b8 Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Bill McCloskey
0a65fb6dcc Bug 728686 - JS_NewPropertyIterator shouldn't disable IGC (r=igor) 2012-02-21 17:04:53 -08:00
Nicholas Nethercote
a14057dd8c Bug 702300 (part 8) - Add about:compartments. r=jlebar, ehsan.
--HG--
extra : rebase_source : ad9de010f0b51d5ae7d74b8cbc04c8748767ec0b
2012-02-16 22:10:39 -08:00
Nicholas Nethercote
d655a2dc1d Bug 702300 (part 7) - Add the "compartments" multi-reporter. r=billm.
--HG--
extra : rebase_source : e45e59bd8657197dbd61c257f46ad6396cdda3c3
2012-02-16 22:10:39 -08:00
Jeff Walden
d5e28b8705 Bug 728423 - Fix warnings in js/src related to JSObject::asString et al (r=luke)
--HG--
extra : rebase_source : 8b64d2593d684a4e5d0d1ee87072db03afb78efe
2012-02-20 13:56:10 -08:00
Igor Bukanov
178aa24496 bug 725576 - serialize principals only once per top-level script. r=luke
--HG--
extra : rebase_source : 92b82ff8a8d03d6176bf1e43329a59b77ca83de4
2012-02-10 13:40:34 +01:00
Bill McCloskey
ef3dd49da9 Bug 729910 - Fix OOM in gc() shell function (r=luke) 2012-02-23 14:34:18 -08:00
Bill McCloskey
d9e8f08243 Bug 727987 - Add null check to Boolean conversion (r=Waldo) 2012-02-23 14:34:12 -08:00
Bill McCloskey
549b591e2d Bug 726429 - Handle GC during string table initialization (r=luke) 2012-02-23 14:34:06 -08:00
Luke Wagner
5583dff5a0 Bug 726380 - Fix RegExp r.compile(r) (r=cdleary)
--HG--
extra : rebase_source : 7efdce0fb28bb6de15635d7fab13535246c70b55
2012-02-23 13:58:19 -08:00
Luke Wagner
b102461fdb Bug 726595 - Do a better job guarding RegExpShared objects against GC (r=cdleary)
--HG--
extra : rebase_source : f4b28fd9dc0ad762d483e0a11fba450bdd8bd32f
2012-02-23 13:51:19 -08:00
Luke Wagner
8ef5f08923 Bug 729584 - mozJSComponentLoader::ImportInto needs to wrap exceptions (r=bholley)
--HG--
extra : rebase_source : c5c575a789647348fcca5bf9ef5368873f0016f4
2012-02-23 13:50:01 -08:00
Rafael Ávila de Espíndola
0522596888 Bug 729926 - mac64: objdump not found. r=glandium.
--HG--
extra : rebase_source : 21e8f5a44a44d6537268b543effd7dd85092c4b5
2012-02-23 17:05:37 -05:00
Bill McCloskey
4a98c5bf62 Bug 728609 - Increment gcNumber in EndVerifyBarriers (r=bhackett) 2012-02-23 14:02:21 -08:00
Igor Bukanov
dcb9c2e477 bug 729427 - applly IGC barrier to filename script entries. r=:Billm 2012-02-23 22:17:49 +01:00
Brian Hackett
f08f3ca319 Efficiency improvements in ScriptAnalysis::analyzeSSA, bug 725920. r=dvander 2012-02-23 13:01:27 -08:00
Makoto Kato
247bbc6d1e Bug 722933 - add -MACHINE option for link.exe. r=khuey 2012-02-21 16:19:23 +09:00
Igor Bukanov
1013be2159 bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke 2012-02-13 09:02:21 +01:00
Nicholas Nethercote
bb57488be4 Bug 728736 - Simplify JS_IterateCompartments. r=wmccloskey.
--HG--
extra : rebase_source : 5c8a43ffd6c738e84becd5835650a5734c09d0fc
2012-02-20 18:17:39 -08:00
Bobby Holley
6edd485a24 Bug 700561 - Relax short-circuit principal checks on account of inner window reuse. r=bz 2012-02-18 08:55:28 -08:00
Brian Hackett
46a70d99b9 Enable chunked compilation on x64, bug 728372. r=dvander 2012-02-18 08:52:04 -08:00
Jan de Mooij
1f5d0e1b79 Bug 725357 - Move Monitor call from GetElementOperation to the interpreter. r=dvander 2012-02-22 09:26:02 +01:00
Terrence Cole
23c654c7d0 Bug 727135 - Make jsid marking interfaces indirect; r=billm
This will allow the GC to move jsid referenced objects.
2012-02-17 17:27:37 -08:00
Bill McCloskey
d15702e36f Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Terrence Cole
ddb9b610b8 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
Gabor Krizsanits
d63ef7f384 Bug 673468 - Wrapped JS objects used as keys can disappear from WeakMaps. r=mccr8,billm 2012-02-17 13:22:26 +01:00
Jeff Walden
6a945ff523 Bug 728105 - Remove JSObject::getThrowTypeError. r=bhackett 2012-02-16 19:10:59 -08:00
Jeff Walden
c03c421cfb Bug 728095 - Eliminate all primitive-this machinery from JSObject and relegate it to subclasses. r=bhackett 2012-02-16 19:10:45 -08:00
Jeff Walden
374aa81278 Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 66d872e0ab56b73f1879d1aff9aba1dd3e71e9b3
2012-02-15 17:41:59 -08:00
Brian Hackett
947210ccb1 Ensure that generators are never compiled, bug 726799. r=dvander 2012-02-16 15:26:30 -08:00
Bill McCloskey
77faad30c1 Bug 727921 - Fix schedulegc bustage 2012-02-16 15:21:59 -08:00
Brian Hackett
d3d51ae7b0 Fix dictionary state when swapping objects, bug 727330. r=luke 2012-02-16 15:15:16 -08:00
Terrence Cole
d4d3a9c6b0 Bug 723346 - Make sharpObjectMap a modern HashMap; r=Waldo
This is the last user of the old-style C hashtables in the JS engine.

--HG--
extra : rebase_source : ccf8b296371227c0f0eea59a41b78eb4b63e8275
2012-02-15 17:55:25 -08:00
Terrence Cole
f918eb6fb9 Bug 727980 - Do not mark script atoms as roots; r=billm
Fixes a regression from bug 721463.

--HG--
extra : rebase_source : 601530388cb62f78b93a4ab35e749a7ee29d5d05
2012-02-16 14:27:37 -08:00
Bill McCloskey
e2dbb7fad5 Bug 727921 - Add test case 2012-02-16 14:37:16 -08:00
Bobby Holley
bb83827034 Bug 714590 - Use the helper jsclass format everywhere. r=mrbkap 2012-02-16 12:22:16 -08:00
Terrence Cole
ba12f349e5 Bug 726845 - Make Value marking interfaces indirect; r=billm
This will eventually allow the GC to update Values that reference an Object,
when moving an object.
2012-02-15 17:16:53 -08:00
Rafael Ávila de Espíndola
b028fa6446 Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium. 2012-02-16 09:53:08 -05:00
Igor Bukanov
8f4c1c22db bug 725595 - drop native object checks from JS_(Get|Set)ReservedSlot. r=Waldo 2012-02-10 13:40:34 +01:00
Terrence Cole
86a4b678ad Bug 726115 - Make the tracer callback take an indirect pointer; r=billm
This will be required for a tracer to move objects.  This patch only
updates the tracer interface and users of the interface.

--HG--
extra : rebase_source : 844d819a80cf6cb1dba0d07ea97f647802c66d40
2012-02-15 16:28:41 -08:00
Sean Stangl
b5d961f3e3 Bug 725532 - Refactor DefVarOrConstOperation() to be Ion-compatible. r=Waldo 2012-02-15 16:45:25 -08:00
Adam
728968c78d Bug 725765 - More Sprinter cleanups (adding a put method rather than having SprintCString and friends). r=jwalden
--HG--
extra : rebase_source : c7b5e45dfb1b937688884de0ca2fa7e1d7cc6b41
2012-02-15 16:15:57 -08:00
Jeff Walden
ceb7bbc8bd Convert the last remaining direct JS_Assert users to MOZ_Assert, followup to bug 717540 that seems to have been missed in my initial review. Also switch the JS_ASSERT uses to MOZ_ASSERT in passing. r=trivial
--HG--
extra : rebase_source : 70746d934b529c3e28d83dc2aced690ba92044db
2012-02-14 16:16:14 -08:00
Boris Zbarsky
b336894b2e Bug 726182. Add a JS_GetFunctionPrototype API for getting the canonical Function.prototype. r=waldo 2012-02-10 17:49:39 -05:00
Bobby Holley
c45f83eda0 Bug 717113 - Make js::IsWrapper fully inline-able. r=luke 2012-02-21 10:31:35 -08:00
Bobby Holley
b956a3c453 Bug 717113 - Don't do a redundant class lookup in js::IsProxy. r=luke 2012-02-21 10:31:27 -08:00
Bill McCloskey
fa3512ba76 Bug 718053 - Fix Valgrind warnings (r=cdleary) 2012-02-21 09:49:22 -08:00
Tom Schuster
d445c4f960 Bug 725293 - update Unicode support in SpiderMonkey to v6.1 r=Waldo 2012-02-15 15:30:39 +01:00
Terrence Cole
7aee566540 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
Jan de Mooij
fd8b55ef22 Bug 727087 - Move JSOP_TOID implementation to jsinterpinlines. r=dvander
--HG--
extra : rebase_source : 2bcc7b7a30f613489a93cb1465a2ae6d64815f1c
2012-02-14 23:36:36 +01:00
Jim Blandy
92f302e38f Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley 2012-02-14 13:18:16 -08:00
Chris Leary
96f0cafa66 Bug 700822: Randomize JIT VirtualAlloc location on win32, sans XP. (r=dmandelin)
--HG--
extra : rebase_source : 155b9cf9bb9fc6e70efd5ca4a2b20e76f3526fc5
2012-02-13 21:36:11 -08:00
Brian Hackett
7abf4cdaf5 Fix argc checks in mjitChunkLimit shell function, bug 726636. r=dvander 2012-02-14 05:16:32 -08:00
Marco Bonardo
b549d28077 Merge central to inbound 2012-02-14 11:18:40 +01:00
Marco Bonardo
5f22420e58 Merge last green PGO from inbound to central 2012-02-14 11:16:13 +01:00
Mike Hommey
229a4401e7 Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey 2012-02-13 15:48:23 +01:00
Terrence Cole
3a9119ff8f 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.

--HG--
extra : rebase_source : 0de3980a058a2951e14663841078fb575ae22f6c
2012-02-13 10:01:18 -08:00
Mike Hommey
78f3656b4b Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage 2012-02-13 16:35:13 +01:00
Mike Hommey
b5d2448f11 Bug 717540 - Remove MFBT dependency on JS_Assert, add MOZ_Assert, and use it for WTF assertions. r=waldo,r=khuey 2012-02-13 15:48:23 +01:00
Mike Hommey
400207258e Bug 698923 - Don't require 16 bytes alignment for VMFrame on sparc. r=luke 2012-02-13 15:47:34 +01:00
Brian Hackett
082af8ce73 Don't update GC malloc bytes for compiler heap allocations, bug 687127. r=gwagner 2012-02-12 19:27:55 -08:00
Bill McCloskey
28392d81e0 Bug 713226 - Followup fix (r=bhackett) 2012-02-12 14:57:04 -08:00
Bill McCloskey
80cadd1390 Bug 713226 - Fix SETPROP write barrier in methodjit (r=bhackett) 2012-02-10 18:32:31 -08:00
Bill McCloskey
1f109cd151 Bug 721579 - Remove rt->gcTriggerBytes and rt->gcLastBytes (r=igor) 2012-02-10 18:32:25 -08:00
Bill McCloskey
f6419d58f3 Bug 722028 - Need write barrier for SuppressDeletedPropertyHelper (r=bhackett) 2012-02-10 18:32:18 -08:00
Bill McCloskey
5578343c66 Bug 716067 - UnmarkGray more often (r=bent) 2012-02-10 18:32:13 -08:00