Commit Graph

3503 Commits

Author SHA1 Message Date
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
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
Igor Bukanov
82f9c64e29 bug 378918 - scalable thread-local GC free lists 2008-09-25 15:27:59 +02:00
Andrei Saprykin
6f45d79b4b bug 444979 - fixing JSOP_TABLESWITCH to treat -0 as 0 2008-09-25 15:18:41 +02:00
Bob Clary
fabf81805c Sisyphus - JavaScript Tests - bug 456935, add bisection script 2008-09-24 23:59:41 -07:00
Andreas Gal
97be5eae89 Merge. 2008-09-24 23:32:19 -07:00
Bob Clary
725931c3cd JavaScript Tests - bug 399387 - update public failures 2008-09-24 23:29:14 -07:00
Andreas Gal
eb5f8be2b1 Demote modulo operations to integer if both args are int (456934, r=brendan). 2008-09-24 23:28:56 -07:00
Brendan Eich
3238fa4180 Bug 456931 - TM: GVAR op record methods use wrong object (r=gal). 2008-09-24 23:09:46 -07:00
Brendan Eich
86b3bc3671 Bug 456932 - TM: Don't assert that global object can't grow additional properties if none are used by any trace and we don't check for global shape mismatches (r=gal). 2008-09-24 23:05:44 -07:00
Ben Turner
8fdc38c40a Backed out changeset 5986b4269d9d 2008-09-24 21:07:05 -07:00
Ben Turner
85938eeb67 Bug 450452 - "Implement XHR ('minus X') for worker threads". r+sr=jst. 2008-09-24 19:48:07 -07:00
Andreas Gal
c3ae2f8027 Merge. 2008-09-24 19:33:04 -07:00
Andreas Gal
f1cdf0fd1c Make sure JSOP_DEFLOCALFUN pushes the right function object (456470, r=brendan). 2008-09-24 19:31:51 -07:00
Brendan Eich
d9b970f735 Fix warning. 2008-09-24 18:50:46 -07:00
Brendan Eich
ac41d655c4 Merge pull from mozilla-central. 2008-09-24 18:46:44 -07:00
Andreas Gal
9b1f70d488 Compile jsregexp.cpp with -O9 and -fomit-frame-pointer (456201, r=shaver). 2008-09-24 17:44:25 -07:00
Andreas Gal
5fdc88e6b7 Only fasttrack applys where the arguments array has the same lengths as the expected arguments of the called function (456494, r=brendan). 2008-09-24 16:45:27 -07:00
Andreas Gal
e50585b158 Merge. 2008-09-24 16:32:36 -07:00
Andreas Gal
2bc1ba7a91 The meaning of T changed in our builtin table to object-only, so we have to mark the string builtins now with S, instead of T (454682, r=brendan). 2008-09-24 16:31:07 -07:00
Brendan Eich
d0645c2e47 Bug 456875 - TM: js_SynthesizeFrame must js_GetCallObject if JSFUN_HEAVYWEIGHT (r=mrbkap). 2008-09-24 15:43:19 -07:00
Brendan Eich
536e07f808 Bug 455146 - TM: Going to NEW Facebook profile page causes crash. [ @FlushNativeStackFrame] (r=danderson,mrbkap). 2008-09-24 15:40:08 -07:00
Andreas Gal
619234db4c Back out attempt to invoke natives that return a boxed value (namely push and pop, 453734). 2008-09-24 15:18:19 -07:00
David Anderson
635fe0398d Merge. 2008-09-24 13:12:54 -07:00
David Anderson
a53ee95a20 Fixed breaks in switch statements causing premature end-of-traces (bug 456345, r=gal,brendan). 2008-09-24 13:12:25 -07:00
Neil Rashbrook
6f6de04b5e Make nanojit build non-debug with VC7.1 (bug 455210, r=danderson). 2008-09-24 10:21:49 -07:00
Brendan Eich
60cb87195a Bug 453024 - Mochitest Assertion failure: vp + 2 + argc <= (jsval *) cx->stackPool.current->avail, at jsinterp.cpp:1066 (r=igor/mrbkap). 2008-09-24 02:24:22 -07:00
Brendan Eich
c184542b3b Bug 453024 - Mochitest Assertion failure: vp + 2 + argc <= (jsval *) cx->stackPool.current->avail, at jsinterp.cpp:1066 (r=igor/mrbkap). 2008-09-24 02:10:47 -07:00
Bob Clary
297c885ff6 JavaScript Tests - regression tests for bug 444608, by Igor Bukanov 2008-09-24 00:45:47 -07:00
Bob Clary
3df315446e JavaScript Tests - regression test for bug 430740, by Dave Reed 2008-09-24 00:39:00 -07:00
Doug Turner
9dbdb465c5 Merge 2008-09-23 21:10:42 -07:00
Bob Clary
ddf31f39fa JavaScript Tests - exclude js1_5/extensions/regress-434837-01.js for 1.9.1, bug 450275 2008-09-23 18:31:04 -07:00
David Anderson
ccd5e825b9 Fixed jstracer's operator delete leaking out into other shared libraries (bug 452721, r=gal). 2008-09-23 18:12:53 -07:00
Andreas Gal
38a8e67fa5 Merge. 2008-09-23 17:19:02 -07:00
Andreas Gal
958c18fb2a Add builtin for invocation of match() on String objects (454682, r=danderson). 2008-09-23 17:18:40 -07:00
Doug Turner
cf6bf884ef Bug 456458 - JS Tracer uses file-system stat structure name - WinCE compile fails. patch by dougt, r=crowder 2008-09-23 14:35:29 -07:00
David Anderson
b3141a864c Fix where recording could crash if globalObj->dslots got reallocated (bug 451137, bug 455137, r=gal). 2008-09-23 13:29:41 -07:00
Andreas Gal
9ae4f39d64 Don't demote dmod to imod since there is no case that is guaranteed to produce valid integer results for all inputs (456540, r=danderson). 2008-09-23 12:21:15 -07:00
Doug Turner
368e1aa2d8 Bug 455374 - WinCE JS DLL does not need DllMain() function. patch by wolfe, r=crowder 2008-09-23 11:01:31 -07:00
Gavin Sharp
97caa62981 Merge backout with previous tip 2008-09-23 11:47:43 -04:00
Brendan Eich
ef1a9b029a JS_snprintf for portability, not snprintf (bustage fix). 2008-09-23 00:59:59 -07:00
Andreas Gal
b967b5aec8 Use JS_snprintf instead of snprintf which Windows doesn't seem to know about (fix build breakage). 2008-09-23 00:58:11 -07:00
Andreas Gal
abad97c694 Merge. 2008-09-23 00:37:10 -07:00
Bob Clary
4ffb3183b0 JavaScript Tests - update intel specific failures, bug 399387 2008-09-22 23:48:03 -07:00
Andreas Gal
5054e0003b Don't emit constant guards for switch and ifop (455605, r=danderson). 2008-09-22 17:58:25 -07:00
Andreas Gal
0c5b47dc28 Merge. 2008-09-22 17:03:00 -07:00
Andreas Gal
d85fc31e85 Both sides of a modulo have to be demotable before we can optimize using imod (456477, r=danderson). 2008-09-22 17:02:33 -07:00
Boris Zbarsky
5bf1de2855 Bug 456369. Checking of JIT stats should not loop. r=brendan 2008-09-22 17:37:59 -04:00
Andreas Gal
7b70046b10 Merge. 2008-09-22 13:05:12 -07:00
Andreas Gal
df641c58e5 Compilation fixes for DISABLE_JIT=1 (r=danderson). 2008-09-22 13:04:47 -07:00
David Anderson
d1bc6dc0d8 Fixed jstracer.cpp no longer building in the browser because of -pedantic. 2008-09-22 11:23:22 -07:00
Andreas Gal
368f7d5382 Merge with mozilla-central. 2008-09-21 12:44:24 -07:00
Bob Clary
96c2df4309 JavaScript Tests - update public failures, bug 399387 2008-09-21 12:29:07 -07:00
Bob Clary
c6a95ffda3 JavaScript Tests - GLOBAL should be computed in shell tests, bug 456290 2008-09-21 12:25:11 -07:00
Bob Clary
34a018fb73 Sisyphus|JavaScript Tests - uniq truncates lines at 8190 chars, bug 456287 2008-09-21 12:19:16 -07:00
Brian Crowder
910abe1b30 Adding missing file 2008-09-21 09:03:16 -04:00
Boris Zbarsky
f1b69640dd Backed out changeset c0364f5e0a84 2008-09-21 09:02:09 -04:00
Boris Zbarsky
f068ba4b22 Adding missing file 2008-09-21 08:59:52 -04:00
Brendan Eich
782b633703 Fix bug 455763 (r=me). 2008-09-21 01:38:39 -07:00
Brian Crowder
d87b65397b Add a JIT stats object in the shell 2008-09-19 22:47:58 -04:00
Boris Zbarsky
4b972f730f Adding test for bug 451605 2008-09-19 21:58:00 -04:00
Andreas Gal
da5081c842 Properly calculate tree exit/call guards (bug 453397, r=danderson). 2008-09-19 18:45:57 -07:00
Andreas Gal
461209cef6 Merge. 2008-09-19 16:09:39 -07:00
Andreas Gal
b20918f930 Dynamic reconstruction of arbitrary native frames (454402, r=danderson). 2008-09-19 16:09:18 -07:00
Boris Zbarsky
c504a551d6 Adding some comments 2008-09-19 17:54:49 -04:00
Andreas Gal
101addb2f6 Merge. 2008-09-19 12:29:56 -07:00
Andreas Gal
16fbc92e91 Backed out changeset 5e4ec981e9ea 2008-09-19 12:07:46 -07:00
Boris Zbarsky
7b41e7daf4 Adding some documentation 2008-09-19 14:45:16 -04:00
Bob Clary
be30cbf4ef JavaScript Tests - update known failures for js1_5/extensions/regress-452178.js, js1_5/extensions/regress-452329.js - bug 399387 2008-09-19 09:28:22 -07:00