Commit Graph

349 Commits

Author SHA1 Message Date
David Anderson
858278d975 [JAEGER] Merge from fatval branch. 2010-06-10 14:01:11 -07:00
David Anderson
dfa571f425 [JAEGER] Added JSOP_EXCEPTION, JSOP_SETLOCALPOP. 2010-06-09 01:32:40 -07:00
Jason Orendorff
5874315d91 Back out changeset 5f425aecd7ab again. Still has performance issues; 14% in ThisObject hook. 2010-06-07 20:36:57 -05:00
David Anderson
e0f4979989 [JAEGER] Fixed warnings. 2010-06-05 12:27:50 -07:00
David Anderson
8d37f58238 [JAEGER] Added test case for eq+ifeq fusing. 2010-06-04 19:31:28 -07:00
Jason Orendorff
5f5deee89d Bug 556277 - Compute this eagerly in more cases. r=brendan. Second landing. 2010-06-04 00:34:57 -07:00
David Anderson
a56d7ce464 [JAEGER] Fixed bug in comparison stub calls. 2010-06-02 16:48:41 -07:00
David Anderson
b4b3c306b4 [JAEGER] Improved last test case. 2010-06-02 15:58:25 -07:00
David Anderson
b2c052e23b [JAEGER] Fixed crash where tail of slow fused compare op ran overboard. 2010-06-02 15:57:36 -07:00
David Anderson
50edbde73a [JAEGER] Added JSOP_TRUE, JSOP_FALSE. 2010-06-02 15:33:36 -07:00
Chris Leary
c55687cccc Back out changeset fecc8ed9e813. 2010-06-16 01:17:34 -07:00
Dave Herman
ddf90cda8e bug 533874, r=cdleary: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
Robert Sayre
3a10b5449b Backed out changeset 52be13ea0488. Bug 556277 - Compute this eagerly in more cases. r=brendan. Suspected of performance regression on SunSpider unpack-code. 80ms -> 135ms. 2010-06-05 11:42:59 -04:00
Jason Orendorff
2ab131a259 Bug 556277 - Compute this eagerly in more cases. r=brendan.
--HG--
extra : rebase_source : b295b576f019a95b55d12b86077aaef295e3eec8
2010-06-04 00:34:57 -07:00
Andreas Gal
64497c9a69 Suppress deleted properties during iteration (569735, r=brendan). 2010-06-03 21:41:01 -07:00
Brendan Eich
cbe7c0ca5a Fix failure to handle deep bail, and stop recording properly, in wake of bug 523452 (569843&569849, r=jorendorff). 2010-06-03 11:08:58 -07:00
Jason Orendorff
635c071944 Back out changeset a72a9d72c028 (bug 559653, remove SetPropHit). Checking to see if this caused a 5% Dromaeo regression today.
--HG--
extra : rebase_source : 5b1726c8bc4f9504cb1d452d0d21d59d61091ee0
2010-06-02 16:01:36 -07:00
Jason Orendorff
d364454f75 Back out changeset ca772ab995c9 (bug 559813, trace script setters).
--HG--
extra : rebase_source : 09944589c3f8c5acbd79ddc29878b25efcb87e14
2010-06-02 15:58:17 -07:00
Jason Orendorff
6869b77cae Bug 559813 - Trace script setters. r=brendan. 2010-06-02 12:05:53 -07:00
Jason Orendorff
e7ae1fdb12 Merge. 2010-06-01 21:21:36 -07:00
Jason Orendorff
bf6f2c259c Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan. 2010-06-01 21:18:49 -07:00
Brendan Eich
dd3fb0ab0f Trace JSOP_DEL{PROP,ELEM} (523452, r=gal). 2010-06-01 19:42:37 -07:00
David Anderson
e2e1e9a8cc Backed out changeset 0f0f444d57ad 2010-05-23 22:09:41 -07:00
David Anderson
fd993d7db3 Deoptimize uses inside polluted scopes (bug 561923 part 3, r=brendan). 2010-05-23 17:15:01 -07:00
David Anderson
9f1aa534da Import method JIT 'outer' framework. 2010-05-22 17:09:52 -07:00
David Anderson
285a986008 Statically bind global variables where possible (bug 561923, r=brendan). 2010-05-22 15:38:04 -07:00
David Anderson
d8f8d5dfac imported patch globals_prt3_2 2010-05-22 14:52:44 -07:00
Luke Wagner
8c66dc0bc9 Bug 566556 - Check for nslots == 0 in decompiler (r=waldo) 2010-05-18 10:11:49 -07:00
Luke Wagner
9b49d62378 Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Luke Wagner
6a6afd60ce Backed out changeset 23efaeb8652b 2010-05-13 02:21:27 -07:00
Luke Wagner
0e23d73f7a (fake) contiguous patch 2010-03-03 17:52:26 -08:00
Jeff Walden
00f6066393 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Jason Orendorff
3a2ba42072 Bug 492915 - Trace incelem/decelem/eleminc/elemdec for objects other than arrays. r=brendan.
--HG--
extra : rebase_source : 33ab817997096bd4b00c8a36bb0444dcacc58a27
2010-05-03 16:48:06 -05:00
Luke Wagner
c328d111f1 Bug 558446 - Emit concatn properly (r=waldo) 2010-04-09 16:32:02 -07:00
Jason Orendorff
89f72d0bce Backed out changeset 73f23528bed6 (bug 559653, again) 2010-04-30 15:12:13 -05:00
Jason Orendorff
d55c165fa7 Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan.
--HG--
extra : rebase_source : c6698a313d7d00cd0584e1968d96d4b67ab0373c
2010-04-28 11:12:19 -05:00
Brendan Eich
21abf2ffff Fix thinko in patch for 560234, caught by jorendorff, all praise to him. 2010-04-30 07:46:31 -07:00
Brendan Eich
855cf9ee29 JSOP_NAME inside null closure leads to bogus ReferenceError on trace (560234, r=jorendorff). 2010-04-29 19:04:55 -07:00
Jason Orendorff
c2217cdb74 Sort trace-tests by name before running them. No bug#, rs=Waldo via IRC. 2010-04-29 09:11:05 -05:00
Jason Orendorff
55efedaff4 Backed out changeset 69ea8f61ae26 (bug 559813) due to test failures. 2010-04-28 13:03:19 -05:00
Jason Orendorff
6736f57e69 Bug 559813 - Trace script setters. r=brendan. 2010-04-28 11:43:27 -05:00
Jason Orendorff
d7438ec267 In a trace-test, do not try to print jitstats. no_r=me.
--HG--
extra : rebase_source : 6447c98085459bd7fc6b215279a9d5e1870d46ba
2010-04-26 16:28:41 -05:00
Luke Wagner
ef023c4ec7 Bug 560798 - propagate errors from deep-aborted natives (r=gal) 2010-04-26 09:30:06 -07:00
Robert Sayre
28b49c1237 Someone should teach me to write JavaScript. Really fix busted test from Bug 558830 - Trace script getters. 2010-04-24 12:09:16 -04:00
Robert Sayre
784972fd0a Fix busted test from Bug 558830 - Trace script getters. 2010-04-24 11:55:10 -04:00
Jason Orendorff
6b63be3117 Bug 558830 - Trace script getters. r=brendan.
--HG--
extra : rebase_source : 240b5a7248165aefdc9527abc94902afe4b510e0
2010-04-22 17:10:38 -05:00
David Anderson
6998008b3d Rename test case for correct bug number (no bug, r=me).
--HG--
rename : js/src/trace-test/tests/basic/bug557481.js => js/src/trace-test/tests/basic/bug557841.js
2010-04-21 12:08:37 -07:00
Luke Wagner
08f75291c2 Bug 560098 - fix hole-to-undefined conversion wrt TT_VOID (r=dvander) 2010-04-19 09:53:09 -07:00
Jason Orendorff
150781994d Bug 557841 - TM: "Assertion failure: BINDNAME in global code resolved to non-global object, at ../jstracer.cpp". r=dmandelin.
--HG--
extra : rebase_source : ebfbfc0bb947c1c68b86ec4861c07a94aa6361d7
2010-04-19 09:21:10 -05:00
Nicholas Nethercote
3b7a62d9f5 Bug 558814 - nanojit: handle const conditions for LIR_jt/LIR_jf (TM-specific part). r=dvander. 2010-04-15 17:12:28 -07:00
Luke Wagner
e0baa92658 Bug 558950 - Object.watch should always return undefined (r=Waldo) 2010-04-12 17:47:35 -07:00
Jeff Walden
448a825d23 Bug 558249 - Followup fixes to bug 550402 to record setting getter-only properties better. r=jorendorff
--HG--
extra : rebase_source : 0cfef9aca97c243b1d45e5b6e4d68181cd3cea5c
2010-04-12 11:11:33 -07:00
Nicholas Nethercote
2d6ed5c45e Bug 558530 - JM: Crash [@ js_CallGCMarker] with gc. rs=me. 2010-04-11 16:28:04 -07:00
Luke Wagner
98a7dc9ea6 Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo) 2010-03-03 17:52:26 -08:00
Jason Orendorff
0729e51e07 Convert Windows CR LF pairs to just Unix LF. Sigh. no_r=me.
--HG--
extra : rebase_source : 7445cf7f3cfaca0ff91bbc549c1df90ec4b7fa13
2010-08-17 12:25:55 -05:00
Luke Wagner
b1f02a8fbf Bug 586559 - make SimulateImacroCFG cool with pcstack == NULL (r=brendan)
--HG--
extra : rebase_source : bb0cdb4eb51a1cee6a0b08c2f9d050868e577fa0
2010-08-17 09:43:05 -07:00
David Mandelin
6b0104f903 Bug 570663: turn a tableswitch on trace into a no-op if it has no cases, r=njn 2010-08-16 18:56:04 -07:00
David Mandelin
aa16e435ea Bug 554670: abort tracing on out-of-range args element read 2010-04-08 17:11:41 -07:00
Luke Wagner
cbbdfa692a Bug 555484 - add test case 2010-04-08 13:32:32 -07:00
Brendan Eich
244c77de79 Abort on non-dense-array, non-native JSObjectOp.getProperty op (557168, r=gal). 2010-04-05 22:10:22 -07:00
David Anderson
37ae59283b Fixed regression with recursive scripts missing a return (bug 552196, r=gal). 2010-03-26 09:58:33 -05:00
Nicholas Nethercote
72e08f9539 Bug 517910 - NJ: add more alias-set annotations to LIR so as to improve CSEing of loads (TM-specific part). r=gal,dvander. 2010-03-23 16:07:19 -07:00
Luke Wagner
ad69b5f5fb Bug 554043 - fix negated bool, broken by TT_VOID patch (r=dvander) 2010-03-22 10:26:08 -07:00
Vladimir Vukicevic
a502859e84 b=550351; don't abort recording when accessing out of range typed array element (return undefined instead); r=gal 2010-03-04 16:49:31 -08:00
Luke Wagner
116a193009 Bug 552248 - fix crash when JS_EvaluateInStackFrame is called for frame in saved callstack (r=Waldo) 2010-03-15 19:24:08 -07:00
Jeff Walden
e2df507656 Bug 551529 - Remove __count__. r=shaver 2010-03-12 17:09:49 -08:00
David Anderson
463e990626 Fixed regression with recursion and type unstable frame slurping (bug 551705, r=gal). 2010-03-12 11:47:44 -08:00
Boris Zbarsky
19a7e9b481 Bug 551118. Reuse string-to-number code and fix bug with negative hex in strings being treated as a negative integer. r=brendan 2010-03-09 17:21:32 -05:00
David Mandelin
5860e3e1f3 Bug 550352: make check-string-tagcloud more robust, r=lw 2010-03-04 17:03:53 -08:00
Luke Wagner
a87d51a58a Loosen check-math-partial-sums for floating error (r=dmandelin) 2010-03-04 16:32:06 -08:00
David Mandelin
fdacbe87cc Bug 549503: more SunSpider verification tests, r=dvander
--HG--
extra : rebase_source : 15ebc76e6de2c982ca77bb6a271f691ddc8559a8
2010-03-01 17:40:01 -08:00
Jason Orendorff
4b5079e907 Bug 547911 - TM: Crash [@ js_CallIteratorNext] or "Assertion failure: !JSVAL_IS_PRIMITIVE(regs.sp[-2]), at ../jsops.cpp" or "Assertion failure: regs.sp == StackBase(fp), at ../jsops.cpp" with defineGetter, StopIteration. r=brendan. 2010-02-24 17:32:46 -08:00
Luke Wagner
06cc81805b Bug 545165 - fix/simplify JSOP_CONCATN (r=jorendorff) 2010-02-19 19:22:37 -08:00
David Anderson
fd9b61d7cf Fixed assertion when using recursion in a let block (bug 547791, r=gal). 2010-02-22 13:57:04 -08:00
Luke Wagner
6cc06f3b7b Bug 546668 - obj_eval should still call js_GetScriptedCaller (r=mrbkap) 2010-02-17 11:16:11 -08:00
Brendan Eich
c9fed979f6 Bug 542002 - Optimize to flat closures even if some upvars can't be copied (r=jorendorff). 2010-02-10 15:17:52 -08:00
Robert Sayre
f146d11898 Merge mozilla-central to tracemonkey. 2010-02-09 13:08:35 -05:00
Robert Sayre
8f7df8dabc Add test for bug 470795. 2010-02-09 11:15:19 -05:00
Brendan Eich
1f15a43bd7 Fix property cache hit guarding to-do with the global object (544161, r=jorendorff). 2010-02-05 11:46:57 -08:00
Jason Orendorff
fe72db3caa Bug 543565 - Assertion failure: fp->slots + fp->script->nfixed + js_ReconstructStackDepth(cx, fp->script, fp->regs->pc) == fp->regs->sp | Assertion failure: pcdepth + ndefs <= StackDepth(script) due to bug handling JSOP_POP after JSOP_UNBRAND. r=brendan. 2010-02-02 18:20:24 -06:00
Jeff Walden
906c23f6c5 Bug 540985 - Regression in Peacekeeper string benchmarks due to regexp literals no longer tracing. A prototype of this patch was by bz. r=igor 2010-01-26 18:41:30 -08:00
David Mandelin
7178b08092 Bug 541239: don't use upvar for variables in eval if they cross a generator, r=mrbkap 2010-01-21 17:06:11 -08:00
David Mandelin
5bb1cfd035 Bug 540243: don't use JSOP_GETUPVAR if def-use chain crosses a generator lexical scope, r=mrbkap 2010-01-21 13:27:36 -08:00
David Mandelin
c4fb2d9d01 Bug 540528: don't reset scopeChain JSStackFrame when leaving trace if it was already set by interpreter, r=mrbkap 2010-01-19 19:06:40 -08:00
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
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