Commit Graph

24729 Commits

Author SHA1 Message Date
Eddy Bruel
5507f6d591 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
0e4ab3386b No bug, mark slow test 2012-02-08 18:09:28 -08:00
Matt Brubeck
8fa6fc4e97 Backed out changeset af0ab64cb947 (bug 675694) because of build failures 2012-02-08 17:36:53 -08:00
Eddy Bruel
945658be13 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
4ea914630b Bug 714614: don't create call objects with duplicated property names, r=bhackett 2012-01-27 14:33:27 -08:00
Luke Wagner
7fc1fd39aa Bug 725138 - tidy up Interpret with formalArg/localSlot (r=bhackett) 2012-02-03 00:11:31 -08:00
Luke Wagner
770493f526 Bug 725138 - tidy up vm/Stack code (r=bhackett) 2012-02-03 00:11:31 -08:00
Matthew Noorenberghe
df90693d9b Bug 294260 - Disable startup crash tracking in test profiles (toolkit.startup.max_resumed_crashes = -1) r=waldo,robcee 2012-02-03 18:31:31 -08:00
Terrence Cole
143deafefb 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
417c65d7c8 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-01-24 19:34:44 -08:00
Igor Bukanov
6fefb1df81 bug 724310 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo 2012-02-05 21:07:23 +01:00
Igor Bukanov
ae7ab9b03a backout merge for bug 724310. r=irc 2012-02-09 21:28:22 +01:00
Jeff Walden
eb4c56451f Warning patrol. No bug, r=themaid 2012-02-09 11:43:52 -08:00
Jeff Walden
b30c62a818 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 2012-01-28 23:13:12 -08:00
Jeff Walden
86fae3d31f Bug 722121 - Remove JSOP_DEFFUN_FC, because it can never be generated. r=jorendorff 2012-01-28 22:46:08 -08:00
Jeff Walden
a2d5b4ec15 Bug 722121 - Remove uses of CheckRedeclaration from defvar/defconst. r=jorendorff 2012-01-28 22:09:15 -08:00
Igor Bukanov
12633fbfdd bug 723517 - drop cx argument from JSObject field and fixed slots infallible API. r=:Waldo 2012-02-05 21:07:23 +01:00
Terrence Cole
f6ccba50cf 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.
2012-01-23 14:43:01 -08:00
Luke Wagner
94eb1e7b1e Bug 723791 - remove now-unnecessary noteArgumentsPropertyAccess (r=jorendorff) 2012-02-03 00:11:31 -08:00
Luke Wagner
e9c8a463a1 Bug 723791 - fun_getProperty needs a method barrier (r=jorendorff) 2012-02-03 00:11:31 -08:00
Bobby Holley
0023a0d945 Bug 622301 - Remove now-obsolete 'callee' parameter. r=mrbkap 2012-02-07 18:06:41 -08:00
Bobby Holley
165c3e5ee1 Bug 622301 - Don't use XPCWrappedNative::GetWrappedNativeOfJSObject in quickstub unwrapping. r=mrbkap 2012-02-07 18:06:34 -08:00
Igor Bukanov
642ae18cf6 bug 660441 - removal of cx parameter from IsAboutToBeFinalized. r=anygregor 2012-02-08 01:51:32 +01:00
Andrew McCreight
d6fc74bb61 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
16e982db54 Bug 712289 - Test alignment of jsval across C and C++. r=bz 2012-01-18 14:56:49 -08:00
Terrence Cole
53070e2444 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.
2012-02-07 10:39:58 -08:00
Igor Bukanov
1c1a3ca75f bug 724810 - storing finalizer in external strings directly. r=luke 2012-02-07 19:44:54 +01:00
Jason Orendorff
97ac5148f9 Bug 699565 - Part 6 - for-of loops on typed arrays. r=bhackett. 2012-02-07 12:57:17 -06:00
Jason Orendorff
182708f626 Bug 699565 - Part 5 - for-of loops on arguments objects. r=bhackett. 2012-02-07 12:57:17 -06:00
Jason Orendorff
eed6aab739 Bug 699565 - Part 4 - for-of loops on array-like DOM object. r=bz. 2012-02-07 12:57:17 -06: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
Marco Bonardo
20df07de58 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
44394f882e Backout c0077ffef801 (bug 723806) for failures in xpcshell and m-oth tests 2012-02-07 10:16:58 +01:00
Makoto Kato
9a95a222c0 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
2aa1695e79 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
f25b63a365 Bug 689583 - Add names for memory multi-reporters. r=jlebar. 2012-02-06 17:02:59 -08:00
Brian Hackett
e14e034703 Tweak logic when analyzing properties of new scripts, bug 720380. r=dvander 2012-02-06 11:18:33 -08:00
Brian Hackett
4b2e74e4c9 Don't invoke __noSuchMethod__ on primitive lvalues in ICs, bug 721939. r=dvander 2012-02-06 10:49:31 -08:00
Andrew McCreight
8eca1472d7 Bug 724398 - specialize GCThingIsMarked to GRAY. r=billm 2012-02-05 19:43:35 -08:00
Nicholas Nethercote
1d5312c4e6 Bug 722609 - Rename the js-total memory reports. r=luke. 2012-01-30 20:03:29 -08:00
Nicholas Nethercote
e29757d170 Bug 722595 - Add memory reporters for misc things hanging off JS objects. r=bhackett. 2012-01-30 18:12:03 -08:00
Masatoshi Kimura
20a00e83fa Bug 723894 - Crash when Web IDL dictionary object is null; r=mrbkap 2012-02-05 18:57:46 +00:00
Tom Schuster
03923fc5f0 Bug 720675 - OOM Crash [@ JSString::isFlat] because of NULL deref for ensureFlat. r=bhackett 2012-02-05 11:32:12 +01:00
Panagiotis Koutsourakis
835036b234 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
889c9d4073 bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
David Mandelin
aa4b0be437 Bug 723728: use calloc again in allocateArrayBufferSlots because it's faster, r=jwalden 2012-02-03 15:02:39 -08:00
David Mandelin
5b2d029227 Bug 714616 followup: add assertions to moveDenseArrayElements unbarriered, r=billm 2012-02-03 13:47:39 -08:00
Terrence Cole
33ea225b72 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