Andreas Gal
|
9a086f63ae
|
Don't carry around oldpc in AbortRecording path (459321, r=danderson).
|
2008-10-09 16:17:13 -07:00 |
|
Andreas Gal
|
35de6c0d9d
|
Merge.
|
2008-10-08 21:02:57 -07:00 |
|
Andreas Gal
|
c974289da5
|
Support thin loops (iteration < 2) by closing the loop even if we are on the last iteration (456431, r=danderson).
|
2008-10-08 21:02:04 -07:00 |
|
danderson
|
c56579e021
|
Blacklist loop if its unstable and we don't recompile it (459174, r=gal).
|
2008-10-08 19:58:40 -07:00 |
|
Andreas Gal
|
afc99f7ccc
|
In ifop, avoid eq0(eq0(x)), instead flip guard direction and use single eq0 (459164, r=danderson).
|
2008-10-08 17:49:54 -07:00 |
|
Andreas Gal
|
471ed73a35
|
Evaluate cond to true if value evaluates to true in non-fused if (459159, r=danderson).
|
2008-10-08 17:44:04 -07:00 |
|
Andreas Gal
|
fb350afe17
|
Non-fused ifs emit different comparison code than the interpreter uses (459151, r=danderson).
|
2008-10-08 16:23:54 -07:00 |
|
Jason Orendorff
|
3204ec178a
|
Bug 459085 - TM: Number.toString traceable native is broken (r=gal)
|
2008-10-08 17:19:15 -05:00 |
|
Jason Orendorff
|
a27d101dab
|
Bug 458735 - Improve internal API for traceable natives (r=brendan, nanojit r=edwsmith)
|
2008-10-08 17:08:33 -05:00 |
|
Andreas Gal
|
52f71e38dc
|
Add missing comparison before letting the result of the conditional move flow into the guard for ordered boolean comparisons (457778, r=danderson).
|
2008-10-07 13:32:30 -07:00 |
|
Andreas Gal
|
1b0fd40e30
|
Trace push and pop for dense and sparse arrays (453734, r=brendan).
|
2008-10-07 11:00:16 -07:00 |
|
Brendan Eich
|
19e9638dc3
|
Bug 457920 - regexp-dna.js and generality want JSOP_GETELEM(dense array, "0") (r=mrbkap/gal).
|
2008-10-06 22:30:36 -07:00 |
|
Boris Zbarsky
|
cab53dbee6
|
Bug 456165. Trace |new Date()|. r=brendan
|
2008-10-06 20:28:22 -04:00 |
|
David Anderson
|
26d5db2cc5
|
Merge.
|
2008-10-06 16:48:14 -07:00 |
|
David Anderson
|
a4daa1c332
|
Fixed NaN handling again after backout of busted patch (bug 458472, r=gal).
|
2008-10-06 16:47:05 -07:00 |
|
Andreas Gal
|
40d1236378
|
Add support for writing back a boxed value when side-exiting on JSOP_RESUME (453734, r=brendan).
|
2008-10-06 16:22:57 -07:00 |
|
Andreas Gal
|
95b8fa8a84
|
Backed out changeset 2176f46b2702 (trying to identify cause for tinderbox burning).
|
2008-10-06 13:58:11 -07:00 |
|
David Anderson
|
c34cf06820
|
Fixed incorrect handling of NaN in ifop causing one new branch per iteration (bug 458472, r=gal).
|
2008-10-03 17:28:03 -07:00 |
|
Brendan Eich
|
502fb4e4c8
|
Bug 456831 - TM: Trace JSOP_SETLOCALPOP (r=mrbkap).
|
2008-10-02 15:39:25 -07:00 |
|
David Anderson
|
15a55dfe6d
|
Fixed random test failures on AMD64, booleans were being loaded as 64-bit values.
|
2008-10-02 16:30:58 -05:00 |
|
Andreas Gal
|
49de341e4a
|
Fixed more confusion of quads/numbers while emitting LIR (bug 458076, r=danderson).
|
2008-10-01 18:04:39 -05:00 |
|
Andreas Gal
|
8aa08cec2a
|
For GETELEM/SETELEM we must check that its a native object first before trying to compare the objects shape to the shape of the global object to ensure its not aliasing the global object (457979, r=shaver).
|
2008-09-30 20:10:46 -07:00 |
|
Vladimir Vukicevic
|
f761c61b8e
|
TM: move cmov_available setting into nj arch backends where appropriate
|
2008-09-30 17:15:09 -07:00 |
|
Andreas Gal
|
83ea7eb834
|
Merge.
|
2008-09-30 16:35:52 -07:00 |
|
David Mandelin
|
a9fa2e79d8
|
Don't trace a property access with a watchpoint (455413, r=brendan)
|
2008-09-30 13:34:17 -07:00 |
|
Andreas Gal
|
9adad6d33a
|
Merge.
|
2008-09-30 13:02:53 -07:00 |
|
Andreas Gal
|
9c4eefd7ec
|
Fix guarding in case of sparse array setelem (regression from 457580, r=danderson).
|
2008-09-30 13:02:23 -07:00 |
|
David Anderson
|
0804b51ac0
|
Fixed cmp number check logic for 64-bit environments (bug 457129, r=gal).
|
2008-09-30 11:45:00 -05:00 |
|
David Anderson
|
60ff7369b3
|
Fixed global object ownership change not aborting recording (bug 455173, r=gal).
|
2008-09-29 23:55:58 -05:00 |
|
David Anderson
|
75e7abcf38
|
Fixed crash when charCodeAt failed (with NaN) while recording (bug 457795, r=gal).
|
2008-09-29 23:20:34 -05:00 |
|
Brendan Eich
|
11db6aaf1d
|
Always use JSBool (not bool sometimes, JSBool others) as JSVAL_IS_BOOLEAN's native slot type.
|
2008-09-29 22:27:43 -04:00 |
|
Andreas Gal
|
320dd48955
|
Add a resume point (JSOP_RESUME) immediately following JSOP_CALL (457789, r=mrbkap).
|
2008-09-29 18:49:40 -07:00 |
|
Andreas Gal
|
36e0e1fcbf
|
Catch negative indexes at recording time. At runtime the builtins already check for us. Also guard for shape and setters/getters for non-dense integer index setelem case (57580, r=mrbkap).
|
2008-09-28 17:11:47 -07:00 |
|
Andreas Gal
|
5fdd5d2b67
|
Properly handle cmov and sse2 flags, and put them in a central place not into each platform-dependant assembler (457355, r=danderson).
|
2008-09-26 20:39:21 -07:00 |
|
Andreas Gal
|
5cc5fdedb8
|
Merge.
|
2008-09-26 19:21:27 -07:00 |
|
Andreas Gal
|
9960750440
|
Can't use JSVAL_IS_BOOLEAN on trace since boolean type contains undefined (457351, r=brendan).
|
2008-09-26 19:20:52 -07:00 |
|
David Anderson
|
ce71880114
|
Fixed a bug where no shape guard was emitted if a property was not found, causing it to remain unseen if added later. Abort in this case instead. (bug 457171, r=brendan)
|
2008-09-26 19:18:00 -07:00 |
|
Andreas Gal
|
884eabf3d5
|
Cleanup SETELEM, box early (in case we side exit on that) and don't set return value if INITELEM or followed by POP (457336, r=brendan).
|
2008-09-26 17:33:40 -07:00 |
|
Andreas Gal
|
93a292bd90
|
Merge.
|
2008-09-26 14:16:25 -07:00 |
|
igor
|
19701dd91b
|
When replenishing the recovery double pool, detect if a GC happens (follow up work for 456826, r=gal).
|
2008-09-26 14:16:11 -07:00 |
|
Boris Zbarsky
|
fe2220afb1
|
Bug 456165 part 2. Trace Date.now. r=gal
|
2008-09-26 14:37:50 -04:00 |
|
Boris Zbarsky
|
a4b9ae6222
|
Bug 456370. Flush the fragment cache earlier on global shape mismatch. r=gal
|
2008-09-26 14:37:49 -04:00 |
|
Andreas Gal
|
7bb0a663e6
|
Use a pre-allocated pool of doubles to make sure we can safely recover in case of OOM or out of doubles (456826, r=brendan).
|
2008-09-25 19:11:48 -07:00 |
|
Brendan Eich
|
8030ce9609
|
Bug 457130 - TM: regexp lastIndex property not traced correctly (r=danderson).
|
2008-09-25 17:45:14 -07:00 |
|
David Anderson
|
3808521295
|
Workaround for intermittent js_GetClassObject failures (bug 457069, r=brendan).
|
2008-09-25 17:30:01 -07:00 |
|
Brendan Eich
|
9807c189fe
|
Bug 457127 - TM: Crash on digg.com with adblock plus [@ ReconstructPCStack] (r=danderson).
|
2008-09-25 17:05:06 -07:00 |
|
Brendan Eich
|
f875d89fa2
|
Bug 456810 - TM: Crash on digg.com with adblock plus [@ ReconstructPCStack] (r=gal).
|
2008-09-25 15:04:48 -07:00 |
|
Brendan Eich
|
b7841b8cfd
|
Fixed argc < nargs miscount in js_SynthesizeFrame and adjusted a related assertion (bug 456667, r=danderson).
|
2008-09-25 13:12:01 -07:00 |
|
Andreas Gal
|
4be7fad144
|
Merge.
|
2008-09-25 11:32:00 -07:00 |
|
Andreas Gal
|
5b117e1c3f
|
Rewrite and cleanup GETELEM and SETELEM (455748, r=brendan).
|
2008-09-25 11:31:40 -07:00 |
|
Jason Orendorff
|
c35bfc3682
|
Bug 389034 - JS_SetProperty() ends up resolving w/o JSRESOLVE_ASSIGNING (r=brendan, sr=bzbarsky)
|
2008-09-25 11:13:31 -05:00 |
|
Brendan Eich
|
d56e0c688e
|
Back off premature arguments tracing (453730 temporary measure).
|
2008-09-25 08:51:40 -07:00 |
|
Andreas Gal
|
97be5eae89
|
Merge.
|
2008-09-24 23:32:19 -07:00 |
|
Andreas Gal
|
eb5f8be2b1
|
Demote modulo operations to integer if both args are int (456934, r=brendan).
|
2008-09-24 23:28:56 -07:00 |
|
Brendan Eich
|
3238fa4180
|
Bug 456931 - TM: GVAR op record methods use wrong object (r=gal).
|
2008-09-24 23:09:46 -07:00 |
|
Brendan Eich
|
86b3bc3671
|
Bug 456932 - TM: Don't assert that global object can't grow additional properties if none are used by any trace and we don't check for global shape mismatches (r=gal).
|
2008-09-24 23:05:44 -07:00 |
|
Andreas Gal
|
c3ae2f8027
|
Merge.
|
2008-09-24 19:33:04 -07:00 |
|
Andreas Gal
|
f1cdf0fd1c
|
Make sure JSOP_DEFLOCALFUN pushes the right function object (456470, r=brendan).
|
2008-09-24 19:31:51 -07:00 |
|
Brendan Eich
|
ac41d655c4
|
Merge pull from mozilla-central.
|
2008-09-24 18:46:44 -07:00 |
|
Andreas Gal
|
5fdc88e6b7
|
Only fasttrack applys where the arguments array has the same lengths as the expected arguments of the called function (456494, r=brendan).
|
2008-09-24 16:45:27 -07:00 |
|
Andreas Gal
|
e50585b158
|
Merge.
|
2008-09-24 16:32:36 -07:00 |
|
Andreas Gal
|
2bc1ba7a91
|
The meaning of T changed in our builtin table to object-only, so we have to mark the string builtins now with S, instead of T (454682, r=brendan).
|
2008-09-24 16:31:07 -07:00 |
|
Brendan Eich
|
d0645c2e47
|
Bug 456875 - TM: js_SynthesizeFrame must js_GetCallObject if JSFUN_HEAVYWEIGHT (r=mrbkap).
|
2008-09-24 15:43:19 -07:00 |
|
Brendan Eich
|
536e07f808
|
Bug 455146 - TM: Going to NEW Facebook profile page causes crash. [ @FlushNativeStackFrame] (r=danderson,mrbkap).
|
2008-09-24 15:40:08 -07:00 |
|
Andreas Gal
|
619234db4c
|
Back out attempt to invoke natives that return a boxed value (namely push and pop, 453734).
|
2008-09-24 15:18:19 -07:00 |
|
David Anderson
|
a53ee95a20
|
Fixed breaks in switch statements causing premature end-of-traces (bug 456345, r=gal,brendan).
|
2008-09-24 13:12:25 -07:00 |
|
David Anderson
|
ccd5e825b9
|
Fixed jstracer's operator delete leaking out into other shared libraries (bug 452721, r=gal).
|
2008-09-23 18:12:53 -07:00 |
|
Andreas Gal
|
38a8e67fa5
|
Merge.
|
2008-09-23 17:19:02 -07:00 |
|
Andreas Gal
|
958c18fb2a
|
Add builtin for invocation of match() on String objects (454682, r=danderson).
|
2008-09-23 17:18:40 -07:00 |
|
Doug Turner
|
cf6bf884ef
|
Bug 456458 - JS Tracer uses file-system stat structure name - WinCE compile fails. patch by dougt, r=crowder
|
2008-09-23 14:35:29 -07:00 |
|
David Anderson
|
b3141a864c
|
Fix where recording could crash if globalObj->dslots got reallocated (bug 451137, bug 455137, r=gal).
|
2008-09-23 13:29:41 -07:00 |
|
Andreas Gal
|
9ae4f39d64
|
Don't demote dmod to imod since there is no case that is guaranteed to produce valid integer results for all inputs (456540, r=danderson).
|
2008-09-23 12:21:15 -07:00 |
|
Brendan Eich
|
ef1a9b029a
|
JS_snprintf for portability, not snprintf (bustage fix).
|
2008-09-23 00:59:59 -07:00 |
|
Andreas Gal
|
b967b5aec8
|
Use JS_snprintf instead of snprintf which Windows doesn't seem to know about (fix build breakage).
|
2008-09-23 00:58:11 -07:00 |
|
Andreas Gal
|
5054e0003b
|
Don't emit constant guards for switch and ifop (455605, r=danderson).
|
2008-09-22 17:58:25 -07:00 |
|
Andreas Gal
|
d85fc31e85
|
Both sides of a modulo have to be demotable before we can optimize using imod (456477, r=danderson).
|
2008-09-22 17:02:33 -07:00 |
|
David Anderson
|
d1bc6dc0d8
|
Fixed jstracer.cpp no longer building in the browser because of -pedantic.
|
2008-09-22 11:23:22 -07:00 |
|
Boris Zbarsky
|
f1b69640dd
|
Backed out changeset c0364f5e0a84
|
2008-09-21 09:02:09 -04:00 |
|
Boris Zbarsky
|
f068ba4b22
|
Adding missing file
|
2008-09-21 08:59:52 -04:00 |
|
Brendan Eich
|
782b633703
|
Fix bug 455763 (r=me).
|
2008-09-21 01:38:39 -07:00 |
|
Brian Crowder
|
d87b65397b
|
Add a JIT stats object in the shell
|
2008-09-19 22:47:58 -04:00 |
|
Boris Zbarsky
|
4b972f730f
|
Adding test for bug 451605
|
2008-09-19 21:58:00 -04:00 |
|
Andreas Gal
|
da5081c842
|
Properly calculate tree exit/call guards (bug 453397, r=danderson).
|
2008-09-19 18:45:57 -07:00 |
|
Andreas Gal
|
b20918f930
|
Dynamic reconstruction of arbitrary native frames (454402, r=danderson).
|
2008-09-19 16:09:18 -07:00 |
|
Andreas Gal
|
16fbc92e91
|
Backed out changeset 5e4ec981e9ea
|
2008-09-19 12:07:46 -07:00 |
|
Andreas Gal
|
f06affb8ed
|
Allow tree to grow around unbox operations when the type of the value changes (452514, r=danderson).
|
2008-09-18 17:40:46 -07:00 |
|
Andreas Gal
|
9d7afa336a
|
Add support for fast native that return jsval and wire up push/pop (453734, r=mrbkap).
|
2008-09-18 16:53:09 -07:00 |
|
Andreas Gal
|
9908bc1345
|
Merge.
|
2008-09-18 16:08:52 -07:00 |
|
Andreas Gal
|
2c406fe617
|
Add support for JSOP_NOT on strings (451787, r=danderson).
|
2008-09-18 16:04:54 -07:00 |
|
David Anderson
|
b895f26605
|
Fixed trying to record arguments past the formal arg count in JSOP_ARGSUB and JSOP_CALL (bug 455757, r=gal).
|
2008-09-18 15:23:22 -07:00 |
|
David Anderson
|
40d94b8bed
|
Fixed -0 being treated as a promotable unsigned integer (bug 455758, r=gal).
|
2008-09-18 14:19:17 -07:00 |
|
Andreas Gal
|
708f08ca9c
|
Properly handle side exits in scripted constructors (originally mrbkap, r=brendan, 453462).
|
2008-09-18 14:13:37 -07:00 |
|
Andreas Gal
|
f074cc7a9f
|
Cleanup and unify comparison code (455811, r=danderson).
|
2008-09-18 13:31:26 -07:00 |
|
Andreas Gal
|
dab25898eb
|
Don't export operator new/delete except if really needed (452721, r=danderson).
|
2008-09-16 13:57:59 -07:00 |
|
Andreas Gal
|
6de13bab44
|
Merge.
|
2008-09-16 13:24:57 -07:00 |
|
Andreas Gal
|
8ef12c41b5
|
Removed bogus assert (argv is NULL if callee is NULL, assert segfaults, 452495, r=danderson).
|
2008-09-16 13:24:34 -07:00 |
|
David Anderson
|
6dcdb6aeb9
|
Fixed pointer arithmetic bug during trace recording on 64-bit platforms (bug 454981, r=m_kato).
|
2008-09-16 10:48:54 -07:00 |
|
Andreas Gal
|
4f38e736a7
|
Backed out changeset 66a76c8c7346
|
2008-09-16 06:51:33 -07:00 |
|
brendan
|
18c4ef65df
|
Don't forget to set RHS as result in SETPROP in case we don't call either SetPropHit or SetPropMiss (455408, r=gal).
|
2008-09-16 06:26:57 -07:00 |
|
Andreas Gal
|
61aeda1e95
|
Detect modulo by constant that is not zero and demote to integer modulo (451788, r=brendan).
|
2008-09-16 06:20:54 -07:00 |
|