Commit Graph

18237 Commits

Author SHA1 Message Date
Bill McCloskey
aeecda2564 Bug 729238 - Don't reset weakmap list during mark validation (r=igor) 2012-02-26 10:04:53 -08:00
Bill McCloskey
55ef2e745e Bug 728962 - Always use a safe JSContext during GC (r=igor) 2012-02-26 10:03:44 -08:00
Philipp Wagner
995ed9d8bc Bug 730081 - Add a way to disable xpccheck for subdirectories; r=khuey 2012-02-23 22:22:00 +01:00
Makoto Kato
2bfc9b451e Bug 730212 - Set _WIN32_IE to 0x0603 (XPSP2). r=jimm 2012-02-26 00:20:36 +09:00
Peter Van der Beken
859c2636bb 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
ffcde15763 Windows-specific warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : c0f13210632a661bdeb560e397a24476e754816d
2012-02-25 01:59:12 -08:00
L. David Baron
1b2b92f0f9 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
eb2086f33f 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
a9826eb806 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
6b37ab9657 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
5aaebbd7d0 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
fbeca51a8c 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
ae0ff8a417 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
66bba64a57 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
141be33651 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
dba1a159a3 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
97206dad24 Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 5b0df12cbc8e609d3415f2785f262612cb77516b
2012-02-22 14:48:55 -08:00
David Mandelin
381d879c71 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
22d7a18fa5 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
045002155a Bug 726230: remove obsolete typedefs JSIntn, JSUIntn, r=luke
--HG--
extra : rebase_source : f7f84755fe86f10109cd7332583212b1aa1e719d
2012-02-10 18:07:35 -08:00
David Mandelin
5be5dda12e Bug 725550: remove obsolete typedef jsdouble, r=jwalden
--HG--
extra : rebase_source : 772c2982184d7b3d1680737323395365e6b218da
2012-02-24 14:19:52 -08:00
Chris Leary
10728d36ba Bug 700822: Followup: add comment about use of static local. (r=bz) 2012-02-24 11:15:32 -08:00
Marco Bonardo
0583b874bd Backout 92c25caf3990 (bug 691707) for m-oth failures 2012-02-24 20:05:44 +01:00
Bill McCloskey
da870eb4d6 Bug 730148 - Handle OOM better in ValidateIncrementalMarking (r=igor) 2012-02-24 10:46:31 -08:00
Bill McCloskey
68830ec345 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
3e4dff7ac7 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
0cc7de4816 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
bc869ccd64 Bug 730140 - NUL-terminate strings when dumping the heap. r=mccr8 2012-02-23 18:47:51 -08:00
Richard Newman
7886693fb2 Merge m-c to m-i. 2012-02-23 18:37:12 -08:00
Richard Newman
200c9a86f4 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Brian Hackett
709aa9af66 Fix bogus assert, bug 717249. r=waldo 2012-02-23 18:11:03 -08:00
Honza Bambas
422a01729e Bug 495337 - Make sessionStorage use principals instead of string domains, r=bz+bclary 2012-02-23 18:41:25 +01:00
Ben Turner
309e628042 Backed out changeset 1f3643b7de2d 2012-02-23 07:09:11 -08:00
Ben Turner
8310316245 Bug 717414 - 'Telephony: Make calls array live'. r=sicking. 2012-02-23 03:48:35 -08:00
Florian Boesch
ada0d9ea9e 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
c082c313e8 Bug 728086 - Initialize the stack properly (r=luke) 2012-02-22 10:36:12 -08:00
Mike Hommey
20edc525ae Bug 729666 - Remove clock_gettime check in js/src/configure.in. r=khuey 2012-02-23 11:01:31 +01:00
Mark Capella
7c9075ff14 Bug 721496 - Remove MOZ_WINSDK_TARGETVER ifdefs for pre-Windows 7 SDKs. r=jimm 2012-02-23 01:33:19 +01:00
Bill McCloskey
2fca55c7f1 Bug 728086 - Back out the test as well 2012-02-22 14:18:24 -08:00
Bill McCloskey
f303c321aa Bug 728086 - Back out f4e8839c28f5 to fix Windows purple builds 2012-02-22 13:38:34 -08:00
Brian Hackett
37764bcfbb Compile scripts containing decomposed opcodes, fix warning. bug 728342. 2012-02-22 12:57:25 -08:00
Brian Hackett
1cf884ec5e Don't compile any part of scripts containing uncompileable opcodes, bug 728342. r=dvander 2012-02-22 10:57:00 -08:00
Bill McCloskey
f5ff2b2105 Bug 728190 - Update stack later in Arguments (r=bhackett) 2012-02-22 10:39:58 -08:00
Bill McCloskey
2714da9527 Bug 728086 - Poison the stack when not in use (r=luke) 2012-02-22 10:36:12 -08:00
Ed Morley
ff348e5594 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-23 13:58:27 +00:00
Kyle Huey
197d5af23e Merge b-s to m-c. 2012-02-22 19:00:04 -08:00
Kyle Huey
392a921f2a Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan 2012-02-22 15:05:28 -08:00
Phil Ringnalda
47628975d4 Merge m-c to m-i 2012-02-21 23:36:31 -08:00
Phil Ringnalda
1fa17fec02 Back out b7f7b63038dd (bug 728686) for leaks and suspicion of intermittent mochitest-a11y failures 2012-02-21 20:34:26 -08:00
Phil Ringnalda
3fed55bffc 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
569fb43e63 Bug 728429: Require ASLR for binary components on Windows. r=bsmedberg,ehsan 2012-02-21 16:09:39 -08:00
Brian Hackett
e0d90f3acb Compute correct object in BINDNAME IC, bug 727223. r=dvander 2012-02-21 06:48:43 -08:00
Jacek Caban
63f7a961cb 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
24ab851d62 Merge mozilla-central to mozilla-inbound 2012-02-21 14:15:58 +00:00
Ed Morley
3d389274ff Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-21 11:59:33 +00:00
Ms2ger
fda1f0e9b1 Bug 673468 - Remove a superfluous null-check; r=gabor 2012-02-21 10:34:02 +01:00
Ms2ger
a36f995d71 Bug 726964 - Remove unused sDOMStringFinalizerIndex; r=bholley 2012-02-21 10:34:02 +01:00
Ms2ger
fd060cc935 Bug 726960 - Introduce xpc::NonVoidStringToJsval; r=bholley 2012-02-21 10:34:02 +01:00
Dão Gottwald
9e444afb9d 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
c7c7e39e9e Backout 0a7410527788 (bug 572659), UA change breaks Google and Zimbra. 2012-02-20 16:29:36 -08:00
Dão Gottwald
db675026d9 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
90bfe67efa Merge mozilla-central to mozilla-inbound 2012-02-22 01:28:34 +00:00
Bill McCloskey
7cd19789c8 Bug 728686 - JS_NewPropertyIterator shouldn't disable IGC (r=igor) 2012-02-21 17:04:53 -08:00
Nicholas Nethercote
9472d29e81 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
8c5fa06ee5 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
a3aa8b54d1 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
3b9873045c 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
180e2b965e Bug 729910 - Fix OOM in gc() shell function (r=luke) 2012-02-23 14:34:18 -08:00
Bill McCloskey
dbc68ee709 Bug 727987 - Add null check to Boolean conversion (r=Waldo) 2012-02-23 14:34:12 -08:00
Bill McCloskey
bb798f27af Bug 726429 - Handle GC during string table initialization (r=luke) 2012-02-23 14:34:06 -08:00
Luke Wagner
3f06b8fc96 Bug 726380 - Fix RegExp r.compile(r) (r=cdleary)
--HG--
extra : rebase_source : 7efdce0fb28bb6de15635d7fab13535246c70b55
2012-02-23 13:58:19 -08:00
Luke Wagner
3f650d8054 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
34a0403a53 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
c251c2e0bb Bug 729926 - mac64: objdump not found. r=glandium.
--HG--
extra : rebase_source : 21e8f5a44a44d6537268b543effd7dd85092c4b5
2012-02-23 17:05:37 -05:00
Bill McCloskey
ce3ac46f86 Bug 728609 - Increment gcNumber in EndVerifyBarriers (r=bhackett) 2012-02-23 14:02:21 -08:00
Igor Bukanov
9f46ad8214 bug 729427 - applly IGC barrier to filename script entries. r=:Billm 2012-02-23 22:17:49 +01:00
Brian Hackett
6043935fb2 Efficiency improvements in ScriptAnalysis::analyzeSSA, bug 725920. r=dvander 2012-02-23 13:01:27 -08:00
Makoto Kato
01e301067a Bug 722933 - add -MACHINE option for link.exe. r=khuey 2012-02-21 16:19:23 +09:00
Igor Bukanov
fc29d0f64c bug 726944 - Remove JSClass::xdrObject and related functionality. r=luke 2012-02-13 09:02:21 +01:00
Nicholas Nethercote
cff6e50b17 Bug 728736 - Simplify JS_IterateCompartments. r=wmccloskey.
--HG--
extra : rebase_source : 5c8a43ffd6c738e84becd5835650a5734c09d0fc
2012-02-20 18:17:39 -08:00
Bobby Holley
4259454b77 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
d2842a8b9b Enable chunked compilation on x64, bug 728372. r=dvander 2012-02-18 08:52:04 -08:00
Jan de Mooij
102b95ec89 Bug 725357 - Move Monitor call from GetElementOperation to the interpreter. r=dvander 2012-02-22 09:26:02 +01:00
Terrence Cole
4c7ff129be 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
6b3aa0565d Bug 641025 - Incremental GC (r=igor,smaug,roc,cdleary,gregor) 2012-02-17 14:35:20 -08:00
Terrence Cole
b978cd9469 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
8bbd6b58c6 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
2396d6c1ad Bug 728105 - Remove JSObject::getThrowTypeError. r=bhackett 2012-02-16 19:10:59 -08:00
Jeff Walden
b1d9b288f8 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
2ec6c0678c Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 66d872e0ab56b73f1879d1aff9aba1dd3e71e9b3
2012-02-15 17:41:59 -08:00
Brian Hackett
02219e1ef0 Ensure that generators are never compiled, bug 726799. r=dvander 2012-02-16 15:26:30 -08:00
Bill McCloskey
1d92d12cd8 Bug 727921 - Fix schedulegc bustage 2012-02-16 15:21:59 -08:00
Brian Hackett
b1718426bb Fix dictionary state when swapping objects, bug 727330. r=luke 2012-02-16 15:15:16 -08:00
Terrence Cole
e098c598b4 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
9af3b3cf51 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
805f126b4e Bug 727921 - Add test case 2012-02-16 14:37:16 -08:00
Bobby Holley
f0038cf892 Bug 714590 - Use the helper jsclass format everywhere. r=mrbkap 2012-02-16 12:22:16 -08:00
Terrence Cole
b9affe53b5 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
49845c6bf7 Bug 727145 - Pass -Wno-return-type-c-linkage to clang. r=glandium. 2012-02-16 09:53:08 -05:00
Igor Bukanov
1cf31b5006 bug 725595 - drop native object checks from JS_(Get|Set)ReservedSlot. r=Waldo 2012-02-10 13:40:34 +01:00
Terrence Cole
3cf46f995b 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
9a193e49f1 Bug 725532 - Refactor DefVarOrConstOperation() to be Ion-compatible. r=Waldo 2012-02-15 16:45:25 -08:00
Adam
6461c6fc03 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
843adc24ef 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
c64eafbf1e 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
80a597a448 Bug 717113 - Make js::IsWrapper fully inline-able. r=luke 2012-02-21 10:31:35 -08:00
Bobby Holley
b4ebcff565 Bug 717113 - Don't do a redundant class lookup in js::IsProxy. r=luke 2012-02-21 10:31:27 -08:00
Bill McCloskey
ee28f5036b Bug 718053 - Fix Valgrind warnings (r=cdleary) 2012-02-21 09:49:22 -08:00
Tom Schuster
6b2405ecde Bug 725293 - update Unicode support in SpiderMonkey to v6.1 r=Waldo 2012-02-15 15:30:39 +01:00
Terrence Cole
753ee85563 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
04f2411d37 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
75fb742bf1 Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley 2012-02-14 13:18:16 -08:00
Chris Leary
0b948a4184 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
b75938fd81 Fix argc checks in mjitChunkLimit shell function, bug 726636. r=dvander 2012-02-14 05:16:32 -08:00
Marco Bonardo
5d2d3f3a0e Merge central to inbound 2012-02-14 11:18:40 +01:00
Marco Bonardo
ead310cb44 Merge last green PGO from inbound to central 2012-02-14 11:16:13 +01:00
Mike Hommey
3f5c329700 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
61e836e479 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
de636eb93e Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage 2012-02-13 16:35:13 +01:00
Mike Hommey
4262e5f87c 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
50d524bee7 Bug 698923 - Don't require 16 bytes alignment for VMFrame on sparc. r=luke 2012-02-13 15:47:34 +01:00
Brian Hackett
c0d44ab648 Don't update GC malloc bytes for compiler heap allocations, bug 687127. r=gwagner 2012-02-12 19:27:55 -08:00
Bill McCloskey
93683d7e35 Bug 713226 - Followup fix (r=bhackett) 2012-02-12 14:57:04 -08:00
Bill McCloskey
a2dc94d504 Bug 713226 - Fix SETPROP write barrier in methodjit (r=bhackett) 2012-02-10 18:32:31 -08:00
Bill McCloskey
1a5cc39cfa Bug 721579 - Remove rt->gcTriggerBytes and rt->gcLastBytes (r=igor) 2012-02-10 18:32:25 -08:00
Bill McCloskey
5a00d52cda Bug 722028 - Need write barrier for SuppressDeletedPropertyHelper (r=bhackett) 2012-02-10 18:32:18 -08:00
Bill McCloskey
1029efe694 Bug 716067 - UnmarkGray more often (r=bent) 2012-02-10 18:32:13 -08:00
Bill McCloskey
474849d426 Bug 723313 - Stop using conservative stack scanner for VM stack marking (r=luke,bhackett) 2012-02-10 18:32:08 -08:00
Bill McCloskey
74aacf7b60 Bug 723773 - Liveness analysis makes mistakes when analyzing try/catch (r=bhackett) 2012-02-10 18:32:03 -08:00
Brian Hackett
49ca7aac62 Discard jitcode when changing chunk limit in JS shell, bug 722598. r=dvander 2012-02-12 12:17:30 -08:00
Olli Pettay
8435d939fc Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8 2012-02-13 22:59:14 +02:00
Phil Ringnalda
a9e7539f67 Back out 5f623a11c6cb (bug 713226), 1ed8ccf96402 (bug 721579), 32af27f89c49 (bug 722028), 1300d282fd22 (bug 716067), dc0f6ad7eff3 (bug 723313), 0d2ab3f2e9b9 (bug 723773) for talos crashes 2012-02-10 19:47:48 -08:00
Bill McCloskey
e0d78fafbb Bug 713226 - Fix SETPROP write barrier in methodjit (r=bhackett) 2012-02-10 18:32:31 -08:00
Bill McCloskey
e22404401c Bug 721579 - Remove rt->gcTriggerBytes and rt->gcLastBytes (r=igor) 2012-02-10 18:32:25 -08:00
Bill McCloskey
afb5390d89 Bug 722028 - Need write barrier for SuppressDeletedPropertyHelper (r=bhackett) 2012-02-10 18:32:18 -08:00
Bill McCloskey
0de2c12768 Bug 716067 - UnmarkGray more often (r=bent) 2012-02-10 18:32:13 -08:00
Bill McCloskey
e85e1da334 Bug 723313 - Stop using conservative stack scanner for VM stack marking (r=luke,bhackett) 2012-02-10 18:32:08 -08:00
Bill McCloskey
48692f96aa Bug 723773 - Liveness analysis makes mistakes when analyzing try/catch (r=bhackett) 2012-02-10 18:32:03 -08:00
Ed Morley
2817419f26 Merge mozilla-central to mozilla-inbound 2012-02-11 02:24:30 +00:00
Olli Pettay
1c1078d993 Bug 725768 - BBP for ObjectHolders, r=mccr8
--HG--
extra : rebase_source : 31e088050144099582d035f758d716516885ebd3
2012-02-10 21:50:37 +02:00
Ed Morley
8d711e3c7b Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-10 12:14:39 +00:00
Phil Ringnalda
565328e834 Back out 61d58d97747a (bug 721463) on expanded suspicion of GC crashes 2012-02-09 21:02:19 -08:00
Phil Ringnalda
71249eea70 Back out 710220a5ac33 (bug 714109) on suspicion of causing GC crashes in browser-chrome 2012-02-09 20:40:59 -08:00
Luke Wagner
330f1dd2d0 Bug 724748 - simplify RegExpShared lifetime management (r=cdleary) 2012-02-07 12:34:29 -08:00
Ms2ger
74c383e999 No bug - Propagate false return value from xpc_qsThrowMethodFailedWithDetails; r=bz 2012-02-07 21:31:29 +01:00
Jeff Walden
3252341ae4 Bug 725888 - Remove some js_GetClassPrototype calls, using faster methods on GlobalObject instead. Also introduce JS_GetObjectPrototype to retrieve Object.prototype so that a friend API can be made un-friendly. r=dmandelin
--HG--
extra : rebase_source : d68d7f1fdcc1bc9a1a027c08ea62bebd8e9d0178
2012-02-07 11:45:18 -08:00
David Mandelin
5a18638917 Bug 725198: reuse js_DoubleToECMAInt32 for js_DoubleToECMAUint32, r=luke 2012-02-08 18:38:32 -08:00
Eddy Bruel
d4067beac6 Bug 675694: add function to dump parse trees and use it in shell parse function, r=jorendorff 2012-02-08 17:21:33 -08:00
David Mandelin
6e66fa3071 No bug, mark slow test 2012-02-08 18:09:28 -08:00
Matt Brubeck
475119a8d1 Backed out changeset af0ab64cb947 (bug 675694) because of build failures 2012-02-08 17:36:53 -08:00
Eddy Bruel
4d77e8d22c Bug 675694: add function to dump parse trees and use it in shell parse function, r=jorendorff 2012-02-08 17:21:33 -08:00
David Mandelin
599bd95278 Bug 714614: don't create call objects with duplicated property names, r=bhackett 2012-01-27 14:33:27 -08:00
Luke Wagner
358d05192f Bug 725138 - tidy up Interpret with formalArg/localSlot (r=bhackett)
--HG--
extra : rebase_source : 86e6953be488b4554fc8570555015bcee14bf012
2012-02-03 00:11:31 -08:00
Luke Wagner
4c9b81afa5 Bug 725138 - tidy up vm/Stack code (r=bhackett)
--HG--
extra : rebase_source : fe97cc51ada12873577c87b111a1635242e5a9d0
2012-02-03 00:11:31 -08:00
Matthew Noorenberghe
5a46a0d983 Bug 294260 - Disable startup crash tracking in test profiles (toolkit.startup.max_resumed_crashes = -1) r=waldo,robcee
--HG--
extra : rebase_source : 6856629cc35106499f82753471ff77c2607a5e97
2012-02-03 18:31:31 -08:00
Terrence Cole
b7cb5873b8 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-01-03 11:50:07 -08:00
Terrence Cole
1c23d99cd5 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
Igor Bukanov
748c9f34a7 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : b78519db2ff008eb5143676d2db47935f0e89f45
2012-02-05 21:07:23 +01:00
Igor Bukanov
38fe4ed717 backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Jeff Walden
544237e8e5 Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : 1e5d09b39c41229086d25f3e0368441c7d9ce3f1
2012-02-09 11:43:52 -08:00
Jeff Walden
aa204d730b Bug 722121 - Remove the last now-unnecessary uses of CheckRedeclaration from JSOP_GETTER/JSOP_SETTER, as syntactically we guarantee no conflicts are possible. r=jorendorff
--HG--
extra : rebase_source : f9b9bac41153cd269e3d9a4f02a4bd6f963b82fa
2012-01-28 23:13:12 -08:00
Jeff Walden
6132b85d27 Bug 722121 - Remove JSOP_DEFFUN_FC, because it can never be generated. r=jorendorff
--HG--
extra : rebase_source : 75d2fd13bfa2b706bbc6f82493b5bd23d241e8ce
2012-01-28 22:46:08 -08:00
Jeff Walden
751967b95c Bug 722121 - Remove uses of CheckRedeclaration from defvar/defconst. r=jorendorff
--HG--
extra : rebase_source : 01545432f592a4c9e1cf2a2df13ffd7c233e3733
2012-01-28 22:09:15 -08:00
Igor Bukanov
e4e3433d0c bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo
--HG--
extra : rebase_source : c461dfc0e0e0462ab262cc01c2a771d3bb0971cc
2012-02-05 21:07:23 +01:00
Terrence Cole
340de488d1 Bug 720439 - Generalize the Chunk allocator; r=igor
These are currently hard-coded to the size and alignment required by Chunk.
Since we will need almost identical allocators for the new Nursery and
WriteBuffer required for GenerationalGC, we should just generalize the
existing Chunk allocator.

