Commit Graph

16642 Commits

Author SHA1 Message Date
Jason Orendorff
4d5d656510 Add Map.prototype.size and Set.prototype.size. Bug 726298, r=luke. 2012-03-01 09:01:45 -06:00
Jason Orendorff
33370f823d Add tests for some ancient watchpoint bugs (zombie setters!) and remove a senile line of code from obj_watch. Bug 604781, r=jimb. 2012-03-01 09:01:45 -06:00
Jason Orendorff
d7658cd226 Fix totally wrong OOM handling in MapObject.cpp. Bug 726218, r=luke. 2012-03-01 09:01:45 -06:00
Jason Orendorff
270528dd84 Fix "Assertion failure: isDenseArray() && idx < getDenseArrayInitializedLength(), at ../jsobjinlines.h:558" with for-of, Array, trailing holes. Bug 726212, r=Waldo. 2012-03-01 09:01:45 -06:00
Jason Orendorff
959ae996b6 Element iterators should use [[Get]] and not peculiarly ignore the prototype chain. Bug 725168, r=Waldo. 2012-03-01 09:01:45 -06:00
Jason Orendorff
2642e75e1e Reflect.parse("[,,,]") should make an ArrayExpression with .elements.length 3. Bug 630232, r=dherman. 2012-03-01 09:01:45 -06:00
Igor Bukanov
212769b040 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
Steve Fink
440b7e4be9 Bug 730144 - Label objects with their mark colors when dumping the heap
--HG--
extra : rebase_source : 8bb1243f66610bde734a4f9063446a1b02bc0b68
2012-02-23 18:47:59 -08:00
Steve Fink
10453f7f06 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 : 0807e755d5d7c1ecd6837ca4f6b8d4cc53e3f0b2
2011-06-06 14:11:08 -07:00
Justin Lebar
62dbeeb1ab Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
David Mandelin
d385e9a7d7 Bug 731492: Remove obsolete typedef JSPackedBool, r=luke
--HG--
extra : rebase_source : 95423985f55547755a988ba19629678997bfa553
2012-02-28 19:03:57 -08:00
Matt Brubeck
b2985cd260 Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes 2012-02-29 16:18:22 -08:00
Jeff Walden
9ab7770713 Warning patrol. No bug, r=themaid
--HG--
extra : rebase_source : b7e56f8e95e76c35089ff48a26fb60f9a4708995
2012-02-28 18:08:04 -08:00
Igor Bukanov
d93ff2cec2 Bug 731618 - remove JSContext * parameter from heap iteration API. r=:Billm 2012-02-29 21:23:53 +01:00
Steve Fink
f84e5eb138 Bug 731450 - jstests.py needs to import subprocess.call. r=dmandelin
--HG--
extra : rebase_source : 307566ad1ad837dcd355440f378b755db3ae6afc
2012-02-28 17:15:26 -08:00
Steve Fink
b293326077 Bug 730144 - Label objects with their mark colors when dumping the heap. r=mccr8
--HG--
extra : rebase_source : 0eb7c558ec255cb26784522137a8b80746cbe140
2012-02-23 18:47:59 -08:00
Igor Bukanov
2e914758d0 bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm 2012-02-29 21:23:38 +01:00
Bill McCloskey
93c58d3937 Bug 731052 - Clean up incremental resets (r=igor) 2012-02-29 10:28:30 -08:00
Irving Reid
f62ddb349e Bug 731316: override warning about unsupported compiler warning flag on clang. r=respindola. 2012-02-29 10:20:42 -05:00
Rafael Ávila de Espíndola
5d8985e2ba Bug 731503 - fix typo. r=bustage. 2012-02-29 08:16:32 -05:00
Rafael Ávila de Espíndola
fcbba2ae84 Bug 731503 - workaround llvm.org/pr12127. r=dvander. 2012-02-29 08:04:26 -05:00
Igor Bukanov
9174f0c095 bug 730281 - remove cx argument from GC and compartment related functions. r=:billm 2012-02-29 13:18:16 +01:00
Phil Ringnalda
14ef276917 Back out 4537403fb911 (bug 731450), c9e48c19363a (bug 719294), 682dd844587b (bug 730144) for flambe 2012-02-28 19:07:40 -08:00
David Mandelin
838cb3c65a Bug 730523: remove jscompat.h, r=luke 2012-02-28 18:17:11 -08:00
Steve Fink
121049ce09 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
1be7cb6acd 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
fca4458cd8 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
60e80d55b6 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
Nathan Froyd
fe59904f37 Bug 731248 - Remove duplicate headers in js/src. r=luke 2012-02-28 12:01:52 -05:00
Luke Wagner
9a5b28542d Bug 731181 - Handle GC during RegExpShared::compile (r=billm)
--HG--
extra : rebase_source : bfc5af40e73cd5be1dce0fe2198175ae19e77998
2012-02-28 15:36:19 -08:00
Bill McCloskey
9303e9a379 Bug 729367 - Add write barrier flag to shell worker class (r=jorendorff) 2012-02-28 10:43:56 -08:00
Brian Hackett
11539a30d5 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
9f209fa47a 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
bb69258364 bug 730987 - remove per-context debug hooks. r=luke 2012-02-28 11:54:40 +01:00
Luke Wagner
f6301bef27 Bug 729382 - move the rest of the CallObject into ScopeObject (r=waldo) 2012-02-23 13:58:39 -08:00
Luke Wagner
644e9f3621 Bug 724790 - get rid of the hasOverriddenArgs funny business (r=waldo) 2012-02-07 12:34:29 -08:00
Nicholas Nethercote
afab5f33f9 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
David Anderson
dfb799c917 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
7e0032bea8 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
75ad83c0a1 Tix fypo, bug 730810. r=winning 2012-02-27 15:17:38 -08:00
Jeff Walden
7e88cd00ca Bug 730810 - Don't assert doing a compound assignment to a const. r=luke 2012-02-27 14:04:04 -08:00
Christian Holler
2bdd8d6d14 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
af33552a20 Bug 730415 - Fix JS engine OOM condition in makeDenseArraysSlow. r=bhackett 2012-02-27 12:57:53 -08:00
Terrence Cole
7f4d7cccfd 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
f3534c4ae9 Bug 729238 - Save and restore weakmap list during marking validation (r=igor) 2012-02-27 09:48:35 -08:00
Mike Hommey
0d8f2ba3a8 Bug 716544 - Define android NDK headers as system headers. r=khuey 2012-02-27 08:22:27 +01:00
Phil Ringnalda
93fdd4cb81 Back out a7255af10a2a and da193f5b526b (bug 729403) for xpcshell assertions in test_TelemetryPing.js 2012-02-26 18:39:06 -08:00
Nicholas Nethercote
252040f7c7 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
ABE Hiroki
9b386c3ab4 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
aeecda2564 Bug 729238 - Don't reset weakmap list during mark validation (r=igor) 2012-02-26 10:04:53 -08:00