Commit Graph

3484 Commits

Author SHA1 Message Date
David Anderson
26d5db2cc5 Merge. 2008-10-06 16:48:14 -07:00
David Anderson
a4daa1c332 Fixed NaN handling again after backout of busted patch (bug 458472, r=gal). 2008-10-06 16:47:05 -07:00
Andreas Gal
40d1236378 Add support for writing back a boxed value when side-exiting on JSOP_RESUME (453734, r=brendan). 2008-10-06 16:22:57 -07:00
Andreas Gal
95b8fa8a84 Backed out changeset 2176f46b2702 (trying to identify cause for tinderbox burning). 2008-10-06 13:58:11 -07:00
David Anderson
c34cf06820 Fixed incorrect handling of NaN in ifop causing one new branch per iteration (bug 458472, r=gal). 2008-10-03 17:28:03 -07:00
Graydon Hoare
7bd301d171 Bug 458431 - expression-ordering fix for traced Math.max(0,-0), r=mrbkap 2008-10-03 14:07:33 -07:00
Boris Zbarsky
be17e08640 Adding mandelbrot to trace-test 2008-10-02 19:30:46 -04:00
Brendan Eich
502fb4e4c8 Bug 456831 - TM: Trace JSOP_SETLOCALPOP (r=mrbkap). 2008-10-02 15:39:25 -07:00
David Anderson
15a55dfe6d Fixed random test failures on AMD64, booleans were being loaded as 64-bit values. 2008-10-02 16:30:58 -05:00
Andreas Gal
49de341e4a Fixed more confusion of quads/numbers while emitting LIR (bug 458076, r=danderson). 2008-10-01 18:04:39 -05:00
David Anderson
9c7d3f333f Fixed regression where cmov was disabled on AMD64. 2008-10-01 17:58:38 -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
Bob Clary
08737f55d3 JavaScript Tests - bug 399387 - update public failures 2008-09-26 20:39:36 -07: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
Bob Clary
e6fcff3cd0 JavaScript Tests - bug 457093 regression test by Mathieu Fenniak 2008-09-26 01:08:46 -07:00
Bob Clary
7301e01ad7 JavaScript Tests - bug 456964 regression test, by Michael Roovers 2008-09-26 00:54:01 -07:00
Bob Clary
fbe91e22b6 JavaScript Tests - bug 437288 - regression tests for bug 437288, by Gary Kwong 2008-09-26 00:23:26 -07: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