--HG--
extra : rebase_source : 50995c0bf3b6f35c8b4fe64efc13a433174bdb3f
2012-01-23 14:43:01 -08:00
Luke Wagner
c095a65b00 Bug 723791 - remove now-unnecessary noteArgumentsPropertyAccess (r=jorendorff)
--HG--
extra : rebase_source : 66c7930d21f380a1ad885550239f20b890d24e78
2012-02-03 00:11:31 -08:00
Luke Wagner
05d60df8f2 Bug 723791 - fun_getProperty needs a method barrier (r=jorendorff)
--HG--
extra : rebase_source : 3fea7a8d9f965e921bb2744b8588f241e2e7c843
2012-02-03 00:11:31 -08:00
Bobby Holley
f6d1b22438 Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap 2012-02-07 18:06:41 -08:00
Bobby Holley
f8c175e066 Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap 2012-02-07 18:06:34 -08:00
Igor Bukanov
b7af0543dc bug 660441 - removal of cx parameter from IsAboutToBeFinalized. r=anygregor 2012-02-08 01:51:32 +01:00
Andrew McCreight
f8cd31c84a Bug 696174 - Log JS heap at the same time as CC heap. r=bholley,smaug 2012-02-02 16:32:30 -08:00
Steve Fink
6a0b8b9da2 Bug 712289 - Test alignment of jsval across C and C++. r=bz 2012-01-18 14:56:49 -08:00
Terrence Cole
1c2987c2d2 Bug 724586 - Use modern tools to clean up obj_ToSource; r=Waldo
This patch replaces the fiddly strcat logic with StringBuilder usage and cleans
up the error handling control flow using RAII.

