Commit Graph

165 Commits

Author SHA1 Message Date
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
Luke Wagner
b115ec69f9 Add test for bug 507180 2009-08-19 09:36:25 -07:00
Jacob Bramley
56c7a54588 Allow an out-of-memory condition to be interpreted as a pass for testBug507425. (510207, r=dmandelin) 2009-08-18 12:00:10 +01:00
David Mandelin
2ad51ab3d0 Bug 510730: make new trace-test harness output tinderbox-parseable, r=graydon
--HG--
extra : rebase_source : de6ca79b0df5b8d98e24f2fe6cd5ebd4f16c5964
2009-08-17 16:53:41 -07:00
David Mandelin
46854c2304 Bug 509599: on trace, call putArguments when returning from JS function via either return or stop, r=jorendorff 2009-08-17 15:29:09 -07:00
David Mandelin
25b6a55ac6 Bug 510434: don't trace setting |arguments|, r=brendan 2009-08-17 15:20:26 -07:00
Jason Orendorff
bb4f47d677 Re-apply d8e4676dc10e (bug 510553) to trace-test.py. Changeset c3648b2ea86c inadvertently reverted these changes because I rebased it across d8e4676dc10e and rebase is dumb. r=sea of orange
--HG--
extra : rebase_source : 461c4b16b92841b6cf3e3460f2c55a143787706d
2009-08-15 07:14:45 -05:00
David Mandelin
184e8b155d Backed out changeset 238e8b557e4f: causing tjss orange
--HG--
extra : rebase_source : 49cfd40e67221067c45c85a5b96db39d22be1f67
2009-08-14 19:17:00 -07:00
David Mandelin
a5a7e420d0 Bug 505591: trace JSOP_NAME for returned closures, r=dvander 2009-08-14 16:02:47 -07:00
David Mandelin
14e11d3ed9 Bug 504587 test case: test shape guard validity, r=jorendorff via IRC 2009-08-14 15:34:23 -07:00
David Mandelin
4fad6d2e5d Bug 509982 part 2: add test case 2009-08-14 15:29:54 -07:00
Jason Orendorff
d14a48ad53 Bug 508051 part 2 - Avoid imacros for JSOP_INSTANCEOF. Re-landing per comment 8. r=gal. 2009-08-14 16:34:43 -05:00
Jason Orendorff
56b69d0816 Bug 508051 part 1 - Avoid imacros for JSOP_SETELEM. Re-landing per comment 8. r=gal. 2009-08-14 15:47:04 -05:00
Jason Orendorff
ecb3693d52 Remove Python 3.x version of trace-test.py. Maintaining two copies is a headache. r=dmandelin.
--HG--
extra : rebase_source : 91fcfe4a1b16b788ec42f1ab37097ee2bfe81413
2009-08-14 15:07:11 -05:00
David Mandelin
36075e6bc3 Bug 510553: make trace-test.py use correct program argv passing and path separator conventions, r=jorendorff 2009-08-14 12:09:42 -07:00
David Mandelin
c0f2845030 Bug 505588: simpler test format and improved harness for trace-tests, r=jorendorff 2009-08-13 15:42:51 -07:00