Commit Graph

23622 Commits

Author SHA1 Message Date
Jeff Walden
e182be6d67 Bug 667527 - Remove the array-length limitation from the method used in certain cases to append values to newborn arrays, and name it more generally than previously. r=dmandelin
--HG--
extra : rebase_source : 1f7ee1dc5f5bd3185a8c7e02c5fdf8dcef765cb4
2011-06-28 10:05:40 -07:00
Nikhil Marathe
cbe391a287 Bug 665355 - Make delegate object and ArrayBuffer share same prototype. r=mrbkap
--HG--
extra : rebase_source : a7bd7dce5e0fbc53097f56065f5d5290046bc691
2011-06-29 17:42:03 -07:00
Nikhil Marathe
f3d65acc81 Bug 665355 - Fix __proto__ recursion. r=mrbkap
--HG--
extra : rebase_source : b97d692c2318e3e071e68e2e1cec38ca9e614cb0
2011-06-29 17:41:35 -07:00
Nikhil Marathe
58bad94550 Bug 665914 - ArrayBuffer.prototype['byteLength'] crashes. r=mrbkap
--HG--
extra : rebase_source : 09fda2860e11457f516c3b0b0614bde7e3ff3a91
2011-06-29 17:38:10 -07:00
Blake Kaplan
cfc7503a4c Bug 667630 - Don't treat the payload of a jsval as a pointer and make sure we unroot the value. r=luke
--HG--
extra : rebase_source : b3c5c3a29c859e2632ef97b0acc0a18842f9c52a
2011-06-29 17:36:09 -07:00
Blake Kaplan
f2051c534a Bug 664689 - Deal with wrappers-around-wrappers here. r=gal
--HG--
extra : rebase_source : af67e8aded9aa89874c0d74bc9fd48df2268eafc
2011-06-28 14:00:19 -07:00
Steve Fink
84a0405d58 Bug 667056 - Fix when function callbacks are invoked (r=luke) 2011-06-24 17:13:19 -07:00
Steve Fink
5a2aad9f3f Bug 667076 - Add a CHECK_EQUAL for testing whether non-jsval types are equal and report expected and observed values on failure (r=luke)
--HG--
extra : rebase_source : fb98cbdcaa63abbfe718d3dfc5b3ac1b0d3a64da
2011-06-24 13:11:28 -07:00
Steve Fink
6e50bf2c00 bug 637136 - const-ify JS_ON_TRACE (r=luke)
--HG--
extra : rebase_source : a275648b51b33b166087c3a8ab8a1b51e8b97bcf
2011-03-24 23:47:48 -07:00
Luke Wagner
03b7b410a3 Bug 668261 - Change EvalInContext to not clobber callee early; don't propagate rval on js::Execute failure so that rval-clobbering callers don't trigger assert (r=waldo)
--HG--
extra : rebase_source : ba03185f711e4f459b629b9c45162da5ace945fe
2011-06-30 09:26:42 -07:00
Luke Wagner
806dd907a6 Bug 667824 - Make tracer match changes to JSOP_CALL (r=waldo)
--HG--
extra : rebase_source : ff0c504b824963433b6b8195804c42f241fa9175
2011-06-30 09:23:15 -07:00
David Mandelin
f1f1f03a79 Bug 660371: report regexp syntax errors as compiler errors when appropriate, r=cdleary 2011-06-27 18:53:26 -07:00
Jim Blandy
58c3e9fa12 Bug 667126: Allow WeakMaps where the criterion for retaining an entry does not imply that the entry's key has been marked. r=jorendorff
This patch replaces the 'markKey' and 'markValue' member functions of the
MarkPolicy template parameter with two functions:

- markEntryIfLive determines if a map entry should be retained, and, if so
  ensures its key and value have been marked.
- markEntry simply marks an entry's key and value, unconditionally.

The comments describe these in more detail.
2011-06-29 02:27:47 -07:00
Jim Blandy
170848483b Bug 627859: Use the standard placeholder-making function when re-scoping variable references in generator 'yield' expressions. r=brendan
CompExprTransplanter::transplant did a bunch of bespoke pointer-fiddling to
take the free variable references in the 'yield' expression and re-scope
them within the comprehension tail clauses. That code incorrectly
constructed placeholders for function references; this was fixed in bug 576847.

