Commit Graph

165 Commits

Author SHA1 Message Date
David Mandelin
4013bf6772 Bug 540136: remove erroneously duplicated line of code from GetFromClosure, r=dvander 2010-01-21 11:08:08 -08:00
Nicholas Nethercote
a6baa84f77 Bug 539379 - TM: Crash [@ ExecuteTrace] or [@ ExecuteTree] (TM-specific test case). r=edwsmith. 2010-01-18 09:48:39 +11:00
David Mandelin
9600769682 Bug 495331: trace JSOP_LAMBDA for non-heavyweight, non-null closures, r=jorendorff,dvander 2010-01-15 11:32:14 -08:00
David Mandelin
c100594692 Bug 532689: guard that index is in range for arguments[k] on trace, r=bz 2010-01-14 18:48:17 -08:00
David Mandelin
f75d33789a Bug 539553: adding one more test case for the new on-trace arguments.length LIR, no_r=me 2010-01-14 18:12:54 -08:00
Jason Orendorff
a37f4974e2 Bug 539553 - Correctness regression on the r-tree benchmark. r=dmandelin. 2010-01-14 18:23:05 -06:00
Brendan Eich
983aa690e9 Analyze module pattern and private-statics pattern in order to despecialize from methods to slots/sprops (536564, r=jorendorff). 2010-01-14 09:33:14 -08:00
David Mandelin
7d217b4429 Bug 538314: add ad hoc closure test suite to trace-tests, r=jorendorff 2010-01-11 18:18:42 -08:00
David Mandelin
ac104211b4 Backed out changeset 70854fa518da -- toolkit/ files were changed by accident 2010-01-11 18:15:17 -08:00
David Mandelin
f9c31cbe84 BUg 538314: add ad hoc closure test suite to trace-tests, r=jorendorff 2010-01-07 13:14:20 -08:00
David Mandelin
2ab635fbd3 Bug 528644: do not generate JSOP_GETUPVAR in a generator called from eval, r=mrbkap 2010-01-06 14:33:52 -08:00
David Mandelin
6479d75e0d Bug 536748: fix argument index typo, r=gal 2010-01-04 13:36:06 -08:00
David Mandelin
0d7ee57043 Bug 532568: when setting upvars, write to outer trace native stack if needed, r=dvander 2010-01-04 11:31:10 -08:00
David Mandelin
ca387b3441 Backed out changeset 107fc2833733 due to talos-v8 failure 2009-12-31 15:18:34 -08:00
David Mandelin
6b21acfb18 Bug 532568: when setting upvars, write to outer trace entry frame native stack area if necessary, r=dvander 2009-12-29 17:23:36 -08:00
David Mandelin
4fbd808603 Backed out changeset 8a2d469e86e7 due to mochitest failures 2009-12-29 17:21:04 -08:00
David Mandelin
5aa79db4bf Bug 532568: when setting upvars, write to outer trace entry frame native stack area if necessary, r=dvander 2009-12-29 13:11:12 -08:00
Brendan Eich
acfb6b1ec3 Push fix for 543565 for alpha. 2010-02-04 17:35:20 -08:00
David Mandelin
ddd35e28f0 Bug 544160: only write fun->nargs values to Call object on trace, r=dvander 2010-02-03 18:07:27 -08:00
David Anderson
38be9063e9 Fixed lazy import regression in upvar resolution, take two (bug 535930, r=dmandelin). 2009-12-22 16:21:25 -08:00
David Anderson
69279e0a58 Fixed charCodeAt inparam being aggressively, and incorrectly, specialized (bug 536445, r=bz). 2009-12-22 15:53:28 -08:00
David Anderson
91eca0a020 Merge. 2009-12-21 16:19:33 -08:00
David Anderson
99e1c6501b Backed out changeset f7cff6dd16f1 2009-12-21 16:19:12 -08:00
David Anderson
4f11660a57 Fixed tracing CALLELEM on arguments not setting an outparam on the stack (bug 535760, r=dmandelin). 2009-12-21 11:51:23 -08:00
David Anderson
c2660f9269 Fixed lazy import regression in upvar resolution (bug 535930, r=dmandelin). 2009-12-21 11:49:23 -08:00
Nicholas Nethercote
9393dd8a59 Bug 536113 - TM: make trace-tests.py --valgrind less noisy. r=sayrer. 2009-12-21 16:53:57 +11:00
David Anderson
2b9de94325 Added test case for bug 535474. 2009-12-16 19:22:04 -08:00
Brendan Eich
e3b2653ade Bug 533705 - Lock proto-scope around canProvideEmptyScope/getEmptyScope; check for slot mismatch in js_AddProperty; don't optimize for slot mismatch in JSOP_SETPROP. r=jorendorff.
--HG--
extra : rebase_source : 4d49e9ef150286db93f2e5e1c77b217832263f83
2009-12-16 18:11:19 -06:00
Jason Orendorff
ad0e287615 Bug 532363 - TM: "Assertion failure: IsDenseArrayId(cx, obj, (jsid) prop), at ../jsarray.cpp". r=bzbarsky. 2009-12-04 15:38:25 -06:00
David Mandelin
a47f877d42 Bug 532823: fix slot computation for JSOP_NAME accessing outer vars defined in trace entry frame, r=bz 2009-12-03 18:48:45 -08:00
Brendan Eich
ff0880a5f4 Test for last checkin (532043). 2009-12-02 21:51:18 -08:00
Igor Bukanov
a3f5d5c07b bug 531037 - eval fixes. r=brendan 2009-12-01 00:01:11 +03:00
Igor Bukanov
13dbd2ef1b bug 528116 - trace-test test case 2009-11-26 01:39:01 +03:00
Andreas Gal
574e4cf9f2 Properly reject new arrays with negative length (530617, r=jwalden). 2009-11-23 16:09:02 -08:00
David Mandelin
7323c52ddd Bug 509269: new harness for shell JSTests with multiprocessing and more control, r=bc,jorendorff 2009-10-05 12:07:26 -07:00
Brendan Eich
8655c42887 Test branded *and* hasMethodBarrier consistently, and with a combined helper (529837, r=jorendorff). 2009-11-20 14:05:16 -08:00
Brendan Eich
dd2281d2c9 Fix method barrier not to brand, period (branding without reshaping is worse, branding correctly is unnecessary; 524826, r=jorendorff). 2009-11-18 13:41:40 -08:00
David Anderson
20ee309b48 Fixed accidentally trying to trace compile a recursive generator (bug 529130, r=gal). 2009-11-18 12:41:51 -05:00
Luke Wagner
e33f55be7a Bug 529147 - fix flipped numSideExitsBefore assertion (r=dvander) 2009-11-16 17:45:50 -08:00
Nicholas Nethercote
caae636a76 Test case for bug 527288. r=edwsmith. 2009-11-11 18:17:55 +11:00
David Mandelin
f011cf1b36 Bug 525028: adding test case missed in previous commit, r=dvander 2009-11-09 15:38:08 -08:00
Jason Orendorff
f5ef3c2a57 Bug 524490 - js/src/trace-test/tests/sunspider/check-date-format-xparb.js is broken everywhere but the US. r=gal.
--HG--
extra : rebase_source : e93d741aee512aef3bb4779d386107fd992e2155
2009-10-27 13:33:22 -05:00
David Mandelin
2592879abd Bug 524400: make trace-test.py return nonzero exit code if there were test failures, r=jorendorff
--HG--
extra : rebase_source : e3658606a5fbeb971c7dda101af9943e8d6278ad
2009-10-26 13:02:19 -07:00
Jason Orendorff
efdbb8da44 Bug 505003 - TM: Different values for modulo of negative number (-2 % 2). r=graydon.
--HG--
extra : rebase_source : 73987a251e045b77ddc1cf1eb7c1516da46b2b9f
2009-10-23 13:15:10 -05:00
David Mandelin
b5cd5e2201 Bug 522817: move on-trace method write barrier after shape guard, r=brendan 2009-10-20 10:55:15 -07:00
David Anderson
924ded9082 Cap JIT frames to the interpreter inline call count (bug 522136, r=brendan). 2009-10-13 17:22:11 -07:00
Luke Wagner
5e977664ab Bug 520590 - RecordLoopEdge mis-aborts on inner tree 2009-10-06 14:48:09 -07:00
David Anderson
95da51cb0f Fixed recursion limit being completely ignored when traced (bug 520498, r=brendan). 2009-10-07 17:22:34 -07:00
David Mandelin
6a393c2883 Merge backout of bug 495331 patch 2009-10-05 18:32:06 -07:00
David Mandelin
42af5f9b94 Backed out changeset 9cc88d291fc0 2009-10-05 18:31:10 -07:00
David Anderson
0e9336a748 Fixed on-trace stack slurping accidentally unboxing booleans wrong (bug 516832, r=gal). 2009-10-05 18:21:52 -07:00
David Mandelin
e7d37eba3d Bug 495331: trace JSOP_LAMBDA for non-null, non-heavyweight case, r=jorendorff,igor 2009-09-28 13:51:46 -07:00
Luke Wagner
f9b92a4224 Bug 520336 - mark recorder's TreeInfo (r=brendan) 2009-10-03 23:32:00 -07:00
Blake Kaplan
5845b2458a Add a trace test and a requested comment for bug 519129. 2009-09-29 16:38:00 -07:00
David Mandelin
df2ec67c4d No bug, undo change to obsolete valgrind option in 886a447d6a8f, no_r=me 2009-09-25 15:03:03 -07:00
David Mandelin
99fb23d064 Bug 511695: Fix JS warnings in MSVC8, r=brendan 2009-09-23 11:16:30 -07:00
David Mandelin
72c8946af6 Bug 518056: better error message for nonexistent js shell argument in trace-tests.py, r=graydon 2009-09-22 12:15:06 -07:00
David Mandelin
611fbb67d5 Bug 518026: enable running trace-test.py with valgrind for dev testing, r=graydon
--HG--
extra : rebase_source : d759a8ea41bba557c825f3afe8eed7de7a69a04c
2009-09-22 12:04:34 -07:00
Brendan Eich
bc30b36a39 Merge 2009-09-21 16:41:37 -07:00
Brendan Eich
4bb103007a Sync record_JSOP_LAMBDA with interpreter (517637, r=jorendorff). 2009-09-21 16:41:16 -07:00
David Mandelin
e64eff4b1e Bug 517332: adjust expected side exit count by platform to fix spurious arm test failures, r=dvander 2009-09-21 16:40:25 -07:00
Graydon Hoare
369e54f9b3 Bug 512591 - trace-tests needs a |valgrind| flag, r=sayrer. 2009-09-21 11:32:09 -07:00
Blake Kaplan
ed88fddf07 Bug 517721 - Deal with incelem on NULL. r=gal 2009-09-19 17:18:34 -07:00
David Mandelin
653ee067df Bug 517345 followup: fix turning off jitstats test in non-debug builds, no_r=me 2009-09-18 17:46:16 -07:00
David Mandelin
7c2e702632 Bug 517345: fix jitstats architecture flags, r=gal
--HG--
extra : rebase_source : bea8fd342f3f57071150c64e689971f14ecaa55e
2009-09-18 14:27:07 -07:00
David Mandelin
b152e9656d Bug 517117: don't trace JSOP_ARGCNT if arguments.length has been overridden, r=dvander
--HG--
extra : rebase_source : a53403064c533bdc3270408f0d29eeec12970040
2009-09-17 18:13:20 -07:00
David Mandelin
38779e6762 Bug 516062: detect overridden arguments.length on trace for JSOP_ARGCNT, r=dvander 2009-09-17 18:00:01 -07:00
Julian Seward
b214130415 Bug 503424 - Add built-in support for compiled-trace and -guard profiling, r=graydon. 2009-09-15 15:05:53 -07:00
David Mandelin
cfdd0c20d7 Bug 516009: do stack update after all guards for JSOP_LAMBDA_FC, r=gal 2009-09-11 17:32:20 -07:00
David Mandelin
1ccc6f7025 Bug 515844 followup: change debug option to moz-standard -g, no_r=me 2009-09-11 16:43:50 -07:00
Andreas Gal
2b967c4b02 Add test for bug 504516. 2009-09-11 15:59:04 -07:00
David Mandelin
17a8b24ac7 Bug 515844: option to run a trace-test in gdb, r=dvander 2009-09-10 18:39:30 -07:00
Graydon Hoare
e9a727c872 Bug 514999 - Followup to fix orange opt tinderboxes, r=me.
--HG--
extra : rebase_source : 876279e2d327c8faf76bba28f94ba40f347a2000
2009-09-09 20:39:35 -07:00
Andreas Gal
bd58a78c21 Set nativeVp immediately before the native call (514999, r=mrbkap). 2009-09-09 17:38:07 -07:00
Jason Orendorff
500dba18ba Fix typo in inArrayTest.js introduced in changeset ff4821569605. No bug#. r=orange. 2009-09-09 16:12:51 -05:00
David Mandelin
512c25cdc4 Bug 504797 extra bit: newly required include in jsfun.cpp, no_r=me 2009-09-09 11:46:32 -07:00
David Mandelin
a8c3972f23 Bug 504797: give arguments objects created on trace a private value that can be used to look up argument values in the native stack, r=gal 2009-09-09 11:40:21 -07:00
Jesse Ruderman
6b6f0e013c Add trace-test for bug 465902 2009-09-04 22:50:49 -07:00
Luke Wagner
dbc9bb4660 Moved tests in js/src and js/src/correct to trace-tests (r=jorendorff)
--HG--
rename : js/src/call.js => js/src/trace-test/tests/basic/call2.js
rename : js/src/correct/check-3d-morph.js => js/src/trace-test/tests/sunspider/check-3d-morph.js
rename : js/src/correct/check-3d-raytrace.js => js/src/trace-test/tests/sunspider/check-3d-raytrace.js
rename : js/src/correct/check-access-binary-trees.js => js/src/trace-test/tests/sunspider/check-access-binary-trees.js
rename : js/src/correct/check-access-fannkuch.js => js/src/trace-test/tests/sunspider/check-access-fannkuch.js
rename : js/src/correct/check-access-nbody.js => js/src/trace-test/tests/sunspider/check-access-nbody.js
rename : js/src/correct/check-access-nsieve.js => js/src/trace-test/tests/sunspider/check-access-nsieve.js
rename : js/src/correct/check-bitops-3bit-bits-in-byte.js => js/src/trace-test/tests/sunspider/check-bitops-3bit-bits-in-byte.js
rename : js/src/correct/check-bitops-bits-in-byte.js => js/src/trace-test/tests/sunspider/check-bitops-bits-in-byte.js
rename : js/src/correct/check-bitops-bitwise-and.js => js/src/trace-test/tests/sunspider/check-bitops-bitwise-and.js
rename : js/src/correct/check-bitops-nsieve-bits.js => js/src/trace-test/tests/sunspider/check-bitops-nsieve-bits.js
rename : js/src/correct/check-controlflow-recursive.js => js/src/trace-test/tests/sunspider/check-controlflow-recursive.js
rename : js/src/correct/check-date-format-tofte.js => js/src/trace-test/tests/sunspider/check-date-format-tofte.js
rename : js/src/correct/check-date-format-xparb.js => js/src/trace-test/tests/sunspider/check-date-format-xparb.js
rename : js/src/correct/check-mont.js => js/src/trace-test/tests/sunspider/check-mont.js
2009-09-04 16:40:45 -07:00
Brendan Eich
fd61e1b61a Fix imacro vs. script code disassembly/decompilation confusion (510644, r=jorendorff). 2009-09-04 16:27:17 -07:00
David Anderson
19e6272d43 Implemented side exits in the x64 backend, and merged in tamarin-redux changes (bug 514537, r=gal). 2009-09-03 19:12:47 -07:00
David Mandelin
a69a6f44b9 Bug 514101: show running trace-test when interrupted by Ctrl+C, r=dvander
--HG--
extra : rebase_source : 3f85a036f9c4e732d247b8210d47845c2b141771
2009-09-03 16:10:15 -07:00
Brendan Eich
cce4dce512 Join lambdas assigned or initialized as methods to the compiler-created function object if we can, with a read barrier to clone on method value extractions other than call expressions (471214, r=jorendorff). 2009-09-03 14:41:19 -07:00
David Anderson
f003096144 Fixed trace-test.py -x option (bug 514022, r=dmandelin). 2009-09-01 15:06:02 -07:00
David Mandelin
dd195bf785 Bug 513476: update README for trace-tests.py to reflect usage of tree-standard python 2.5, no_r=me 2009-08-31 12:11:00 -07:00
David Mandelin
41b0b5b229 Bug 513131: convenient retest feature for trace-tests.py, r=jorendorff 2009-08-31 12:05:54 -07:00
David Mandelin
8c9d1bb5a7 Bug 513118: improved CLI selection of single tests for trace-test.py, r=jorendorff 2009-08-31 11:57:32 -07:00
Andreas Gal
64328a8e94 Consolidate object creation on trace (512617, r=jorendorff). 2009-08-29 12:36:00 -07:00
David Mandelin
03bdb1b7bf No bug, trace test from bug 511241, no_r=me 2009-08-27 15:52:04 -07:00
David Mandelin
db7fb65c2f Bug 505591 followup: add trace tests, no_r=me 2009-08-27 15:48:56 -07:00
David Mandelin
41734fc7d9 No bug, test case filed in bug 513038, no_r=me 2009-08-27 15:17:03 -07:00
David Mandelin
2f814a4418 Bug 512182: run some trace tests with TMFLAGS=full 2009-08-27 15:10:59 -07:00
David Mandelin
a086bb3ab9 Bug 510642: traverse scope chain correctly for traced JSOP_BINDNAME, r=jimb 2009-08-27 15:07:46 -07:00
Andreas Gal
be09aa48c3 Only specialize math function if the argument is really a number (511837, r=dvander). 2009-08-26 12:16:11 -07:00
David Mandelin
8df006e722 Bug 512382: control lines for trace-test.py, r=jorendorff
--HG--
extra : rebase_source : 3d11ca29af8ff07d899a78ff09eb4766be12f7eb
2009-08-25 14:06:47 -07:00
Jason Orendorff
3bab9b25d4 Bug 511575 - TM: Crash [@ js_HashString] with "continue LABEL;" (in ojay 0.2.1). r=gal.
--HG--
extra : rebase_source : 91137fdb9d870cbc7a4ee3d1dbaed881b185b60c
2009-08-24 14:27:41 -05:00
Jason Orendorff
5dd467a8d4 Bug 511974 - Treat "continue LABEL;" like "break;". r=gal.
--HG--
extra : rebase_source : d9507a3c8ef0e64f12c5890e9c3104e5329d3f29
2009-08-24 13:37:07 -05:00
Jason Orendorff
7eb0c31f08 Fix trace-test.py -f. r=dmandelin via IRC, no bug.
--HG--
extra : rebase_source : 7ae99002a44e6e5323c9c2909f523d278ac0f38d
2009-08-21 13:18:36 -05:00
Andreas Gal
0525ca1267 Atomize unit strings at birth (511567, r=shaver). 2009-08-19 19:37:59 -07:00
David Mandelin
1e05c1b289 Bug 510655: set argsobj->private when leaving trace only if created on trace, r=igor 2009-08-19 11:11:39 -07:00