Brian Hackett
05d65de1c9
Backout consolidation of pending arrays for switch targets, bug 730888. r=dvander
2012-03-01 17:48:32 -08:00
David Mandelin
e2e9eb9eb3
Bug 731898: Remove typedef jsrefcount, r=luke
...
--HG--
extra : rebase_source : 1e0c99c44a8d6d2807a647273b1d07691f8c983e
2012-03-01 11:43:17 -08:00
Jason Orendorff
da07715475
Add CallArgs::hasDefined convenience method. Bug 730676, r=luke.
...
--HG--
extra : rebase_source : 12e51485479c86a518300de28fe125e692dea4c6
2012-03-01 12:48:52 -06:00
Jason Orendorff
0af3864536
Add static assertions as requested in bug 726298 comment 2 and 4.
...
--HG--
extra : rebase_source : 3edf2446076dae08c16b121de18505174c84f370
2012-03-01 12:48:47 -06:00
Ehsan Akhgari
3a282685d8
Bug 732162 - Build mobile profiling builds with -funwind-tables; r=khuey
...
--HG--
extra : transplant_source : 4O%F7%BA%94%0Fh%F6%5E%EA%10%E1%08%9E%D9S%A2XEd
2012-03-01 16:24:04 -05:00
Jim Blandy
dbda278555
Bug 721642: Remove function proxy support from proxy_TraceObject. r=jorendorff
...
Function proxies will always call proxy_TraceFunction, which handles the
'call' and 'construct' slots.
This patch also moves the call to proxy_TraceObject from proxy_TraceFunction into
a tail position, so it could be compiled as a jump.
2012-03-01 12:59:24 -08:00
Marco Bonardo
d433f51394
Backout 51bff179fa81 (bug 731898) for Android bustage
2012-03-01 21:57:14 +01:00
Bill McCloskey
abf41392d2
Bug 732087 - Change argc to nvars (r=luke)
2012-03-01 11:58:00 -08:00
David Mandelin
64337d4c17
Bug 731898: Remove typedef jsrefcount, r=luke
2012-03-01 11:43:17 -08:00
Bill McCloskey
bd2fa87f12
Bug 731783 - Eliminate per-compartment barrier marker (r=igor)
2012-03-01 10:39:13 -08:00
Kai Engert
a9fd38bf43
Bug 728719, NSSUTIL_GetVersion, undefined reference during linking, r=glandium
2012-03-01 17:29:34 +01:00
Jason Orendorff
b3e994f7f8
Make Map and Set constructors take a single iterable argument. Bug 726223, r=luke.
...
--HG--
rename : js/src/jit-test/tests/collections/Map-size-1.js => js/src/jit-test/tests/collections/Map-constructor-1.js
rename : js/src/jit-test/tests/collections/Map-size-2.js => js/src/jit-test/tests/collections/Map-size.js
rename : js/src/jit-test/tests/collections/Set-size-1.js => js/src/jit-test/tests/collections/Set-constructor-1.js
rename : js/src/jit-test/tests/collections/Set-size-2.js => js/src/jit-test/tests/collections/Set-size.js
2012-03-01 09:01:46 -06:00
Jason Orendorff
837e896d58
Add Map.prototype.size and Set.prototype.size. Bug 726298, r=luke.
2012-03-01 09:01:45 -06:00
Jason Orendorff
e0b3ccc0b5
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
32f4b561f4
Fix totally wrong OOM handling in MapObject.cpp. Bug 726218, r=luke.
2012-03-01 09:01:45 -06:00
Jason Orendorff
8a21b894b3
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
9ffda93808
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
eb84a5f3ba
Reflect.parse("[,,,]") should make an ArrayExpression with .elements.length 3. Bug 630232, r=dherman.
2012-03-01 09:01:45 -06:00
Jason Orendorff
8e4eb12002
Fix hilarious bug in js_malloc: it fails once every 2^32 allocations in DEBUG builds. Bug 730270, r=luke.
2012-03-01 09:01:45 -06:00
Igor Bukanov
182e2dd994
bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm
2012-02-29 21:23:38 +01:00
Steve Fink
1a213d89c9
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
8f67dbcad5
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
Bobby Holley
e6beee84d8
Bug 731471 - Don't reparent wrappers that don't want to move. r=peterv
2012-02-29 21:21:57 -08:00
Justin Lebar
b682bbe4a5
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
b29f6a956a
Bug 731492: Remove obsolete typedef JSPackedBool, r=luke
...
--HG--
extra : rebase_source : 95423985f55547755a988ba19629678997bfa553
2012-02-28 19:03:57 -08:00
Matt Brubeck
710e5b9000
Back out 2778f515ed5a (bug 723286) on suspicion of causing OSX64 crashes
2012-02-29 16:18:22 -08:00
Jeff Walden
7dc450d625
Warning patrol. No bug, r=themaid
...
--HG--
extra : rebase_source : b7e56f8e95e76c35089ff48a26fb60f9a4708995
2012-02-28 18:08:04 -08:00
Igor Bukanov
267b62cdb3
Bug 731618 - remove JSContext * parameter from heap iteration API. r=:Billm
2012-02-29 21:23:53 +01:00
Steve Fink
660c93f18d
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
34aac9ca1c
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
2139e49ce8
bug 723286 - remove JSContext * parameter from heap-traversal and related API. r=:billm
2012-02-29 21:23:38 +01:00
Bill McCloskey
594ab1a09f
Bug 731052 - Clean up incremental resets (r=igor)
2012-02-29 10:28:30 -08:00
Irving Reid
3675d8671d
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
429c78527e
Bug 731503 - fix typo. r=bustage.
2012-02-29 08:16:32 -05:00
Rafael Ávila de Espíndola
6111d91c62
Bug 731503 - workaround llvm.org/pr12127. r=dvander.
2012-02-29 08:04:26 -05:00
Igor Bukanov
3732e3e290
bug 730281 - remove cx argument from GC and compartment related functions. r=:billm
2012-02-29 13:18:16 +01:00
Phil Ringnalda
ac1d019bf7
Back out 4537403fb911 (bug 731450), c9e48c19363a (bug 719294), 682dd844587b (bug 730144) for flambe
2012-02-28 19:07:40 -08:00
David Mandelin
da7f46da70
Bug 730523: remove jscompat.h, r=luke
2012-02-28 18:17:11 -08:00
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
Marco Bonardo
bcb8184750
Backout 92c25caf3990 (bug 691707) for m-oth failures
2012-02-24 20:05:44 +01:00
Bill McCloskey
93fc879b61
Bug 730148 - Handle OOM better in ValidateIncrementalMarking (r=igor)
2012-02-24 10:46:31 -08:00
Bill McCloskey
0ceaaefb00
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
6bb126a26b
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
72dfdfe8df
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
7781df6688
Bug 730140 - NUL-terminate strings when dumping the heap. r=mccr8
2012-02-23 18:47:51 -08:00
Richard Newman
f8f9fa6f5d
Merge m-c to m-i.
2012-02-23 18:37:12 -08:00
Richard Newman
85840c2035
Merge last win pgo-green changeset from m-i to m-c.
2012-02-23 18:35:17 -08:00
Brian Hackett
d63d02e8aa
Fix bogus assert, bug 717249. r=waldo
2012-02-23 18:11:03 -08:00
Honza Bambas
e9c33fe76e
Bug 495337 - Make sessionStorage use principals instead of string domains, r=bz+bclary
2012-02-23 18:41:25 +01:00
Ben Turner
7af9098625
Backed out changeset 1f3643b7de2d
2012-02-23 07:09:11 -08:00
Ben Turner
3dc2527e7f
Bug 717414 - 'Telephony: Make calls array live'. r=sicking.
2012-02-23 03:48:35 -08:00