Граф коммитов

8214 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 69905acac4 Avoid redundant JSOP_GROUP opcodes for efficiency and correct decompilation of JSOP_ENDINIT (351793, r=mrbkap). 2006-09-08 18:43:41 +00:00
brendan%mozilla.org 9894bce558 Fix two bugs in JSOP_CONDSWITCH code-gen and decompilation (351496, r=mrbkap). 2006-09-08 16:45:40 +00:00
brendan%mozilla.org 5fe9f5d831 Skip parens when looking for constant condition (351693, r=mrbkap). 2006-09-08 16:38:03 +00:00
brendan%mozilla.org 177c02d30f Fix js_CheckRedeclaration to drop a found property if the caller doesn't want it but there's no redeclaration error (351717, r=mrbkap). 2006-09-08 06:53:40 +00:00
brendan%mozilla.org 3f53205236 back out rev 3.160, it's buggy. 2006-09-08 05:18:36 +00:00
brendan%mozilla.org ca3ef40908 Fix decompilation to preserve braces required by let, and also fix switch body block to have scope for let at top level of case statement (349634, r=mrbkap). 2006-09-08 05:03:54 +00:00
brendan%mozilla.org 5c16f2b7d7 Must keep discriminant on stack when decompiling switches, for correct stack modeling of let expressions/blocks/declarations (351496, r=mrbkap). 2006-09-08 04:53:01 +00:00
mrbkap%gmail.com be5a272508 Correct the STMT_TYPE_MAYBE_MACRO to not include with, since we never want to turn a JSSTMT_WITH into a scope statement. Also ignore with statements when we're processing a let declaration so that given 'with (x) let x = 3' we correctly set x to 3. bug 350730, r=brendan 2006-09-08 00:54:45 +00:00
mrbkap%gmail.com 88daa9624a Clear the pending exception before calling the exception object's toString so that scripted toStrings actually have a chance to run. Patch from a-higuti@gray.plala.or.jp with minor tweaks from me, bug 350650, r=brendan 2006-09-08 00:39:30 +00:00
mrbkap%gmail.com bae0890070 Properly set the cloned block objects' parent slot. bug 351606, r=igor sr=brendan 2006-09-08 00:33:14 +00:00
brendan%mozilla.org b6ac2bcef3 Fix 351626 and 351705, r=mrbkap/sayrer. 2006-09-07 19:47:40 +00:00
brendan%mozilla.org 9752e56e09 Fix delete code gen to emit (operand, true) when operand is not an lvalue, but must be evaluated for side effects; instead of operand; true which does not decompile in expression contexts (350666, r=mrbkap). 2006-09-07 17:03:05 +00:00
brendan%mozilla.org 172291270f CheckSideEffects needs to do more work for delete operands, to match the code generator for delete (346915, r=mrbkap). 2006-09-07 16:57:59 +00:00
brendan%mozilla.org d5206fb446 Stop yield from filtering predicate for now (350809, r=igor). 2006-09-07 16:10:48 +00:00
bclary%bclary.com 2f6294f8c9 JavaScript Test - regression test for bug 350226, by Jesse Ruderman 2006-09-07 13:40:45 +00:00
bclary%bclary.com 8bcdd142e1 JavaScript Test - regression test for bug 350279, by Jesse Ruderman 2006-09-07 13:28:47 +00:00
bclary%bclary.com 6f4c797f12 JavaScript Test - regression test for bug 351104, by Jesse Ruderman 2006-09-07 13:12:50 +00:00
bclary%bclary.com 19addbe191 JavaScript Test - regression test for bug 351497, by Jesse Ruderman 2006-09-07 12:57:52 +00:00
bclary%bclary.com 3c9a1c5a84 JavaScript Test - regression test for bug 351514, by Brendan Eich 2006-09-07 12:52:13 +00:00
bclary%bclary.com f46708f0bf JavaScript Test - regression test for bug 351597, by Jesse Ruderman 2006-09-07 12:46:35 +00:00
bclary%bclary.com be1e2fda57 JavaScript Test - regression test for bug 351625, by Jesse Ruderman 2006-09-07 12:41:16 +00:00
igor.bukanov%gmail.com 68e51513e2 Bug 343675: allow to use keywords as function names. r=brendan 2006-09-07 11:28:30 +00:00
brendan%mozilla.org b65d7bb614 Remove extraneous JOF_XMLNAME format flags (350226, r=jwalden). 2006-09-07 05:53:02 +00:00
brendan%mozilla.org b237fc1549 Object and array initializers must be parenthesized if expression statements (351625, r=mrbkap). 2006-09-07 05:50:23 +00:00
brendan%mozilla.org c061c7fea4 Fix stack budget for postfix ++ and -- applied to property refs (350238, r=mrbkap). 2006-09-07 04:47:23 +00:00
brendan%mozilla.org 1a11edec95 Fix CheckDestructuring to reject array comprehensions (which start out as array initialisers) right away (350279, r=mrbkap). 2006-09-07 04:10:46 +00:00
brendan%mozilla.org 99abf3b722 s/NULL/JS_FALSE/ to fix glitch in last checkin that provokes a useful warning. 2006-09-07 01:22:22 +00:00
brendan%mozilla.org 1a6af0763a Fix JSOP_GROUP decompilation to propagate lastop to saveop (to lastop again on next iteration, in case of cascading groups; 351597, r=mrbkap). 2006-09-07 01:16:15 +00:00
brendan%mozilla.org 626f012531 Fix to require parentheses around yield expression in argument list (351514, r=mrbkap). 2006-09-06 22:52:28 +00:00
szegedia%freemail.hu bccd73a6b0 Use Rhino's security domain for generated classes by default when no SecurityController is in use 2006-09-06 13:35:16 +00:00
szegedia%freemail.hu 7f81005f2f Introduced SecurityUtilities -- for now, allows getting system properties in a privileged block 2006-09-06 12:54:45 +00:00
igor.bukanov%gmail.com 2ba1526c57 Bug 351413: let-block cloning is no longer recursive to avoid stack overflow. r=brendan 2006-09-06 08:55:12 +00:00
bclary%bclary.com 4ac441a51d JavaScript Test - regression test for bug 350531, by Biju 2006-09-06 07:24:05 +00:00
bclary%bclary.com 334c44eee6 JavaScript Test - regression test for bug 350531, by Brendan Eich 2006-09-06 07:08:15 +00:00
brendan%mozilla.org 8ae1726f07 Fix 351497, regression from last patch. 2006-09-06 07:05:57 +00:00
brendan%mozilla.org 7debe644bf Fix operator precedences and make the most of them when decompiling (350531, r=mrbkap/sayrer). 2006-09-06 06:31:08 +00:00
bclary%bclary.com eb9492f511 JavaScript Test - regression test for bug 351336, by Jesse Ruderman 2006-09-06 05:50:59 +00:00
bclary%bclary.com fb91307f43 JavaScript Test - regression test for bug 350442, Lubos Ures 2006-09-06 05:47:55 +00:00
bclary%bclary.com 82c3b90a6c JavaScript Test - regression test for bug 349814, by Jesse Rudermanregress-349814.js 2006-09-06 05:45:28 +00:00
brendan%mozilla.org 251910f4d6 Fix lack of XPC.mfasl versioning via separate JS bytecode version (350787, r=mrbkap/dbaron/jst). 2006-09-05 22:53:47 +00:00
brendan%mozilla.org ad16beafbf Cleanup patch geared toward not escaping control characters in XML literals (349814, r=mrbkap). 2006-09-05 20:21:56 +00:00
brendan%mozilla.org 21877dad03 Format comment per vim modeline. 2006-09-05 19:35:12 +00:00
brendan%mozilla.org 332c3087af Force parens around 'in' expr E1 in for (E1;...) loop (351336, r=mrbkap). 2006-09-05 00:29:32 +00:00
jwalden%mit.edu 9a9d3b2661 Bug 350629 - GeneratePrefix can return prefixes which begin with "xml" or similar, even though such prefixes are reserved in the XML spec. r=brendan 2006-09-04 23:25:29 +00:00
bclary%bclary.com 6a81b99f3e JavaScript Test - regression test for bug 350991, by Jesse Ruderman, Jeff Walden 2006-09-03 18:57:53 +00:00
bclary%bclary.com af196d4ec5 JavaScript Test - regression test for bug 344951, by Jeff Walden 2006-09-03 18:34:14 +00:00
igor.bukanov%gmail.com 3ae0efd172 Bug 347248: Initialize Error instance properties lazily to speed up new Error(). r=brendan 2006-09-03 12:34:18 +00:00
brendan%mozilla.org fcc8d89c9e Allow 'for (let (x)...; E2;E3)S1' as well as for with let declaration at the front (350991, r=mrbkap). 2006-09-03 07:50:32 +00:00
brendan%mozilla.org 8a73f5a395 Fix last checkin (351204, r=mrbkap). 2006-09-03 07:08:24 +00:00
brendan%mozilla.org 7884e4c388 Back out last change, reopening bug (thanks to waldo). 2006-09-03 06:29:20 +00:00