Commit Graph

76 Commits

Author SHA1 Message Date
Blake Kaplan
d17152f491 Bug 487215 - A lambda expression that uses arguments might escape, so don't clear the funarg flag. r=brendan 2009-04-07 15:48:16 -07:00
Brendan Eich
962b187fe5 upvar2, aka the big one take 2 (452598, r=mrbkap). 2009-04-05 21:17:22 -07:00
Jeff Walden
a89f043904 Grammar fix to kick a rando-orange box to green 2009-04-04 19:41:50 -07:00
Andreas Gal
706120c0fb Backed out changeset 972c44aa9d1f (bug 452598). 2009-04-04 10:14:52 -07:00
Brendan Eich
5f4d9ff474 upvar2, aka the big one (452598, r=mrbkap). 2009-04-04 10:05:49 +01:00
Igor Bukanov
a572accd66 bug 419662 - nested function definitions must come after destructuring argument initializer. r=mrbkap 2009-04-03 10:02:27 +02:00
Igor Bukanov
09ffabb7a1 bug 485164 - fixing sharp semantic regressions. r=mrbkap 2009-04-03 09:53:02 +02:00
Igor Bukanov
fdf059f766 bug 486139 - annotating destructuring JSOP_DUP for the decompiler. r=brendan 2009-04-02 16:31:54 +02:00
Igor Bukanov
7548565a13 bug 486124 - removal of unused TCF_HAS_DEFXMLNS. r=mrbkap 2009-04-01 10:33:43 +02:00
Robert Sayre
150b7d8a28 Merge tracemonkey to mozilla-central. 2009-03-24 13:49:05 -04:00
Jim Blandy
875aee5e88 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Robert Sayre
12943580cf Merge m-c to tracemonkey. 2009-02-23 12:44:23 -05:00
Nicholas Nethercote
bf6590048b Bug 478340 - TM: kill many of the warnings when building 'js'. r=mrbkap 2009-02-19 11:17:31 -08:00
Jason Orendorff
4e85d8fc3e Bug 384758 - A statement can follow an expclo without an intervening semicolon. r=igor. 2009-02-16 16:37:08 -06:00
Jim Blandy
ede7e6d142 Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more.  In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.

Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h.  The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00
Igor Bukanov
5fb2f0b511 bug 467495 - JSOP_DEFUN fixes to deal with non-top-level function statements redeclaring local argument and variables. r=brendan 2009-02-05 14:11:04 +01:00
Brendan Eich
3fcd3cab28 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 19:56:55 -08:00
Robert Sayre
cd3999104d Merge m-c to tm. 2009-01-26 13:54:59 -08:00
Blake Kaplan
5f7e26cdd5 Bug 474236 - Only throw errors when we have to. r=brendan 2009-01-20 16:31:10 -08:00
Blake Kaplan
9735f35124 Bug 474236 - Propagate EOF flags harder. r=brendan 2009-01-20 14:41:43 -08:00
Brian Crowder
1859a1f07b Bug 465808 - use FUN_OBJECT(callerFrame->fun) instead of potentially cloned callerFrame->callee; r=brendan 2009-01-24 01:20:10 -08:00
Zbigniew Braniecki (zbraniecki@mozilla.com)
315b289f84 Backed out changeset e81a7ff740bd for proper checkin (test drive, sorry :() 2009-01-24 01:17:07 -08:00
Zbigniew Braniecki (zbraniecki@mozilla.com)
551cda4c65 Bug 4658080 - use FUN_OBJECT(callerFrame->fun) instead of potentially cloned callerFrame->callee; p=bcrowder,r=brendan 2009-01-24 01:02:29 -08:00
Igor Bukanov
f7b0f5ece5 bug 455981 - duplicated arguments no longer supported when destructuring pattern is used. r=brendan 2009-03-22 10:54:17 +01:00
Brendan Eich
8476ea6560 Bug 469940 - Automatic semicolon insertion wrongly done after var with multi-line initializer (r=mrbkap, a=sayrer). 2008-12-18 01:11:04 -08:00
Andreas Gal
2a666c87e8 Emit JSOP_APPLY for .call(...) (462445, r=brendan). 2008-10-30 16:01:53 -07:00
Andreas Gal
b037831bd9 Merge. 2008-10-29 22:50:43 -07:00
Andreas Gal
fe13c87572 Fix missing JSOP_APPLY case in an assert and a condition (462292, r=brendan). 2008-10-29 22:46:56 -07:00
Brendan Eich
1f02db1e77 ug 460870 - Round-trip change with RHS of || (r=jorendorff). 2008-10-29 17:37:12 -07:00
Andreas Gal
a0b3296770 Merge. 2008-10-29 13:31:07 -07:00
Andreas Gal
868e7934a2 Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan). 2008-10-29 13:30:41 -07:00
Graydon Hoare
f5f48d7fac Bug 461801 - Followup correctness fix. r=brendan. 2008-10-29 13:20:34 -07:00
Graydon Hoare
a9b37c59c0 Bug 461801 - Bind containing function to eval script, so upvars work in decompiler. r=brendan 2008-10-29 11:25:36 -07:00
Jason Orendorff
e1877796ba Bug 460501 - Round-trip change due to "&&" constant-folding leaving extra parens. r=brendan. 2008-10-21 13:35:22 -05:00
Blake Kaplan
3dc5f277d1 Bug 460452 - NaN is a boolish false. Also constant fold booleans next to operator NOT. r=brendan 2008-10-17 18:59:05 -07:00
Blake Kaplan
6b45aae2e5 Bug 460180 - Always reload pn1 since it is null if we found the end of the list. r=brendan 2008-10-15 21:35:18 -07:00
Brendan Eich
674f60c760 Final patch (I pray) for 460116 (r=jorendorff). 2008-10-15 17:39:29 -07:00
Brendan Eich
bb4b3198b6 Back out material change for bug 460116. 2008-10-15 16:10:30 -07:00
Brendan Eich
85afb14a56 Bug 460116 - buggy inCond propagation in js_FoldConstants (r=jorendorff). 2008-10-15 14:02:33 -07:00
Brendan Eich
e9e2bb73a3 Followup to patch for bug 459990 to use JS_HAS_GENERATOR_EXPRS #if'ing. 2008-10-15 12:58:05 -07:00
Brendan Eich
0c1f23de9c Bug 459990 - Crash [@ js_FoldConstants] (r=jorendorff). 2008-10-15 12:18:05 -07:00
Jason Orendorff
fac2df33c9 Fix build breakage from change ee94be502791 (C++ error: jump across initialization) 2008-10-15 13:09:10 -05:00
Brendan Eich
4c2d686321 Fix typo. 2008-10-14 16:27:16 -07:00
Brendan Eich
0d6dd5842d Bug 443074 - Incorrect decompilation (missing parens) with genexp in for-loop-condition (r=jorendorff). 2008-10-14 16:13:56 -07:00
Brendan Eich
3c94660673 Use standard anti-dangling-else/macro-call-expression-statement macrology. 2008-10-09 00:13:49 -07:00
Brendan Eich
c603bd095c Fix dangling else blunder (459186, caught by Jesse's fuzzer). 2008-10-08 23:34:00 -07:00
Brendan Eich
a4e4559fa5 Bug 381843 - Move for-var-in and for-let-in hoisting from the emitter to the parser (r=mrbkap). 2008-10-08 18:43:28 -07:00
Blake Kaplan
6a6096aebd Bug 453345 - Only look at pn_extra if we're actually a list. r=brendan 2008-09-08 11:47:15 -07:00
Taras Glek
dbf23956a4 bug 432917: Replace "must flow through label" comments with statically-checkable macro. r=igor 2008-09-08 10:51:10 -07:00
Igor Bukanov
27d83904e5 bug 453133 - merging JSOP_DEFUN and JSOP_CLOSURE. r=brendan 2008-09-08 13:58:17 +02:00