Commit Graph

299 Commits

Author SHA1 Message Date
David Anderson
321ce0dc05 Deep abort recorders outer recorders if we need to flush the JIT cache early (bug 463829, r=brendan,gal). 2008-11-15 18:54:24 -06:00
Brendan Eich
264e667808 Fix bogus assertion left in bug 463334. 2008-11-14 13:17:40 -08:00
Brendan Eich
9cbc195e82 Fix from Ginn Chen <ginn.chen@sun.com> for bug 464645. 2008-11-13 09:10:27 -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
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
Igor Bukanov
31d283c656 bug 464442 - various JSOP_APPLY fixes. r=brendan 2008-11-12 22:42:13 +01: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
Andreas Gal
2a666c87e8 Emit JSOP_APPLY for .call(...) (462445, r=brendan). 2008-10-30 16:01:53 -07:00
Andreas Gal
948aa93d60 Perform Function.apply in the interpreter loop bypassing js_Invoke (462265, r=brendan). 2008-10-29 23:59:19 -07:00
Andreas Gal
4548b3e585 Remove JSOP_UNUSED78 as 78 is now JSOP_APPLY (follow-up for 462209). 2008-10-29 13:43:53 -07:00
Andreas Gal
868e7934a2 Emit JSOP_APPLY for .apply(...) similar to JSOP_EVAL for .eval(...) (462209, r=brendan). 2008-10-29 13:30:41 -07:00
Andreas Gal
25404443ff GC no longer flushes the JIT cache. Instead just make sure the shape of the global object will mismatch next time we try to record or execute code, which in turn will force a flush of the code cache (458288, r=brendan/danderson). 2008-10-28 16:22:08 -07:00
Brendan Eich
bad1b50498 Re-land patch for bug 458851 now that latent bug it uncovered (not filed; see hg log) is fixed. 2008-10-28 14:04:29 -07:00
Jason Orendorff
37724bb378 Backed out changeset d4fe79372140 (bug 458851) due to persistent orange on TraceMonkey tinderboxes. 2008-10-28 10:49:06 -07:00
Brendan Eich
51f987553a Bug 458851 - TM: for-in loops skip every other value in certain cases (r=gal/mrbkap). 2008-10-27 22:30:52 -07:00
Brendan Eich
fcca844194 Bug 461248 - Remove JSOP_RESUME (r=gal/jorendorff). 2008-10-24 12:34:08 -07:00
David Anderson
590d3d2443 Fixed crash from JIT cache flushes when js_Interpret was holding TraceRecorders (bug 458288, r=brendan). 2008-10-24 10:47:59 -07:00
Jason Orendorff
e1877796ba Bug 460501 - Round-trip change due to "&&" constant-folding leaving extra parens. r=brendan. 2008-10-21 13:35:22 -05:00
Brendan Eich
85afb14a56 Bug 460116 - buggy inCond propagation in js_FoldConstants (r=jorendorff). 2008-10-15 14:02:33 -07:00
Blake Kaplan
54cdbe81ec Merge mozilla-central -> tracemonkey 2008-10-13 11:05:05 -07:00
Blake Kaplan
665c19d6ac Bug 458355 - ecma_3/Operators/11.4.1-002.js fail; r=brendan 2008-10-13 19:02:43 +02:00
Andreas Gal
6c4c7256a5 Merge. 2008-10-09 16:17:53 -07:00
Andreas Gal
9a086f63ae Don't carry around oldpc in AbortRecording path (459321, r=danderson). 2008-10-09 16:17:13 -07:00
Jason Orendorff
319f102472 Bug 459141 - Rename JSTN_{CATCH,FINALLY,ITER} to JSTRY_*. r=brendan. 2008-10-09 12:10:17 -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
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
Brendan Eich
6809989bde Bug 455973 - TM: "Assertion failure: !cx->throwing" with getter that throws (r=mrbkap). 2008-10-06 20:57:38 -07:00
Andreas Gal
83ea7eb834 Merge. 2008-09-30 16:35:52 -07:00
Andreas Gal
1163c91b59 Don't trace empty for-in loops (457335, r=brendan). 2008-09-29 22:22:40 -07:00
Andreas Gal
d0ca373339 Follow-up work for 457789, emit JSOP_RESUME after JSOP_NEW as well (r=brendan). 2008-09-29 21:30:02 -07: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
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
Andrei Saprykin
6f45d79b4b bug 444979 - fixing JSOP_TABLESWITCH to treat -0 as 0 2008-09-25 15:18:41 +02: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
d9b970f735 Fix warning. 2008-09-24 18:50:46 -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
Brendan Eich
c184542b3b Bug 453024 - Mochitest Assertion failure: vp + 2 + argc <= (jsval *) cx->stackPool.current->avail, at jsinterp.cpp:1066 (r=igor/mrbkap). 2008-09-24 02:10:47 -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
708f08ca9c Properly handle side exits in scripted constructors (originally mrbkap, r=brendan, 453462). 2008-09-18 14:13:37 -07:00
Brendan Eich
fddc6e36b3 [mq]: bug455408 2008-09-17 06:13:27 +01:00
Brendan Eich
68172b5938 Bug 453411 - "Assertion failure: !cx->onTrace" with yield string (r=gal). 2008-09-16 14:00:02 +01:00
Brendan Eich
a834957775 TraceRecorder::record_SetPropMiss mis-layered on top of record_SetPropHit (454689, r=mrbkap). 2008-09-11 15:53:00 -07:00
Blake Kaplan
bcd1f7f97d Fix bustage -- these macros are only defined if the tracer was enabled. 2008-09-10 00:12:26 -07:00
Blake Kaplan
88856d9ef1 Merge tracemonkey -> mozilla-central 2008-09-09 23:38:21 -07:00
Brendan Eich
ce15bc7cd3 Bug 454039 - TM: don't abort TraceRecorder::record_JSOP_SETPROP on cache miss (r=mrbkap). 2008-09-09 22:22:52 -07:00
Brendan Eich
7d5c49516c Back out patch for bug 454039. 2008-09-09 16:55:07 -07:00