--HG--
extra : rebase_source : d42753a880a8d242627534cd5827075ea4a8966d
2012-02-07 10:39:58 -08:00
Igor Bukanov
146c8750f5 bug 724810 - storing finalizer in external strings directly. r=luke
--HG--
extra : rebase_source : d3222c685190bbdbe9446628f2f73f2a6f81eb11
2012-02-07 19:44:54 +01:00
Jason Orendorff
55246ac0c6 Bug 699565 - Part 6 - for-of loops on typed arrays. r=bhackett. 2012-02-07 12:57:17 -06:00
Jason Orendorff
65c74671e7 Bug 699565 - Part 5 - for-of loops on arguments objects. r=bhackett. 2012-02-07 12:57:17 -06:00
Jason Orendorff
17cd06a094 Bug 699565 - Part 4 - for-of loops on array-like DOM object. r=bz. 2012-02-07 12:57:17 -06:00
Jason Orendorff
f45fe0cf07 Bug 699565 - Part 3 - for-of loops on wrappers. r=bhackett. 2012-02-07 12:57:16 -06:00
Jason Orendorff
0bba3a3400 Bug 699565 - Part 2 - for-of loops on arrays. r=bhackett. 2012-02-07 12:57:16 -06:00
Jason Orendorff
015e4e18f2 Bug 699565 - Part 1 - for-of loop basics. r=Waldo. 2012-02-07 12:57:16 -06:00
Marco Bonardo
b7c136e7dc Bug 722254 - Add an XPCOMUtils method to generate a singleton factory.
Use the new factory in Places js services, to ensure they can't be instanced multiple times.
r=bsmedberg
2012-02-07 10:17:42 +01:00
Marco Bonardo
914ed1aeaf Backout c0077ffef801 (bug 723806) for failures in xpcshell and m-oth tests 2012-02-07 10:16:58 +01:00
Makoto Kato
169c5d75e1 Bug 715849 - yasm and GNU as should add debug flag if MOZ_DEBUG_SYMBOLS=1. r=khuey 2012-02-07 15:06:28 +09:00
Jim Blandy
b376fcf426 Bug 723806: Make JavaScript CTypes print function types correctly. r=bholley
This adds new tests, and also fixes existing CTypes tests that relied on
the bug's presence.
2012-02-06 21:18:42 -08:00
Nicholas Nethercote
610b65aebb Bug 689583 - Add names for memory multi-reporters. r=jlebar.
--HG--
extra : rebase_source : adb3fb2cbbb8a07b60edd48c7dc9a3a4a4763b79
2012-02-06 17:02:59 -08:00
Brian Hackett
f2b7df1b8d Tweak logic when analyzing properties of new scripts, bug 720380. r=dvander 2012-02-06 11:18:33 -08:00
Brian Hackett
43eff80b9d Don't invoke __noSuchMethod__ on primitive lvalues in ICs, bug 721939. r=dvander 2012-02-06 10:49:31 -08:00
Andrew McCreight
3c119f3dbc Bug 724398 - specialize GCThingIsMarked to GRAY. r=billm 2012-02-05 19:43:35 -08:00
Nicholas Nethercote
0a958739f2 Bug 722609 - Rename the js-total memory reports. r=luke. 2012-01-30 20:03:29 -08:00
Nicholas Nethercote
26f5d80631 Bug 722595 - Add memory reporters for misc things hanging off JS objects. r=bhackett.
--HG--
extra : rebase_source : 211b35134923f4cb99625bb240b96e81f0f28b4b
2012-01-30 18:12:03 -08:00
Masatoshi Kimura
28e1453f25 Bug 723894 - Crash when Web IDL dictionary object is null; r=mrbkap 2012-02-05 18:57:46 +00:00
Tom Schuster
265f99d7f7 Bug 720675 - OOM Crash [@ JSString::isFlat] because of NULL deref for ensureFlat. r=bhackett 2012-02-05 11:32:12 +01:00
Panagiotis Koutsourakis
583eb38038 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Igor Bukanov
3163d5e91e bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
David Mandelin
57906003b0 Bug 723728: use calloc again in allocateArrayBufferSlots because it's faster, r=jwalden 2012-02-03 15:02:39 -08:00
David Mandelin
c3ab5c0ed5 Bug 714616 followup: add assertions to moveDenseArrayElements unbarriered, r=billm 2012-02-03 13:47:39 -08:00
Terrence Cole
72eb4e83f8 Bug 716069 - Add missing post barriers to newObjectFromHit; r=billm
When we copy in the new object, we need to trigger barriers on the shape and
type pointers.  Note: all value immediates in the object are guaranteed to be
uninitialized.
2012-01-12 19:03:25 -08:00
Jonathan Kew
bd99a4284f backout c18523b51058 (bug 716014) on suspicion of causing Win Debug reftest timeouts. 2012-02-03 14:01:35 +00:00
Luke Wagner
9cc13cfe8f Bug 688069 - fix String.prototype.{replace,match,search,split} for transparently wrapped RegExp arguments (r=cdleary)
--HG--
extra : rebase_source : 52e43bfbd134f8afcff15b354fcb777d9b0e71ba
2012-02-01 13:36:48 -08:00
Luke Wagner
61f07f2b85 Bug 688069 - Use CallArgs typey-ness throughout jsstr (r=waldo)
--HG--
extra : rebase_source : e07b03a817dff4193762ae7d134765e05065fc31
2012-01-27 15:32:53 -08:00
Luke Wagner
d40b429431 Bug 688069 - remove spurious call to zeroLastIndex, bringing us to parity with jsc/v8. This allows removing RegExpPair and several other cleanups (r=cdleary)
--HG--
extra : rebase_source : ae6497b500e93019ecc06ba2668fbdbe70b15417
2012-01-27 15:32:53 -08:00
Luke Wagner
5d8152652b Bug 722594 - Remove xpc_CreateMTGlobalObject and mMTCompartmentMap (r=mrbkap)
--HG--
extra : rebase_source : 6dd76009eb8029499efcbe6bbb0b74d58000612c
2012-02-01 13:36:51 -08:00
Luke Wagner
f5e853cb76 Bug 692269 - Remove jsstr.h, vm/String.h, jsautokw.h, jsclone.h, jsopcode.tbl, jsopcode.h, jsstdint.h from INSTALLED_HEADERS (r=billm)
--HG--
extra : rebase_source : f9e20f1d52987251ad3d58c76531dcd5135076ad
2012-01-30 09:17:38 -08:00
Matt Brubeck
15a57a260d Merge mozilla-central to inbound 2012-02-02 20:49:06 -08:00
Olli Pettay
08dfac99be Bug 716014 - Use CompartmentGC more often, r=billm,mccr8 2012-02-02 22:34:53 +02:00
Terrence Cole
a2169b9117 Bug 716136 - Add a configure flag to enable Generational GC; r=billm
These are already in the tree in several places to protect (empty) post write
barriers.  This will make it easier to test this functionality on more
platforms going forward.

