Commit Graph

116 Commits

Author SHA1 Message Date
Andreas Gal
00a608f948 Backed out changeset 972c44aa9d1f (bug 452598). 2009-04-04 10:14:52 -07:00
Brendan Eich
4af509178e upvar2, aka the big one (452598, r=mrbkap). 2009-04-04 10:05:49 +01:00
Igor Bukanov
0b72b20eb1 bug 486139 - annotating destructuring JSOP_DUP for the decompiler. r=brendan 2009-04-02 16:31:54 +02:00
Blake Kaplan
ee30e22e91 Bug 486029 - Use C++ style casts in more places. r=brendan 2009-03-30 16:33:54 -07:00
Igor Bukanov
7f43d1e11b bug 453492 - hiding JSCodeSpec.(nuses|ndefs) behind inlines to properly deal with variable stack bytecodes. r=brendan 2009-03-30 16:19:50 +02:00
Robert Sayre
5f266cc894 Merge mozilla-central to tracemonkey. 2009-03-29 10:42:32 -07:00
Andrew Paprocki
d9dd77b879 Bug 485576 - Fix a few minor gcc warnings. r=igor 2009-03-27 15:45:48 -07:00
Jim Blandy
daab0107e2 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Igor Bukanov
1929780174 bug 480700 - no more static asserts in headers. r=brendan 2009-03-05 12:12:50 +01:00
Andreas Gal
4dc5e095d7 A little helper function to make life in gdb more bearable (DEBUG only, no bug, r=danderson). 2009-02-28 16:21:18 -08:00
Jason Orendorff
11e600e811 Bug 381963 - Missing parens around genexp in |while|. r=Waldo. 2009-02-25 11:36:39 -06:00
Robert Sayre
3f7c79aa17 Merge tm to mc 2009-02-19 11:48:08 -05:00
Jason Orendorff
b2756732fe Bug 463239 - JS_SetTrap alters code execution. r=brendan. 2009-02-18 18:31:09 -06:00
Jim Blandy
918bbe5eae 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
Jason Orendorff
5b0a24c8d7 Bug 476177 - TM: cx->stackPool must not be accessed on trace. r=brendan. 2009-01-30 17:40:05 -06:00
Brendan Eich
27c12a27c1 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 16:40:40 -08:00
Brendan Eich
21168d19c5 Back out due to Mac Tp orange (454184). 2009-01-27 15:52:10 -08:00
Brendan Eich
b9251e68c6 Bug 454184 - Implement eval caching (r=mrbkap). 2009-01-27 13:53:31 -08:00
Jeff Walden
a026bad385 Despite the previous log message, the previous push was r=brendan 2009-01-10 15:25:03 -08:00
Jeff Walden
438e79f533 Bug 466905 - Fix JSOP_NEWARRAY to be not-buggy and use it when possible. NOT REVIEWED YET 2009-01-10 12:15:08 -08:00
Brian Crowder
90831c5c16 Bug 471513 - invalid C++ in jsopcode.cpp, r=brendan 2009-01-06 09:18:36 -08:00
Brendan Eich
6df7a6a536 Bug 471531 - js1_7/decompilation/regress-379925.js | js1_8_1/decompilation/regress-371802.js FAIL (r=jorendorff). 2008-12-31 12:32:35 -08:00
Brendan Eich
de6f33457c Bug 470374 - Decompiler fixes from bug 469625 (r=jorendorff). 2008-12-29 23:22:23 -08:00
Benjamin Smedberg
5672c3247d Bug 469995 - js_DecompileValueGenerator uses cx->fp and should be made safe, r=crowder+jorendorff 2008-12-17 13:15:08 -05:00
Jason Orendorff
aaadf0c55c Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin. 2008-12-09 10:38:32 -06:00
Igor Bukanov
b8df859f2b bug 457521, r=brendan a191=blocking 2008-11-26 10:16:48 -08:00
Blake Kaplan
e58c32f7a9 Bug 465901 - DVG confused by |let|. r=brendan a=sayrer 2008-11-21 12:03:28 -08:00
Vladimir Vukicevic
e5ab72d100 Merge mozilla-central into tracemonkey 2008-11-18 13:54:21 -08:00
Brendan Eich
3fb13a482b Bug 465220 - nested imacro abort not cleanly handled (botches assertions) (r=mrbkap, a=beltzner). 2008-11-17 16:56:01 -08:00
Igor Bukanov
7a2ae1a358 bug 464334 - removal of no longer applicable asserts that sp <= static spdepth. r=brendan a1.9.1b2=beltzner 2008-11-17 13:48:57 +01:00
Brendan Eich
9edfb4627a Bug 443071 - Assertion failure with "for (;;[]=[])" (r=mrbkap). 2008-11-07 14:01:11 -08:00
Brendan Eich
4bb6bc262e Bug 462879 - "Assertion failure: UPVAR_FRAME_SKIP(uva->vector[i]) == 1" with nested eval (r=mrbkap). 2008-11-03 13:55:51 -08:00
Boris Zbarsky
30ef77c3ea Bug 462184. Make INCLUDE_VERBOSE_OUTPUT actually work, and rename it to JS_JIT_SPEW. r=brendan 2008-10-29 21:56:35 -07:00
Andreas Gal
7b79539df3 Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan). 2008-10-29 13:30:41 -07:00
Jason Orendorff
f328b2f244 Bug 461233 - Incorrect decompilation of ({0: (4, <></>) }). r=brendan. 2008-10-29 11:36:08 -07:00
Graydon Hoare
dc936e6644 Bug 461801 - Bind containing function to eval script, so upvars work in decompiler. r=brendan 2008-10-29 11:25:36 -07:00
Brendan Eich
4a4c3d3d3a Re-land patch for bug 458851 now that latent bug it uncovered (not filed; see hg log) is fixed. 2008-10-28 14:04:29 -07:00
Jason Orendorff
30aac588d8 Backed out changeset d4fe79372140 (bug 458851) due to persistent orange on TraceMonkey tinderboxes. 2008-10-28 10:49:06 -07:00
Brendan Eich
7e901e72c3 Bug 458851 - TM: for-in loops skip every other value in certain cases (r=gal/mrbkap). 2008-10-27 22:30:52 -07:00
Brendan Eich
eb0f0aad56 Bug 461248 - Remove JSOP_RESUME (r=gal/jorendorff). 2008-10-24 12:34:08 -07:00
Jason Orendorff
1054f5cd5c Bug 461111 - Extra parens in decompilation of "if(a, b)". r=brendan. 2008-10-24 12:52:52 -05:00
Brendan Eich
b0e8012ca7 Bug 461307 - Crash [@ QuoteString] with for(/x/[''] in []) (r=mrbkap). 2008-10-23 11:37:07 -07:00
Brendan Eich
b07bdbfcd7 Bug 461235 - "Assertion failure: pos == GET_UINT16(pc)" decompiling function with array comprehension (r=mrbkap). 2008-10-22 15:47:52 -07:00
Brendan Eich
c3225205e8 Bug 441479 - for-in loops should use one backward branch (with downward goto on entry; r=mrbkap). 2008-10-22 12:47:51 -07:00
Jason Orendorff
130070cd97 Bug 461110 - Extra parens in decompilation of "a += b = 3". r=brendan. 2008-10-22 14:26:49 -05:00
Jason Orendorff
f0bf0f5ee2 Bug 461108 - Decompiler emits extra parens around assignment in "for(;;)" condition. r=brendan. 2008-10-22 14:06:16 -05:00
Jason Orendorff
e74beaa953 Bug 460501 - Round-trip change due to "&&" constant-folding leaving extra parens. r=brendan. 2008-10-21 13:35:22 -05:00
Brendan Eich
6ac4abb95b Bug 460116 - buggy inCond propagation in js_FoldConstants (r=jorendorff). 2008-10-15 14:02:33 -07:00
mrbkap
679bacd1ce js1_8/genexps/regress-380237-0[34].js fail, regression from introduction of JSOP_RESUME (458356, r=gal). 2008-10-08 19:46:12 -07:00
Andreas Gal
1a3dfc80ee In the decompiler, skip over JSOP_RESUME after JSOP_NEW/CALL/EVAL/SETCALL (457824, r=brendan). 2008-09-30 21:09:14 -07:00