However, it would also work to simply use the same placeholder construction
function everybody else does. This patch makes it so.
2011-06-29 02:11:08 -07:00
Nicholas Nethercote
98858df64d Update nanojit-import-rev stamp. 2011-06-29 10:33:21 +10:00
Daniel Holbert
fe22d287d0 Bug 666480: Remove set-but-not-used variable 'priorIns' from LIR.cpp. r=wmaddox
--HG--
extra : convert_revision : 4cc8b8ebd44b989e08935ed8ffae7e9cb4eb4ae9
2011-06-29 09:57:01 +10:00
Dave Herman
3c4a08e8ba Bug 590973 - Reflect.parse(): expose to chrome as a toolkit component (r=gal) 2011-06-28 10:57:16 -07:00
Jeff Walden
98f08d1bf5 Bug 667646 - fun.caller should be null, not undefined, when fun is being called by global code. r=evilpie 2011-06-27 15:57:50 -07:00
Jeff Walden
22ad6bc105 Remove a superfluous #include "jstypedarray.h" from nsXPConnect.cpp. No bug, r=driveby 2011-06-27 15:55:12 -07:00
Jeff Walden
0349ff3c11 Bug 645922 - Remove nsIJSON.encode/decode, because their functionality is subsumed by JSON.parse and JSON.stringify, and their idiosyncrasies are hindering code improvements. Also remove js_TryJSON and JS_TryJSON, which are no longer used after these changes and have no clear use cases. r=brendan, r=jst 2011-03-28 19:27:15 -07:00
Jeff Walden
7c70caea9a Bug 667538 - Crash accessing Function.caller or Function.arguments when no script is running. r=evilpie 2011-06-27 13:36:11 -07:00
Jeff Walden
092f409ee9 Bug 646574 - dis() is broken when the function being disassembled has upvars. r=mrbkap 2011-06-24 18:03:04 -07:00
Dave Herman
dfeadc0b9f Bug 630897 - Reflect.parse(): catch clauses should always be an array (r=jorendorff) 2011-06-27 20:47:48 -07:00
Blake Kaplan
6ecff256c2 Fix bustage from bug 634156. 2011-06-27 18:16:27 -07:00
Blake Kaplan
0c86312e14 Bug 660797 - Don't accidentally lift the prototype property onto the element itself. r=jorendorff
--HG--
extra : rebase_source : 7346e0a482af18b7c2ead77a423030e180241cad
2011-06-16 16:39:45 -04:00
Blake Kaplan
c71ebb064b Bug 634156 - Come up with a way of creating an API in content that exposes real content objects without using a sandbox. r/sr=jst/mossop/gal
--HG--
extra : rebase_source : c3ca469ff33d099b51e140d0a274113884507a03
2011-05-03 13:43:08 -07:00
Dave Herman
87ab97135a Bug 667131 - crash: 'yield' unnoticed due to calling maybeNoteGenerator() too late (r=cdleary) 2011-06-27 15:38:10 -07:00
Chris Leary
574bbb45db POD trait for |long long| family, attempt to rambo Winx64 back to life. (rs=luke) 2011-06-27 15:00:17 -07:00
Chris Leary
f7a9ecdde6 Bug 667504: Allow atom declaration updates in linked list form. (r=luke) 2011-06-27 14:02:09 -07:00
Chris Leary
b6e46acdbd Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Igor Bukanov
a6e576e8ca bug 666091 - custom file for GCTIMER output. r=anygregor 2011-06-22 14:33:39 +02:00
Jeff Walden
eb803ca83b Style patrol followup to bug 665835. r=consistency
--HG--
extra : rebase_source : fe11c9f93246357209608ef6db85f2c147eb1b61
2011-06-24 14:36:13 -07:00
Chris Leary
909d951b40 Followup for bug 649576 GCC 4.3.3 warning. 2011-06-25 16:35:56 -07:00
Chris Leary
f1e0113af3 Bug 649576: Extricate JSHashTable from JSAtomList death grip. (r=luke) 2011-06-24 14:22:30 -07:00
Paul Biggar
45c3008821 Bug 666788: Remove JS_sscanf declaration, for which there is no definition (r=cdleary) 2011-06-24 16:12:40 -07:00
Luke Wagner
980bd7eabf Bug 666094 - InitJitFrameLatePrologue should do a better modeling generatePrologue (r=dvander) 2011-06-24 16:11:21 -07:00
David Mandelin
c79ee94bc2 Bug 666587: revert accidentally changed control flow in fun_getProperty, r=jwalden 2011-06-24 14:26:00 -07:00
Dave Herman
86de6be516 Bug 666852 - crash when yield occurs in comprehension RHS (r=cdleary) 2011-06-24 14:08:29 -04:00
Igor Bukanov
9e6d47a439 Bug 657198 - improving unreachable GC things detection in traces. r=gal 2011-05-31 10:01:09 +02:00
David Anderson
7af37c7b87 Fix ARM assert (no bug, r=cdleary). 2011-06-24 00:22:58 -07:00
Jeff Walden
e7a40351d4 Followup to fix tests relying on the mistaken absence of JSOPTION_ANONFUNFIX. r=orange 2011-06-23 18:48:55 -07:00
Brian Hackett
42227d5990 Bug 662132: Better coordination of GC and ICs, r=dvander 2011-06-23 18:19:57 -07:00
Gavin Barraclough
235b7e7999 Bug 653672: fix regexp offset handling, r=cdleary 2011-06-20 13:31:24 -07:00
Chris Leary
d46a59d72d Fix type-mismatched error return value. 2011-06-23 17:06:57 -07:00
Luke Wagner
a863d4e44c Bug 666292 - The decompiler does not deserve to use FrameRegsIter (it temporarily clobbers script->code) (r=waldo) 2011-06-23 16:41:59 -07:00
Jeff Walden
c35a61253a Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary
--HG--
rename : js/src/tests/js1_5/extensions/regress-376052.js => js/src/tests/ecma_5/misc/unnamed-function.js
2011-06-21 09:53:19 -07:00
Jeff Walden
6feb9d1460 *Fewer* *occurrences*, not "less occurences". r=languagenazi 2011-06-23 11:07:27 -07:00
Dave Herman
a1e4edd603 Bug 665286 - crash on yield in arguments list (r=cdleary) 2011-06-23 18:20:31 -04:00
Dave Herman
289f1e78a5 Fixed broken test case (r=orange) 2011-06-23 16:40:58 -04:00
Paul Biggar
6ab0557bfb Bug 666052: Remove unused NSPR defines for events, hashtables and arenas (r=luke) 2011-06-23 13:27:04 -07:00