Commit Graph

21836 Commits

Author SHA1 Message Date
David Anderson
beea650730 Fixed crashing when deep aborting before a loop header (bug 467857, r=gal). 2008-12-04 16:21:30 -08:00
Jeff Walden
a665b9f9e2 Bug 467985 - |./js -b| crashes. r=mrbkap 2008-12-04 15:26:06 -08:00
David Anderson
ed25d09ae1 Fixed a register allocation bug in nanojit when an argument using FST0 appeared twice in an argument list (bug 465484, r=edwsmith). 2008-12-04 12:34:38 -08:00
David Anderson
14bfd2d9ab Fixed nanojit crashing when the reservation table filled (bug 460511, r=rickr). 2008-12-04 11:41:43 -08:00
Jeff Walden
fc1eca74c9 Bug 459405 - Math property flags regressed by bug 376957. r=brendan, a=sayrer 2008-12-02 22:39:10 -08:00
David Mandelin
37e098bf53 Bug 464828 fixed: make sure js_ThreadDestructorCB is called on main thread 2008-12-02 13:12:43 -08:00
Jason Orendorff
5fdc83f169 Bug 462459 - TM: Better tracer support for |new Array(...)|. r=gal. 2008-11-05 07:29:38 -06:00
Jim Blandy
2da951bef1 (no bug) Use JS_FASTCALL for math_atan2_kernel. 2008-12-01 18:18:22 -08:00
Andreas Gal
a5c2753bb6 Merge. 2008-12-01 16:45:16 -08:00
Andreas Gal
a78d7744c8 Guard on the JSFunction and parent pointers instead of the identity of the function object in case of shapeless calls (451974, r=brendan). 2008-12-01 16:44:22 -08:00
Jim Blandy
53829abcf7 Bug 461180: Fix result comparison function for trace tests. r=mrbkap
This allows the math tests (next patch) to be pickier about NaN and
negative zero.  With the earlier patch, it introduces no regressions.
2008-12-01 15:14:06 -08:00
Jim Blandy
81c2c7def7 Bug 461180: Use 'uneval' when printing expected and actual test results. r=mrbkap 2008-12-01 15:14:06 -08:00
Jim Blandy
b02e993bd9 Bug 461180: Don't depend on type coercion when checking trace test results. r=mrbkap
A number of the tests in js/src/trace-test.js specify expected results
of a different type from the actual results.  For example, the lsh
test function returns an array of results, while its expected value is
that the string that array becomes when coerced to a string.  This
trick allows tests to return structured values as results, even though
JavaScript lacks a deep equality operator.  However, this behavior can
be troublesome when writing a test whose goals include checking the
type of the result.

Some tests simply specify expected values as strings for no apparent
reason.

