Commit Graph

2823 Commits

Author SHA1 Message Date
Reed Loden
a4f6f0e831 Back out Robert Sayre's patch from bug 408838 due to test failures (changeset 2fe3cb0c9f7c). 2008-10-01 03:22:30 -05:00
Robert Sayre
c59514f66e Bug 408838 - DOM binding for native JSON. r+sr=shaver 2008-10-01 02:13:58 -04: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
Andreas Gal
8aa08cec2a For GETELEM/SETELEM we must check that its a native object first before trying to compare the objects shape to the shape of the global object to ensure its not aliasing the global object (457979, r=shaver). 2008-09-30 20:10:46 -07:00
Vladimir Vukicevic
f761c61b8e TM: move cmov_available setting into nj arch backends where appropriate 2008-09-30 17:15:09 -07:00
Andreas Gal
83ea7eb834 Merge. 2008-09-30 16:35:52 -07:00
David Mandelin
a9fa2e79d8 Don't trace a property access with a watchpoint (455413, r=brendan) 2008-09-30 13:34:17 -07:00
Andreas Gal
9adad6d33a Merge. 2008-09-30 13:02:53 -07:00
Andreas Gal
9c4eefd7ec Fix guarding in case of sparse array setelem (regression from 457580, r=danderson). 2008-09-30 13:02:23 -07:00
David Anderson
0804b51ac0 Fixed cmp number check logic for 64-bit environments (bug 457129, r=gal). 2008-09-30 11:45:00 -05:00
Andreas Gal
21663448c1 Merge. 2008-09-29 22:22:58 -07:00
Andreas Gal
1163c91b59 Don't trace empty for-in loops (457335, r=brendan). 2008-09-29 22:22:40 -07:00
Andreas Gal
c7c062681c Update XDR version number after bytecode change (457789, r=brendan). 2008-09-29 22:11:35 -07:00
David Anderson
60ff7369b3 Fixed global object ownership change not aborting recording (bug 455173, r=gal). 2008-09-29 23:55:58 -05:00
Andreas Gal
d0ca373339 Follow-up work for 457789, emit JSOP_RESUME after JSOP_NEW as well (r=brendan). 2008-09-29 21:30:02 -07:00
David Anderson
75e7abcf38 Fixed crash when charCodeAt failed (with NaN) while recording (bug 457795, r=gal). 2008-09-29 23:20:34 -05:00
Brendan Eich
11db6aaf1d Always use JSBool (not bool sometimes, JSBool others) as JSVAL_IS_BOOLEAN's native slot type. 2008-09-29 22:27:43 -04:00
Andreas Gal
320dd48955 Add a resume point (JSOP_RESUME) immediately following JSOP_CALL (457789, r=mrbkap). 2008-09-29 18:49:40 -07:00
Andreas Gal
36e0e1fcbf Catch negative indexes at recording time. At runtime the builtins already check for us. Also guard for shape and setters/getters for non-dense integer index setelem case (57580, r=mrbkap). 2008-09-28 17:11:47 -07:00
Andreas Gal
e6006ef942 Add test case for 457456. 2008-09-27 13:13:42 -07:00
Andreas Gal
bd2e228fd0 Fix constant folding for cmov and add folding of or/and/xor (457456, r=danderson). 2008-09-27 13:10:24 -07:00
Robert O'Callahan
4834e88fce Backing out patch for bug 456027 to try to fix test bustage 2008-09-27 20:56:42 +12:00
Andreas Gal
5fdd5d2b67 Properly handle cmov and sse2 flags, and put them in a central place not into each platform-dependant assembler (457355, r=danderson). 2008-09-26 20:39:21 -07:00
Andreas Gal
5cc5fdedb8 Merge. 2008-09-26 19:21:27 -07:00
Andreas Gal
9960750440 Can't use JSVAL_IS_BOOLEAN on trace since boolean type contains undefined (457351, r=brendan). 2008-09-26 19:20:52 -07:00
David Anderson
ce71880114 Fixed a bug where no shape guard was emitted if a property was not found, causing it to remain unseen if added later. Abort in this case instead. (bug 457171, r=brendan) 2008-09-26 19:18:00 -07:00
Andreas Gal
884eabf3d5 Cleanup SETELEM, box early (in case we side exit on that) and don't set return value if INITELEM or followed by POP (457336, r=brendan). 2008-09-26 17:33:40 -07:00
Blake Kaplan
d2e4f90dc6 Bug 456027 - Innerize earlier so we don't rely on the JS engine providing getters that might not be there. r=brendan sr=jst 2008-09-26 15:42:47 -07:00
Blake Kaplan
8c46931ccc Bug 455765 - Set global flags on global objects' first use so the JS engine doesn't get confused. r+sr=jst 2008-09-26 15:40:31 -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
Andreas Gal
93a292bd90 Merge. 2008-09-26 14:16:25 -07:00
igor
19701dd91b When replenishing the recovery double pool, detect if a GC happens (follow up work for 456826, r=gal). 2008-09-26 14:16:11 -07:00
Boris Zbarsky
fe2220afb1 Bug 456165 part 2. Trace Date.now. r=gal 2008-09-26 14:37:50 -04:00
Boris Zbarsky
a4b9ae6222 Bug 456370. Flush the fragment cache earlier on global shape mismatch. r=gal 2008-09-26 14:37:49 -04:00
Boris Zbarsky
50c786d373 Bug 456165 part 1. Get rid of icky JS_LL macros, r=brendan 2008-09-26 14:08:28 -04:00
Andreas Gal
7bb0a663e6 Use a pre-allocated pool of doubles to make sure we can safely recover in case of OOM or out of doubles (456826, r=brendan). 2008-09-25 19:11:48 -07:00
Brendan Eich
8030ce9609 Bug 457130 - TM: regexp lastIndex property not traced correctly (r=danderson). 2008-09-25 17:45:14 -07:00
David Anderson
3808521295 Workaround for intermittent js_GetClassObject failures (bug 457069, r=brendan). 2008-09-25 17:30:01 -07:00
Brendan Eich
9807c189fe Bug 457127 - TM: Crash on digg.com with adblock plus [@ ReconstructPCStack] (r=danderson). 2008-09-25 17:05:06 -07:00
Brendan Eich
f875d89fa2 Bug 456810 - TM: Crash on digg.com with adblock plus [@ ReconstructPCStack] (r=gal). 2008-09-25 15:04:48 -07:00
David Anderson
fca4e20f3a Added test case for bug 456667. 2008-09-25 14:16:24 -07:00
Brendan Eich
b7841b8cfd Fixed argc < nargs miscount in js_SynthesizeFrame and adjusted a related assertion (bug 456667, r=danderson). 2008-09-25 13:12:01 -07:00
Andreas Gal
4be7fad144 Merge. 2008-09-25 11:32:00 -07:00
Andreas Gal
5b117e1c3f Rewrite and cleanup GETELEM and SETELEM (455748, r=brendan). 2008-09-25 11:31:40 -07:00
Jason Orendorff
b6158434af Bug 456469 - Dead variable pval in js_NativeSet (r=brendan) 2008-09-25 11:29:12 -05:00
Jason Orendorff
e63d2c737c Bug 455953 - js_DumpObject debugging function (r=crowder) 2008-09-25 11:29:12 -05:00
Jason Orendorff
c35bfc3682 Bug 389034 - JS_SetProperty() ends up resolving w/o JSRESOLVE_ASSIGNING (r=brendan, sr=bzbarsky) 2008-09-25 11:13:31 -05:00
Brendan Eich
d56e0c688e Back off premature arguments tracing (453730 temporary measure). 2008-09-25 08:51:40 -07:00
Andreas Gal
10b165830b Merge. 2008-09-25 08:00:26 -07:00
Andreas Gal
a7a4b8be7b Backed out changeset c5d4e22e54ad (reopened 456201). 2008-09-25 07:58:56 -07:00