--HG--
extra : rebase_source : d9c7f4f46392abbd608da94d02a7bc45f9fe8613
2012-01-06 17:05:33 -08:00
Matthew Gregan
a7fb4781d7 Bug 623444 - Import Windows libcubeb implementation. r=doublec, r=khuey 2012-01-13 14:38:39 +13:00
Andrew McCreight
820e1f1806 Bug 721933 - add way to do compartment GC with a reason. r=billm 2012-02-01 17:55:09 -08:00
Jeff Walden
e1e013efb8 Bug 723249 - Implement a dump() function on JSString, JSAtom, and JSObject, for easier typing than js_Dump*. Also implement JSString::equals. r=luke
--HG--
extra : rebase_source : 0bb078d0ded8aa52753261605bc72a5eef45e65e
2012-01-31 18:03:41 -08:00
Igor Bukanov
bd4db6e9ef bug 723021 - moving native stack limits into runtime. r=luke 2012-01-31 23:28:22 +01:00
Jeff Walden
ed8310add7 Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke 2012-01-31 16:49:27 -08:00
Jeff Walden
003f15369d Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff 2012-01-19 17:15:33 -08:00
Steve Fink
9e7723251c Bug 717104 - test that an unreachable global does not keep its Debuggers alive. r=woof!
--HG--
extra : rebase_source : 6249095c7501ba1e1647ea01998de685fe0a278e
2012-01-26 11:55:39 -08:00
Steve Fink
8144d41e36 Bug 717104 - unreachable debuggee globals should not keep their debuggers alive. r=jorendorff
--HG--
extra : rebase_source : e1b4bc44adea1fa0bb94188ccaccc156c194dfbb
2012-01-16 17:02:15 -08:00
Phil Ringnalda
ba92819c8c Back out 9aac714775b9 (bug 723111) for make check orange 2012-02-01 10:25:04 -08:00
Blake Kaplan
214339dab1 Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky
--HG--
extra : rebase_source : 51216cf21b63554e50633c89f393c5888241dee2
2012-01-26 14:55:27 +01:00
Terrence Cole
ada97c5ed0 Bug 716042 - Add missing barriers to JSObject::TradeGuts; r=billm
Add a manual post barrier to match the existing pre-barrier.
2012-01-06 14:00:35 -08:00
Brian Hackett
fa94777aac Catch some opcodes which return directly from a script, bug 723099. r=dvander 2012-02-02 16:09:47 -08:00
Brian Hackett
eb40383cdf Remove bogus assert, bug 722021. r=jandem 2012-02-02 16:06:41 -08:00
Blake Kaplan
1343f4e23c Bug 723111 - Add an option to js::UnwrapObject so that it doesn't stop at outer windows when unwrapping. This is useful for cases where we are trying to find the wrapped native for a security wrapper. r=bzbarsky 2012-01-26 14:55:27 +01:00
Bobby Holley ext:(%2C%20Jason%20Orendorff%20%3Cjorendorff%40mozilla.com%3E)
2e56dac55e 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
Jason Orendorff
bf70c01d6a Make the JS debugger consistently ignore dummy frames, fixing an assertion failure. Bug 678086, r=jimb. 2012-01-27 14:16:22 -06:00
Jason Orendorff
68e5914814 Reinstate a few assertions in TokenPos constructors. Bug 695922, r=luke. 2012-01-27 14:14:01 -06:00
Peter Van der Beken
801dbb695f Fix for bug 717009 (Inline ListBase<LC>::instanceIsListObject and ListBase<LC>::getListObject). r=bz.
--HG--
extra : rebase_source : 368514fa942cb31751e5c6b4ff9d206c1bb609bc
2011-11-09 11:37:47 +01:00
Landry Breuil
68710b975e Bug 653551 - Jaegermonkey Sparc back-end broken on sparc64. r=leon.sha 2012-02-02 15:31:56 +09:00
Peter Van der Beken
85e454d39a Fix for bug 716997 (Allow new DOM bindings with 0 methods or properties). r=jst.
--HG--
extra : rebase_source : 2b16fa38254362cdedc136a8a4b07261ab2f6a76
2011-10-14 23:21:39 +02:00
Peter Van der Beken
d72b55a274 Fix for bug 693811 ("Assertion failure: shouldCacheProtoShape(cx, proto, &shouldCache) && shouldCache" in ListBase::nativeGet). r=mrbkap.
--HG--
extra : rebase_source : 5baa4b1afeecf64e7f1945869e9cd2ae9045b44c
2011-10-14 23:29:36 +02:00
Boris Zbarsky
0c74b1ef90 Bug 722729. Expose a public API for LinkConstructorAndPrototype. r=bhackett 2012-01-31 22:40:49 -05:00
Nicholas Nethercote
4f29e66f41 Bug 671299 (part 3) - Add style sheet memory reporters. r=dbaron. 2012-01-02 18:19:14 -08:00
Matt Brubeck
2f76524e14 Back out 08f4fc94e27b f3ceed05f6b7 f87d25461d6c 317e842f6c65 57adfe804b56 (bug 720316, bug 722260) 2012-01-31 17:34:26 -08:00
Jeff Walden
d9be9c5c4c Add END_CASE_LEN7 for Windows support, and add two forgotten manifest lists. Bug 722260 for the latter, no bug for the former, r=bustage 2012-01-31 16:49:27 -08:00
Brian Hackett
4f5cff94b3 Don't run compile-and-go scripts on globals with a cleared scope, bug 680456. r=dmandelin 2012-01-31 16:36:07 -08:00
Jeff Walden
9e3d1bf861 Backed out changeset f87d25461d6c -- seems js_DumpString (at least) is only exposed in vm/String.cpp #ifdef DEBUG. Still no bug, r=bustage 2012-01-31 16:32:02 -08:00
Jeff Walden
35b0181d09 Add dump() to JSString, JSAtom, and JSObject as an easier-to-type alias to js_Dump*. Also add equals(const char*) methods to JSAtom and JSString. These methods are all to be used *only* while debugging. No bug, rs=luke over IRC 2012-01-31 15:48:27 -08:00
Jeff Walden
e108b6016a Bug 722260 - Properly handle NaN values as keys in Map objects. r=luke
--HG--
extra : rebase_source : 54ac2dccb9c1cb5c53f726939c988c4abfd74ab7
2012-01-30 17:08:34 -08:00
Jeff Walden
f30738541f Bug 720316 - Convert the various object and function indexes into uint32_t. r=jorendorff
--HG--
extra : rebase_source : 179deea8ca29b157b88658ccde6eabd6df48fab2
2012-01-19 17:15:33 -08:00
Sander van Veen
2cc3dbdefc Bug 681556 - Default sandboxName to the caller's filename. r=mrbkap. 2012-01-30 20:06:41 -08:00
Boris Zbarsky
b9917f3e19 Bug 722734. Add const signatures for converting back and forth between JS::Class and JSClass. r=mrbkap 2012-01-31 17:14:56 -05:00
Ed Morley
fe4fa2137e Merge mozilla-central to mozilla-inbound 2012-01-31 21:20:50 +00:00
Jim Blandy
31ba736fb8 Bug 722551: Once a function proxy has been frozen, operating on it should not cause its trap handlers to be called. 2012-01-31 12:48:14 -08:00
Jim Blandy
0fc7e7c56d Bug 722622: Remove custom trace function from js_NoSuchMethodClass. r=waldo
Since js_NoSuchMethodClass is a native class, the normal slot traversal
will reach the function and id slots.
2012-01-31 12:38:19 -08:00
Alex Keybl
1397a1a058 Bug 700000 - Version bump 2012-01-31 10:57:49 -08:00
David Mandelin
43badc67e6 Bug 714616: fix write barrier in Array.shift, r=billm
--HG--
extra : rebase_source : 2fd10ab4cc3a93aee188ef6f9bbc388f66da2d37
2012-01-30 17:13:07 -08:00
David Anderson
03a57cd888 Support soft-float for ARMv6 (bug 696291, r=mrosenberg). 2012-01-30 18:53:37 -08:00
Jeff Walden
3c3b76a04f Bug 722023 - Only call GetElementIC::attachGetProp with named properties, not indexed properties. r=bhackett
--HG--
extra : rebase_source : aec995e286ec3d6bc85ed539d39840217f2ec4cf
2012-01-29 12:29:29 -08:00
Jeff Walden
6cb3d45766 Bug 721322 - Functions containing |expr.arguments| should be marked (conservatively) as using arguments. r=jorendorff
--HG--
extra : rebase_source : 3ef23e440de3244ffff8ceb30e75fe086ae3b577
2012-01-26 17:04:00 -08:00
Kan-Ru Chen
a1dfeed3b0 Bug 709585 - Part 5, hal code for the Power API. r=cjones
--HG--
extra : rebase_source : 49c8cb29be617293eb9143b3e3c760229b37943c
2012-01-31 01:08:00 -05:00
Makoto Kato
05b09d853c Backout bug Bug 702179 due to bustage on MacOSX deubg and Win32 debug 2012-01-31 18:00:25 +09:00
Ginn Chen
57da459d97 Bug 702179 Reland 1d0ec7fa8b96 since Bug 719742 is fixed. 2012-01-31 14:51:13 +08:00
Scott Johnson
c5f8492d9e Backout 6a4c4cb828a8 for bustage on windows. 2012-01-30 18:47:43 -06:00