Commit Graph

207 Commits

Author SHA1 Message Date
Jeff Walden
6f0de3c4e0 Bug 470137 - TM: Behavioral difference in addition of objects between JIT, non-JIT. r=brendan 2008-12-21 21:26:08 -08:00
Jeff Walden
4710efd8a4 Bug 469942 - TM: 20% slower to compute unary +/-. r=brendan 2008-12-19 19:30:09 -08:00
Jeff Walden
aa66ca5eb0 Whitespace patrol, move some tests before mandelSet where they should have been, add big scary warnings about not putting anything after mandelSet because they won't get run very often (not until just pre-commit, usually). 2008-12-19 19:09:27 -08:00
Andreas Gal
bbf40348b6 Trace apply/call with an imacro (465214, r=brendan). 2008-12-18 19:20:47 -08:00
Jeff Walden
201e000573 Bug 470133 - TM: fails to trace case with a type mismatch. r=gal 2008-12-18 10:35:09 -08:00
Andreas Gal
3af573343f Backed out changeset 95b210c2fc92 preemptively. Seems to crash the browser. 2008-12-17 23:09:26 -08:00
Andreas Gal
62f0547add Trace apply/call using an imacro (465214, r=brendan). 2008-12-17 22:53:35 -08:00
Brendan Eich
56658da21f Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal). 2008-12-16 19:03:42 -08:00
Jim Blandy
dc9a66856f Bug 461180: Add coverage tests for traceable math native functions. r=mrbkap
These cases are adapted from those in js/tests/ecma/Math.
2008-12-15 14:45:56 -08:00
Robert Sayre
443f738d12 Backed out changeset f682453c06d0. Failing scriptaculous unit tests, doesn't build on windows or mac ppc. 2008-12-11 20:43:32 -08:00
Brendan Eich
ece10ee8df Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal). 2008-12-11 17:50:56 -08:00
Jeff Walden
6afac16038 Bug 465255 - Rewrite TraceRecorder::cmp, take five. (Three, sir!) Three! r=gal 2008-12-08 21:11:56 -08:00
Jason Orendorff
413e752410 Bug 453564 - TM: Assertion failure: JSVAL_IS_NULL(vp[0]) || (!JSVAL_IS_PRIMITIVE(vp[0]) && OBJ_IS_ARRAY(cx, JSVAL_TO_OBJECT(vp[0]))). r=gal.
--HG--
extra : rebase_source : be08d1a4ca8a3765523b992a5d4e469e67ba8811
2008-12-09 11:43:32 -06:00
Jeff Walden
e48c310d01 Dangit, why do the tests run correctly locally in small batches? Backing out bug 465255... 2008-12-08 22:19:54 -08:00
Jeff Walden
f143157358 Bug 465255 - Rewrite TraceRecorder::cmp, take two. r=gal 2008-12-08 21:11:56 -08:00
Jeff Walden
77eeb36575 Back out bug 465255, seems I was wrong about the compile error and warning being the only bugs. 2008-12-05 19:51:35 -08:00
Jeff Walden
6cb6d5d43b Bug 465255 - Rewrite TraceRecorder::cmp. r=gal 2008-12-05 16:17:59 -08:00
Andreas Gal
e367780a2f Trace apply and call (462482, r=brendan). 2008-12-04 18:07:18 -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
David Anderson
c2f9deb2b1 Fixed regression checked in for bug 466128 (bug 466262, r=gal). 2008-11-21 22:55:03 -06: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
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
Brendan Eich
37c40ca7c0 Merge. 2008-11-17 16:29:40 -08:00
Andreas Gal
f7ca65fe0f Don't demote multiplication, even if result is demoted and inputs are demotable (465308, r=danderson). 2008-11-17 01:39:49 -08:00
Andreas Gal
4287473ba2 Merge. 2008-11-17 00:05:59 -08:00
Andreas Gal
cdbe1015e3 Don't attempt to do CSE across labels (465276, r=danderson). 2008-11-17 00:05:29 -08:00
David Anderson
442b376986 Fixed regression from recent constant folding patch (bug 465272, r=gal). 2008-11-16 22:52:15 -08:00
Andreas Gal
a9d9eff7ee Merge. 2008-11-16 22:13:37 -08:00
Andreas Gal
3c5889df4e Fix tracing of JSOP_IN (465241, r=danderson). 2008-11-16 22:13:13 -08:00
David Anderson
a653ef6015 Fixed branch traces being erroneously marked as dependent trees (bug 464979, r=gal). 2008-11-16 21:58:35 -08:00
David Anderson
637ce7666a Merge. 2008-11-16 21:37:28 -08:00
David Anderson
d46ed014cf Fixed edge case in nanojit register allocation for shl/shr (bug 465135, r=gal). 2008-11-16 21:36:33 -08:00
Andreas Gal
bd10f75bdb Can't bypass ECMADoubleToInt32 in js_StringToInt32 (465239, r=danderson). 2008-11-16 20:43:13 -08:00
Andreas Gal
0218a2502b Merge. 2008-11-16 20:22:52 -08:00
Andreas Gal
b1e33fe0ff JIT affects truthiness of "" <= null (465234, r=Waldo). 2008-11-16 20:22:01 -08:00
Jeff Walden
7c2bb3cab6 Bug 465137 - TM: JIT thinks !NaN is false. r=gal 2008-11-16 18:28:51 -08:00
David Anderson
db46b11fa1 Fixed recorders already deeply aborted being pushed onto the deep abort stack (bug 465145, r=gal). 2008-11-16 02:34:51 -06:00
Andreas Gal
4da6188c80 Implement ordered comparison for objects (465133, r=brendan). 2008-11-15 23:19:46 -08:00
Jeff Walden
dded0f5f95 Bug 462060 - TM: JIT: Initializing an array to a constant in a loop doesn't work for some constant values. r=brendan 2008-11-15 16:42:35 -08:00
Andreas Gal
acebe116c1 Don't flush JIT cache from within the recorder (464403, r=brendan). 2008-11-13 15:58:58 -08:00
Brendan Eich
cb47c4cf08 Bug 456511 - (imacros) TM: Make conversion work on arbitrary JSObjects (r=gal). 2008-11-13 00:30:20 -08:00
David Anderson
30101c6443 Fixed recursion in thin loops accidentally trying to close the parent loop (bug 464089, r=gal). 2008-11-12 19:00:15 -08:00
Andreas Gal
074d900a57 Backed out changeset a40f2117bcc0 2008-11-12 17:39:48 -08:00
Brendan
0ca607d76b Add imacros to support conversion of arbitrary JSObjects (456511, r=gal). 2008-11-12 16:55:45 -08:00
Andreas Gal
55c5823950 Backed out changeset 594ec832d9a8 2008-11-07 18:19:35 -08:00
Andreas Gal
54ba19de70 Trace Function.apply and Function.call (462482, r=brendan). 2008-11-07 15:58:52 -08:00