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
Brendan Eich
bf1a6adcb8
Bug 470374 - Decompiler fixes from bug 469625 (r=jorendorff).
2008-12-29 23:22:23 -08:00
Benjamin Smedberg
252eab1177
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
b7fb9bc849
Bug 460865 - Read barrier for cx->fp. r=mrbkap, r=dmandelin.
...
--HG--
extra : rebase_source : 19963188b2f9f96336ce6ca28dbaefccf3a639b7
2008-12-09 10:38:32 -06:00
Igor Bukanov
427be2e6d3
bug 457521, r=brendan a191=blocking
2008-11-26 10:16:48 -08:00
Blake Kaplan
c1a551e9d9
Bug 465901 - DVG confused by |let|. r=brendan a=sayrer
2008-11-21 12:03:28 -08:00
Vladimir Vukicevic
7a34f9500d
Merge mozilla-central into tracemonkey
2008-11-18 13:54:21 -08:00
Brendan Eich
83c020dce3
Bug 465220 - nested imacro abort not cleanly handled (botches assertions) (r=mrbkap, a=beltzner).
2008-11-17 16:56:01 -08:00
Igor Bukanov
a76c374322
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
40acf84539
Bug 443071 - Assertion failure with "for (;;[]=[])" (r=mrbkap).
2008-11-07 14:01:11 -08:00
Brendan Eich
94ae1a5b36
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
d1afdda41f
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
868e7934a2
Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan).
2008-10-29 13:30:41 -07:00
Jason Orendorff
8a27d784a7
Bug 461233 - Incorrect decompilation of ({0: (4, <></>) }). r=brendan.
2008-10-29 11:36:08 -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
Brendan Eich
bad1b50498
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
37724bb378
Backed out changeset d4fe79372140 (bug 458851) due to persistent orange on TraceMonkey tinderboxes.
2008-10-28 10:49:06 -07:00
Brendan Eich
51f987553a
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
fcca844194
Bug 461248 - Remove JSOP_RESUME (r=gal/jorendorff).
2008-10-24 12:34:08 -07:00
Jason Orendorff
764431fd80
Bug 461111 - Extra parens in decompilation of "if(a, b)". r=brendan.
2008-10-24 12:52:52 -05:00
Brendan Eich
1772bc4d6f
Bug 461307 - Crash [@ QuoteString] with for(/x/[''] in []) (r=mrbkap).
2008-10-23 11:37:07 -07:00
Brendan Eich
e0a0cfe21f
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
5c85747b5c
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
88e0a669e0
Bug 461110 - Extra parens in decompilation of "a += b = 3". r=brendan.
2008-10-22 14:26:49 -05:00
Jason Orendorff
da34f1f2e5
Bug 461108 - Decompiler emits extra parens around assignment in "for(;;)" condition. r=brendan.
2008-10-22 14:06:16 -05: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
Brendan Eich
85afb14a56
Bug 460116 - buggy inCond propagation in js_FoldConstants (r=jorendorff).
2008-10-15 14:02:33 -07:00
mrbkap
e057125df7
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
d38d1d18bb
In the decompiler, skip over JSOP_RESUME after JSOP_NEW/CALL/EVAL/SETCALL (457824, r=brendan).
2008-09-30 21:09:14 -07:00
Blake Kaplan
eefec8f1f7
Bug 455775 - The eval frame might not be the top frame, but we still must find it. r=brendan
2008-09-26 15:37:07 -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
Jim Blandy
90bf6a2d1e
Bug 97954: Give jsconfig.h a better name, and make room for the new js-config.h. r=bsmedberg
...
We'd like the SpiderMonkey configure script to generate a header file
named js-config.h to hold #definitions chosen at configure time that
affect the SpiderMonkey API, like JS_THREADSAFE. However, that name
is very similar to that of an existing header file, jsconfig.h. This
patch renames the existing header file, and updates all references to
it.
--HG--
rename : js/src/jsconfig.h => js/src/jsversion.h
2008-09-05 10:19:17 -07:00
Taras Glek
c8962c44c2
bug 441362: Avoid an invisible return. r=igor
2008-09-02 13:32:27 -07:00
Igor Bukanov
9022efe160
bug 449494 - uniform handling of bytecodes with variable stack uses. r=mrbkap,brendan
2008-09-02 08:25:15 +02:00
Brendan Eich
fc0f763f3c
Fix upvar decompilation for eval-from-fun case (451884, r=mrbkap).
2008-08-27 14:35:41 -07:00
Brendan Eich
9cd8e5a539
Upvar, v0.1 (limited to looking up from eval in a function, to the function's args and vars).
2008-08-21 03:47:33 -07:00
Brendan Eich
7e793185ea
Match JSOP_NULLTHIS up to JSOP_NULL special cases in the decompiler.
2008-08-11 13:03:47 -07:00
Brendan Eich
eaf4254c15
Merge from mozilla-central.
2008-08-08 18:58:04 -07:00
Graydon Hoare
aaf41f8ee5
Bug 447713, remove the import/export functionality from spidermonkey, r=brendan
2008-08-06 17:34:58 -07:00