This patch reworks these so that the expected and actual values have
the same type.
2008-12-01 15:14:06 -08:00
Jim Blandy
6298d58d4a Bug 461180: Abstract out core code of math_atan2. r=brendan
The C++ implementation of the JavaScript Math.atan2 function includes
not entirely trivial code to compute the result that operates solely
on jsdouble values, and doesn't worry about tagged doubles at all.
This code can be shared between the interpreted and traceable native
implementations of the function.
2008-12-01 15:14:06 -08:00
David Anderson
bce9294e0f Fixed resolve hooks causing recorder to crash (bug 467007, r=gal). 2008-12-01 15:08:40 -08:00
Andreas Gal
bfd4fe191d Abort compilation of a regular expression if we run out of memory during recording (466588, r=danderson). 2008-11-28 17:31:17 -08:00
Andreas Gal
f607be887d Don't output JIT statistics if we don't ever record a trace (466942, r=danderson). 2008-11-27 00:50:24 -08:00
David Anderson
4d1da21f33 Fixed TIMEOUT_EXIT guard being in the wrong location (from bug 453157, r=gal). 2008-11-26 08:29:24 -08:00
Graydon Hoare
fb8e45ee46 Bug 454569 - post-landing style and cast fixes, sr=brendan. 2008-11-25 13:20:52 -08:00
Graydon Hoare
5a94caadef Bug 454569 - Improve accuracy of tracemonkey's oracle, r=gal. 2008-11-24 14:53:27 -08:00
David Anderson
c2f9deb2b1 Fixed regression checked in for bug 466128 (bug 466262, r=gal). 2008-11-21 22:55:03 -06:00
David Mandelin
0952a00f72 Bug 463535: compile regexps to native lazily, r=gal 2008-11-21 17:54:53 -08:00
David Anderson
cea571a94b Fixed JSOP_NEG not checking overflow at recording time (bug 465688, r=gal). 2008-11-21 17:17:34 -08:00
David Anderson
56fbffe8c4 Allow recorders to trash multiple trees on the way out (bug 466128, r=gal). 2008-11-21 15:31:59 -08:00
Jeff Walden
5536e7f722 Bug 465476 - SpiderMonkey confusion over "-0" and "0" properties of an object. r=brendan 2008-11-21 11:47:35 -08:00
David Mandelin
f97a2081d7 Test case to detect bug 465862: case-insensitive mode in the native regexp compiler 2008-11-21 10:56:24 -08:00
Jim Blandy
0f68ad7ed4 (no bug) Move definition of RESideExit *exit to top of function, to avoid error from GCC about jumping across its initialization. 2008-11-21 10:46:28 -08:00
David Mandelin
cb596bbb0a Fixed bug 464866: use regexp source+flags as key to compiled code, r=gal 2008-11-20 16:37:36 -08:00
David Mandelin
98e5c71620 Fixed bug 465862: incorrect handling of 'i' flag in compiled regexps, r=gal 2008-11-20 16:34:06 -08:00
David Anderson
37d2933b13 Fixed double-free of treeInfo in a type instability edge case (bug 465686, r=gal). 2008-11-20 17:20:16 -06:00
David Anderson
6c91afa7b7 Fix CALLPROP not guarding that the callee is not NULL (bug 465580, r=gal). 2008-11-19 16:08:41 -08:00
David Anderson
63c268384c Fixed unsafe coercion of JSVAL_VOID to string on trace entry (bug 465483, r=brendan). 2008-11-18 19:48:02 -06:00
Vladimir Vukicevic
7a34f9500d Merge mozilla-central into tracemonkey 2008-11-18 13:54:21 -08:00
Asaf Romano
49381bab57 merge 2008-11-18 22:13:12 +02:00
Asaf Romano
3932fab823 Bug 225680 - Fix regressions from the landing of the detach-tabs feature. r=mconnor. 2008-11-18 22:09:50 +02:00
Boris Zbarsky
dc71f62826 Bug 462806. Don't init PSM to deal with random JARs. Save that for signed JARs. r=dveditz, sr=vlad, a=beltzner 2008-11-18 14:11:35 -05:00
zeniko@gmail.com
dc6bb35407 Bug 464620 - prevent dataloss from incorrectly restored sessions (r=dietrich, a=beltzner) 2008-11-18 10:48:46 -08:00
Philip Chee
129be917b4 bug 465073 - duplicate id in navigator.xul: reporterItemsBroadcaster, remove SeaMonkey-specific overlay parts from reporter, NPOTB for Firefox as we both now use unchanged Firefox overlay parts, r=gavin 2008-11-18 19:17:56 +01:00
mak77@bonardo.net
9f02254ff3 Bug 464767 - do not overwrite existing bookmarks if importBookmarksHTML is true but there's no bookmarks.html file (r=dietrich, a=beltzner) 2008-11-18 09:25:39 -08:00
Dave Townsend
0252592c22 Bustage fix from the badly applied patch from bug 463387 2008-11-18 16:03:34 +00:00
Dave Townsend
c83bd735ff Bug 463387: Add an API for getting web progress notifications for all tabs. r=enndeakin a1.9.1b2=beltzner 2008-11-18 10:53:25 +00:00
Ben Turner
7ee84f3a42 Bug 463573: PRBool misuse. r=sr=sicking, a1.9.1b2=beltzner 2008-11-18 11:28:13 +00:00
Dave Townsend
f65144ecfc Bug 463384: "Tabbed mode" is an unnecessary complication. r=mconnor 2008-11-18 10:11:43 +00:00
Chris Pearce
d3f76607a7 Bug 462878. Ensure that nsMediaStream::Close is only called on the main thread, and prevent reentrant Stop calls. r+sr=roc,a=beltzner 2008-11-18 21:19:32 +13:00
Mats Palmgren
0c316cb50f Bug 463537. Fix --disable-wave. r=kinetik,sr=roc,a=beltzner 2008-11-18 21:16:35 +13:00
Dão Gottwald
298848f98e Bug 462965 - Land disabled plugin and blocked plugin icons. a=beltzner 2008-11-18 09:14:25 +01:00
Dão Gottwald
9455c98212 Bug 456761 - URL Bar has no "level" attribute indicating secure URLs. r=gavin, a=beltzner 2008-11-18 09:10:54 +01:00
Robert O'Callahan
2f76e95c17 Bug 464811. Snap the anchor point to pixels using a method that guarantees the source rect and the subimage rect intersect. r+sr=dbaron 2008-11-18 20:48:46 +13:00
Daniel Holbert
de4e07999e Bug 465475: Shorten reftest 413292-1.html so that it doesn't time out 2008-11-17 23:20:54 -08:00
Masayuki Nakano
6c5cedabb5 Bug 462658 Folder drop down in Bookmarks contextual dialog cannot be closed r=ere, sr=roc, a=beltzner 2008-11-18 15:15:24 +09:00