Jason Orendorff
8c514f795a
Bug 524564 - "Assertion failure: 0, at ../jsopcode.cpp" with uneval, yield, do...while. r=dvander.
2009-10-30 14:56:10 -05:00
David Mandelin
6378284cae
Backed out changeset 723a2622ad4a: tracemonkey tinderbox build failures
2009-10-27 17:46:09 -07:00
Jim Blandy
48cec69361
Bug 514585: Move 'grouped' to explicit param of JS_NEW_PRINTER. r=igor
...
Make all the JSPrinter status bits explicit flags to JS_NEW_PRINTER.
Only in public-facing functions like JS_DecompileFunction should we be
peeling bits out of indent values and turning them into flags;
internally, we can change interfaces to make more sense.
This is preparation for adding another flag to JS_NEW_PRINTER.
2009-10-27 16:38:09 -07:00
David Anderson
e40deebae7
Fixed decompiler assertion related to JSOP_TRACE (bug 522624, r=brendan).
2009-10-23 14:28:35 -07:00
Jim Blandy
0d6cdd1921
Bug 514585: Use bitfields in JSScript instead of a flag word. r=brendan
...
This is behavior-neutral cleanup in preparation for the real patch.
2009-10-08 10:29:03 -07:00
David Anderson
9593aceb3c
Skip JSOP_TRACE after JSOP_CALL when the decompiler expects it (bug 520003, r=brendan).
2009-10-02 12:36:27 -07:00
David Anderson
92ad5b2859
Renamed JSOP_LOOP to JSOP_TRACE, which now also gets emitted at the start of scripts (bug 515806, r=brendan).
2009-09-14 17:26:16 -07:00
Brendan Eich
016b0f207a
Bug 514981 - JSStackFrame::sharp{Array,Depth} should be locals allocated due to #n[#=] usage (r=igor).
2009-09-09 20:21:15 -07:00
Jason Orendorff
b53824855d
Bug 513119 - Change JSScript macros to methods. r=Waldo.
2009-09-09 18:52:55 -05:00
Brendan Eich
fd61e1b61a
Fix imacro vs. script code disassembly/decompilation confusion (510644, r=jorendorff).
2009-09-04 16:27:17 -07:00
Brendan Eich
cce4dce512
Join lambdas assigned or initialized as methods to the compiler-created function object if we can, with a read barrier to clone on method value extractions other than call expressions (471214, r=jorendorff).
2009-09-03 14:41:19 -07:00
Luke Wagner
5c14309cd1
Bug 511750 - factor template utilities into js::tl (r=brendan)
...
--HG--
extra : rebase_source : a5a396811268e71af8e56c66dab491f3081bc20a
2009-09-01 18:46:19 -07:00
Luke Wagner
a5b9103165
Bug 419743 - Add JSOP_CONCATN (r=waldo)
2009-08-18 15:43:17 -07:00
Brendan Eich
b063d31520
Back out changeset aff171a8c4f0 (bug 471214).
2009-08-26 09:34:41 -07:00
Brendan Eich
bd8f55c0ad
Join function objects where possible (471214, r=igor).
2009-08-25 23:42:37 -07:00
Jason Orendorff
8384b1e239
Bug 509098 - Remove JS_HAS_LVALUE_RETURN support. r=brendan.
2009-08-13 16:18:33 -05:00
timeless@mozdev.org
bc35a8740a
Bug 504395 SimulateImacroCFG leaks tmp_pcstack when LOCAL_ASSERT fails
...
r=graydon
2009-08-12 11:49:52 +02:00
Robert Sayre
99a0962393
Backed out changeset e09130fcb013
2009-07-28 18:51:35 -04:00
Brendan Eich
8d27b07ec5
Bug 471214 - Join function objects transparently, clone via read barrier to satisfy de-facto standard (r=igor).
2009-07-28 13:20:14 -07:00
Andreas Gal
e7f2714ea1
When finalizing, deallocate memory in a separate thread (505612, r=bent,brendan,waldo).
2009-07-27 21:10:12 -07:00
Andreas Gal
69b9d107c2
Remove unnecessary cast to unsigned (introduced by bug 502241, r=graydon).
2009-07-10 17:18:25 -07:00
Andreas Gal
1406080795
Consistently use signed ints for pcdepth (502241, r=brendan).
2009-07-03 17:03:24 -07:00
Jason Orendorff
52fe5a97ba
Bug 497618 - Change JSString macros to methods. r=Waldo.
2009-06-10 20:29:44 -05:00
Brendan Eich
77da9d75ed
Bug 494235: wrap escaping optimized closures for the debugger API (r=igor/mrbkap).
2009-06-04 18:58:47 -07:00
Igor Bukanov
ffa8b1615c
bug 495216 - proper accounting of args and vars for Call object. r=brendan
2009-05-29 14:23:58 +02:00
Graydon Hoare
3471a48ea3
Bug 470964 - Simulate CFG in imacro assembler and decompiler, r=brendan.
2009-04-24 09:07:49 -07:00
Jeff Walden
61aee1746d
Bug 473096 - js1_5/Regress/regress-366601.js - Internal Error: script too large. r=brendan
2009-04-10 17:41:13 -07:00
Brendan Eich
962b187fe5
upvar2, aka the big one take 2 (452598, r=mrbkap).
2009-04-05 21:17:22 -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
fdf059f766
bug 486139 - annotating destructuring JSOP_DUP for the decompiler. r=brendan
2009-04-02 16:31:54 +02:00
Blake Kaplan
3b132823ae
Bug 486029 - Use C++ style casts in more places. r=brendan
2009-03-30 16:33:54 -07:00
Igor Bukanov
0604ee2935
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
d3ae3d827d
Merge mozilla-central to tracemonkey.
2009-03-29 10:42:32 -07:00
Andrew Paprocki
24b97dd380
Bug 485576 - Fix a few minor gcc warnings. r=igor
2009-03-27 15:45:48 -07: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
Igor Bukanov
4ccdead266
bug 480700 - no more static asserts in headers. r=brendan
2009-03-05 12:12:50 +01:00
Andreas Gal
829c9e498f
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
ad88e65f08
Bug 381963 - Missing parens around genexp in |while|. r=Waldo.
...
--HG--
extra : rebase_source : c87b642082bf9e05c8fb7993fa8a37d3fa63b4ce
2009-02-25 11:36:39 -06:00
Robert Sayre
695b4646c3
Merge tm to mc
2009-02-19 11:48:08 -05:00
Jason Orendorff
c936fbe2d4
Bug 463239 - JS_SetTrap alters code execution. r=brendan.
2009-02-18 18:31:09 -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
Jason Orendorff
37f2985bdf
Bug 476177 - TM: cx->stackPool must not be accessed on trace. r=brendan.
...
--HG--
extra : rebase_source : 746d61b54aa38cbe18fe31bce4efcbbad4629678
2009-01-30 17:40:05 -06:00
Brendan Eich
60770fa5b5
Bug 454184 - Implement eval caching (r=mrbkap).
2009-01-27 16:40:40 -08:00
Brendan Eich
914f4ef313
Back out due to Mac Tp orange (454184).
2009-01-27 15:52:10 -08:00
Brendan Eich
335791e844
Bug 454184 - Implement eval caching (r=mrbkap).
2009-01-27 13:53:31 -08:00
Jeff Walden
179a1749fb
Despite the previous log message, the previous push was r=brendan
2009-01-10 15:25:03 -08:00
Jeff Walden
949fc3d056
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
36fd05589c
Bug 471513 - invalid C++ in jsopcode.cpp, r=brendan
2009-01-06 09:18:36 -08:00
Brendan Eich
67cd92d2ce
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