Commit Graph

2276 Commits

Author SHA1 Message Date
Luke Wagner
a1a73dd94d Bug 551276 - a more type-safe way to zero memory (r=Waldo)
--HG--
extra : rebase_source : fc5564c34cde6490a1d3b48a16a451f7e50c052a
2010-03-10 15:34:12 -08:00
David Anderson
6d584e62ed Clean up useless variables/params in the tracer. (bug 551100, r=lw) 2010-03-09 18:52:56 -08:00
Jeff Walden
106fbd8085 Bug 548702 - Temporary value-rooting scheme should be C++- and RAII-based, not macro-based. r=igor
--HG--
extra : rebase_source : c7bb34662dbd70df49d40880227139537c60356e
2010-01-11 11:52:21 -06:00
David Anderson
b8e9325d42 Trace recursion when the return keyword is omitted (bug 530900, r=gal). 2010-03-08 10:28:08 -08:00
Nicholas Nethercote
3e03ef3a42 Bug 550796 - TM: remove dead ImportGlobalSlotVisitor class. r=lw. 2010-03-08 16:11:59 +11:00
Nicholas Nethercote
f7c713fc2d Bug 550654 - TM: removed dead 'inner_sp_ins' variable. r=dvander. 2010-03-08 08:09:35 +11:00
Igor Bukanov
9d1cbd468c bug 549010 - folowup to replace PROTO access macros with the inlne function 2010-03-04 23:52:52 -08:00
Mike Moening
0373a2437d bug 549010 - fixing and silencing MSVC warnings. r=brendan,igor 2010-03-04 20:44:09 -08:00
Robert Sayre
5cf27a725e Merge tracemonkey to mozilla-central. 2010-03-26 15:53:14 -07:00
David Anderson
487814a4c4 Removed initializing inparam from TraceRecorder::set. (bug 549727, r=luke) 2010-03-02 14:04:50 -08:00
Luke Wagner
27eed6e277 540706 - Small record_EnterFrame simplification (r=dvander) 2010-03-02 12:56:48 -08:00
Brendan Eich
fe7558946d Bug 549531 - fix strict aliasing warnings about scopeChain (also clean trailing whitespace; r=dmandelin). 2010-03-02 11:03:04 -08:00
Nicholas Nethercote
c8a754a27d Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Nicholas Nethercote
40e2a10ebf Bug 542932 - nanojit: make opcode range checks safer (TM-specific part). r=gal. 2010-03-01 12:16:38 +11:00
Igor Bukanov
62a7855349 bug 515812 - less vebose enumerastion. r=lw 2010-02-26 12:11:50 -08:00
Jason Orendorff
ad75218737 Bug 539170 - Encapsulate JSScopeProperty::{getter,setter} and move assertions to init-time. r=Waldo. 2010-02-24 17:40:28 -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
David Anderson
c99331c609 Better fix for recursion and let blocks (bug 547791, r=gal). 2010-02-23 16:14:34 -08:00
Luke Wagner
06cc81805b Bug 545165 - fix/simplify JSOP_CONCATN (r=jorendorff) 2010-02-19 19:22:37 -08:00
David Anderson
980a86ab4c Fixed crash in GetPropertyByName (bug 547299, r=dmandelin). 2010-02-22 13:45:06 -08:00
Igor Bukanov
debaa592f7 bug 545529 - caching Class.prototype lookups. r=brendan 2010-02-19 20:44:23 +03:00
Nicholas Nethercote
2631a1b7cf Bug 539874 - nanojit: remove LIR_ov (TM-specific part). r=gal. 2010-02-19 15:12:37 +11:00
Gregor Wagner
dc4711d401 BUG 545303: TM: non API function for JS_CallTracer r=igor 2010-02-18 13:16:02 -08:00
Luke Wagner
a65ea12a40 Bug 546545 - don't trace slow natives with fun->u.n.extra > 0 (r=dvander) 2010-02-17 14:19:43 -08:00
Luke Wagner
87a5e61db3 Bug 546491 - fix tracevis (r=jorendorff) 2010-02-16 13:41:40 -08:00
Nicholas Nethercote
fbc5612f2e Bug 542133 - Add a real NJConfig struct to nanojit (TM-specific part). code=stejohns, r=nnethercote. 2010-02-16 15:07:14 +11:00
Nicholas Nethercote
b6f1f05d74 Backed out changeset 3c673457c90b for bug 507089 due to mysterious Windows bustage. 2010-02-15 17:28:56 +11:00
Nicholas Nethercote
3489265cdf Bug 507089 - TM/nanojit: introduce get/set methods for CallInfo::_argtypes (TM-specific part). r=jorendorff. 2010-02-15 11:12:08 +11:00
Luke Wagner
3fe7890b44 Remove JS_CEILING_LOG2 from HashTable::init() 2010-02-13 12:02:12 -08:00
Luke Wagner
f8096c6b67 Try 784ceadd60e5 again with more #pragma optimize("", off) 2010-02-06 10:14:05 -08:00
Nicholas Nethercote
84b6acf958 Bug 542326 - nanojit: add NJ_SOFTFLOAT_SUPPORTED, and only compile in support for non-universal opcodes on platforms that use them (TM-specific part). r=stejohns. 2010-02-12 12:41:50 +11:00
Jason Orendorff
095bd890ef Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Brendan Eich
83e657d499 Fix orange in wake of patch for bug 542002. 2010-02-10 18:58:49 -08:00
Nicholas Nethercote
0f6e815ee6 merge 2010-02-11 11:44:38 +11:00
Nicholas Nethercote
4f4d8ad70e Bug 543401 - nanojit: merge SoftFloatFilter implementations (TM-specific part). r=gal. 2010-02-11 11:16:50 +11: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
Luke Wagner
fda9474440 Backout 784ceadd60e5 until PGO stops crashing 2010-02-08 10:28:07 -08:00
Luke Wagner
22b7692a6a Bug 515812 - Double hashing template (r=jorendorff) 2010-02-06 10:14:05 -08:00
David Anderson
611cf1768b Fixed tracker usage not protecting against certain state changes (bug 541830, r=lw). 2010-02-05 13:28:50 -08: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
Nicholas Nethercote
ccbdfa7a38 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote. 2010-02-05 12:40:04 +11:00
Vladimir Vukicevic
b363012434 b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 2, tracing; r=gal 2010-02-04 16:36:33 -08:00
Vladimir Vukicevic
c33756956c b=542402; add FLOAT64 to typed arrays; r=jorendorff 2010-02-04 15:31:40 -08:00
Jeff Walden
7e68c64269 Bug 543097 - Precompute the prototype when evaluating function expressions and regular expression literals on trace, rather than (slowly) looking it up every time. r=jorendorff
--HG--
extra : rebase_source : d023ded17937248bdfb23705e7477918b111746f
2010-02-01 17:20:37 -08:00
Igor Bukanov
f74b35769d bug 538463 - caching only single-threaded objects. r=jorendorff 2010-02-03 13:42:07 +03:00
Igor Bukanov
008691b6f9 Backed out changeset b9700adc3951 - the landing for the bug 538463 had wrong changes 2010-02-03 13:37:56 +03:00
Igor Bukanov
7aafadcc76 bug 538463 - caching only single-threaded objects. r=jorendorff 2010-02-03 12:46:10 +03: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
Brendan Eich
c42c170a64 Cleanup pass on bug 543119 (r=vlad). 2010-02-01 15:50:30 -08:00
Luke Wagner
7714144859 Bug 535656 - remove JSStackFrame::dormantNext and varobj (r=waldo) 2010-01-29 18:25:16 -08:00
Vladimir Vukicevic
ac27cfa766 b=543119; typed array tracing should be more const than it is; r=gal 2010-01-29 23:03:59 -08:00
Nicholas Nethercote
247420b724 Bug 540368 - nanojit: split LIR_qlo, LIR_live and LIR_ret into two opcodes each to faciliate LIR type-checking (TM-specific part). r=dvander. 2010-01-28 09:43:36 +11:00
Nicholas Nethercote
6478f53e9b Bug 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote. 2010-01-28 09:41:07 +11:00
Vladimir Vukicevic
10bddbda2d b=542395; really enable typed array tracing and support JSOP_LENGTH; r=gal 2010-01-26 21:45:11 -08:00
Luke Wagner
4040498e00 Fix ARM bustage, part deux 2010-01-26 04:41:00 -08:00
Nicholas Nethercote
8498d179bc Bug 541886 - nanojit: move compile() into class Assembler (TM-specific part). r=dvander. 2010-01-26 14:06:13 +11:00
Vladimir Vukicevic
dbeceb07e7 b=533659; tracing support for JS typed array types; r=gal 2010-01-25 17:06:36 -08:00
Nicholas Nethercote
126997f7d4 Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64() (TM-specific part). r=dvander. 2010-01-25 08:50:38 +11:00
Luke Wagner
b41eed1718 Fix ARM bustage 2010-01-22 16:15:24 -08:00
Luke Wagner
2645ecd2da Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff) 2010-01-22 14:49:18 -08:00
Nicholas Nethercote
31c3c6d825 Bug 463137 - TM/nanojit: type-check LIR (TM-specific part). r=jseward. 2010-01-22 13:41:24 +11: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
9ecc414758 Bug 538538 - lirasm: don't run the optimizers, except when using --random (TM-specific part). r=graydon. 2010-01-18 09:47:31 +11:00
David Anderson
f7e545e0f1 Fixed x64 assertion in tracing JSOP_LENGTH on arguments (bug 539965, r=dmandelin). 2010-01-15 12:05:01 -08: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
Jason Orendorff
a37f4974e2 Bug 539553 - Correctness regression on the r-tree benchmark. r=dmandelin. 2010-01-14 18:23:05 -06:00
Brendan Eich
281fe2cb29 Another followup for 536564, assertion fix. 2010-01-14 15:32:29 -08: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
Vladimir Vukicevic
37cc5c283f Backed out changeset fea4da580994 -- need to split LIR_f2i into nj-central and tm patches 2010-01-11 21:54:02 -08:00
Vladimir Vukicevic
373168d7d3 b=523251; add LIR_f2i; r=gal 2010-01-11 21:41:20 -08:00
Brendan Eich
a17ec0f3aa Bug 538593 - guardClass always does a JS_snprintf even though it usually doesn't use the result (r=dvander). 2010-01-11 18:48:08 -08:00
Nicholas Nethercote
be42ab0516 Bug 538484 - TM: generating bogus "ov ld1" sequence. r=nnethercote. 2010-01-08 14:25:36 +11:00
David Anderson
3996e3ac0d Make sure trace native stack is 16-byte aligned (bug 534590, r=lw). 2010-01-07 17:20:00 -08:00
Brendan Eich
3cf53a31d6 Bug 513291 - JSOP_INITPROP should insist obj has own scope (JSOP_NEWINIT knows to do this; r=jorendorff). 2010-01-07 11:47:16 -08:00
Nicholas Nethercote
35c7cbbb81 Bug 520714 - nanojit: distinguish 64-bit int and float loads/stores (TM-specific part). r=gal. 2010-01-05 15:14:53 +11: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
2d8255bc72 Backout merge 2009-12-31 15:19:24 -08:00
David Mandelin
ca387b3441 Backed out changeset 107fc2833733 due to talos-v8 failure 2009-12-31 15:18:34 -08:00
Robert Sayre
a674f83e07 merge mozilla-central to tracemonkey. 2009-12-31 12:35:57 -05:00
Brendan Eich
45c0afef62 Merge. 2009-12-30 13:50:31 -08:00
Brendan Eich
398f5f3b9b Bug 537204 - No more BOGUS_CX bogosities (r=jwalden). 2009-12-30 13:49:26 -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
Robert Sayre
0ebb9c1370 Merge tracemonkey to mozilla-central. 2010-05-06 08:50:41 -04:00
Jason Orendorff
afeaf2a57a Bug 563735 - Assertion failure: JS_IS_SCOPE_LOCKED(cx, scope) on crashtest machine. r=dvander. 2010-05-04 14:57:27 -05:00
David Mandelin
aa16e435ea Bug 554670: abort tracing on out-of-range args element read 2010-04-08 17:11:41 -07:00
Robert O'Callahan
796c20d53c Backed out changeset 0923925b4b8f 2010-03-05 21:13:58 +13:00
Vladimir Vukicevic
de69534814 b=550351; don't abort recording when accessing out of range typed array element (return undefined instead); r=dvander 2010-03-04 16:49:31 -08:00
Vladimir Vukicevic
e86557b1a2 b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz 2010-03-03 16:40:27 -08:00
Robert O'Callahan
a976e4bcd0 Backed out changeset 1672d4c79e82 2010-03-04 17:50:28 +13:00
Vladimir Vukicevic
42ec90deac b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz 2010-03-03 16:40:27 -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
Andreas Gal
2943a7a949 Bug 474500 - TM: Need an API to flush and (optionally?) deallocate the code cache per thread. 2009-12-28 09:46:50 -08:00
Andreas Gal
446ede1cce Fixed recent softfloat filter regression (bug 535957, r=dvander). 2009-12-23 14:01:10 -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
Robert Sayre
51f333193a Merge mozilla-central to tracemonkey. 2009-12-22 09:46:30 -05: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
Benjamin Smedberg
f92278ab68 Backed out changeset 94561cb0f0bd, bug 474500 because of static-analysis bustage. 2009-12-21 09:55:45 -05:00
gal@uci.edu
d8d110c024 Bug 474500 - TM: Need an API to flush and (optionally?) deallocate the code cache per thread. r=dvander 2009-12-18 21:34:20 -05:00
Andreas Gal
8015385480 Backed out changeset 94ddd33fc137 to see whether that makes the tree green. 2009-12-17 17:43:40 -08:00
Andreas Gal
4c8dc43072 Efficient Implementation of JSDOUBLE_IS_INT using SSE2 (original patch by Moh Haghighat/Intel, bug 530896, r=dvander) 2009-12-17 14:03:45 -08:00
David Anderson
2098f14d9f Fixed regression where lazy imports could happen in JSOP_ARGUMENTS conditional branch (bug 535474, r=gal). 2009-12-16 18:58:47 -08:00
Robert Sayre
e7f09943fc Merge. 2009-12-15 22:35:15 -05:00
Robert Sayre
fa15ebcadc Backed out changeset eae07941000e. Andreas Gal — Efficient Implementation of JSDOUBLE_IS_INT using SSE2 (original patch by Moh Haghighat/Intel, bug 530896, r=dvander). 2009-12-15 22:34:35 -05:00
Jacob Bramley
ce3c3571e2 Cleaning out the rubbish I left when I backed out a previous patch. 2009-12-14 11:29:31 +00:00
Jacob Bramley
708810413f Backing out my previous commit; this should have gone into nanojit-central. 2009-12-14 10:34:45 +00:00
Brendan Eich
be1555ec1c Remove sporadic else after return (534364 followup). 2009-12-13 09:04:46 -08:00
Andreas Gal
79103c3e59 Eliminate call snooping in the FuncFilter (534364, r=dvander). 2009-12-11 19:48:14 -08:00
David Anderson
e72392a667 Lazily import stack and global slots (bug 515749, original patch and r=gal). 2009-12-11 19:10:36 -08:00
David Anderson
ab7755c33a Merge backout. 2009-12-11 17:40:26 -08:00
David Anderson
92b5f85351 Backed out changeset 783ce7ce6ed7 (possible orange). 2009-12-11 17:40:06 -08:00
David Anderson
7ef11f37b8 Fixed rare case of not connecting trees properly when missing globals are involved (bug 531513, r=gal). 2009-12-11 12:26:08 -08:00
David Anderson
6b623c4292 Fixed recursion not tracing when hitting JSOP_STOP instead of JSOP_RETURN (bug 530900, r=gal). 2009-12-11 12:17:58 -08:00
David Anderson
d9a16641ee Fixed CASE_EXITs being limited to about 4 entries (bug 533521, r=gal). 2009-12-11 12:10:36 -08:00
Nicholas Nethercote
efbef88690 Bug 504507 - nanojit: kill LIR64 (TM-only part). r=gal. 2009-12-09 15:57:12 -08:00
David Anderson
d8eaacf13f Fixed loops ending in JSOP_GOTO not compiling properly (bug 533042, r=gal). 2009-12-08 11:15:34 -08:00
Nicholas Nethercote
771c4639e9 Bug 533233 - nanojit: get rid of LC_NoCodeAddrs (TM-specific part). r=edwsmith. 2009-12-08 08:04:57 -08:00
Jacob Bramley
e32598eceb Bug 521161: Re-enable LIR_mul speculation for ARM. (r=gal) 2009-12-08 13:15:50 +00:00
Nicholas Nethercote
03809b83a9 Bug 528857 - nanojit: mismanagement of name lifetimes with TMFLAGS=assembly? r=graydon. 2009-12-07 21:06:41 -08:00
Andreas Gal
3ded1d4c80 Efficient Implementation of JSDOUBLE_IS_INT using SSE2 (original patch by Moh Haghighat/Intel, bug 530896, r=dvander). 2009-12-05 12:46:46 -08:00
David Anderson
51a679002f Fix scope chain traversal with let blocks (bug 523793, r=dmandelin,mrbkap). 2009-12-04 23:05:47 -08:00
David Anderson
8fb72a7a12 Get rid of TreeInfo and inline its members into TreeFragment (bug 525371, r=gal,lw) 2009-12-04 19:59:55 -08: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
Boris Zbarsky
49f81f2fb2 Bug 532847. Can't assert that sprop has a shortid in callProp/setCallProp until we know the prop is special. r=brendan 2009-12-04 01:08:22 -05:00
Boris Zbarsky
b811feadbc Bug 532477 followup to fix bustage. 2009-12-03 23:10:08 -05:00
Boris Zbarsky
834d8db5e4 Bug 532477. Replace js_SetCallArg/js_SetCallVar with hand-crafted LIR in the common easy case of a Call object whose frame is no longer active at record time. r=dmandelin,brendan 2009-12-03 23:03:47 -05:00
Boris Zbarsky
fb6fe53972 Bug 530255. Replace GetFromClosure/GetClosureVar/GetClosureArg with hand-crafted LIR in the common easycase of a Call object whose frame is no longer active at record time, and make GetFromClosure use a direct read from the object's dslots if we discover that the frame became inactive between record and trace. r=dmandelin,brendan 2009-12-03 23:03:46 -05:00
Brendan Eich
f9a0ec438d Bleah. 2009-12-03 19:47:53 -08:00
Brendan Eich
7bfac5769d Add JSOP_ENUMELEM to gigundo-assert in LeaveTree (532787, r=me). 2009-12-03 19:47:19 -08:00
Boris Zbarsky
5319ea360b Bug 532823 followup. Fix where we add the 3+fp->argc. r=brendan 2009-12-03 22:43:13 -05: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
David Mandelin
90477b6487 Bug 530489: don't (incorrectly) trace custom equality ops, r=jorendorff 2009-12-03 13:02:36 -08:00
Boris Zbarsky
2e2e3eeb0c Bug 521423. Make JSString 4 words instead of 2; make substring() and company never have to copy. r=brendan 2009-12-03 14:39:42 -05:00
Brendan Eich
05f85209b1 Trace JSOP_ENUMELEM, for the group-assignment special case of destructuring assignment (532043, r=gal). 2009-12-02 21:50:04 -08:00
David Anderson
b7f7a14f13 Backed out changeset 0082849624a5, potential orange. 2009-12-01 16:32:45 -08:00
David Anderson
c80f627585 Remove TreeInfo (bug 525371, r=lw). 2009-12-01 13:32:02 -08:00
Robert Sayre
8dac81dafc Merge 2009-12-01 15:51:22 -05:00
Robert Sayre
4ea539c658 Relanding: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). Backed out changeset ee7bfc1923ad 2009-12-01 15:49:15 -05:00
Robert Sayre
8be5b171b9 Backed out changeset c03ebf340688. Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-12-01 09:56:16 -05:00
Robert Sayre
5d34830070 Backout bug 473228 and its follow-up, temporarily, to attempt a clean merge of other stuff. 2009-12-01 09:57:20 -05:00
Nicholas Nethercote
2ea546e6fd Bug 531224 - TM: associate JS source locations with fragments properly. r=graydon. 2009-11-26 13:52:22 -08:00
Nicholas Nethercote
4437c0eac2 Bug 531165 - TM: move SoftFloatFilter upstream of CseFilter. r=gal. 2009-11-25 19:10:34 -08:00
Igor Bukanov
4f0dd855b8 bug 528116 - scope chain lookup fix when recording an eval script. r=dmandelin 2009-11-25 21:16:06 +03:00
Nicholas Nethercote
e97530faf2 Bug 512181 - nanojit: rework TMFLAGS=assembly,regalloc,activation (the TM-specific part only, which is independent of the NJ-specific part). r=graydon. 2009-11-24 22:42:16 -08:00
Brendan Eich
c731045c51 Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-11-20 16:14:42 -08: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
Andreas Gal
363350c1f9 I will get it right one of these days (hotfix for 484627). 2009-11-23 22:11:21 -08:00
Andreas Gal
e6b8d3b25c Hotfix for 484627 for 64-bit systems. 2009-11-23 21:49:53 -08:00
Andreas Gal
87fd2f16f4 Inline js_CallTree (484627, r=dvander). 2009-11-23 19:02:49 -08:00
Andreas Gal
ab1febc2c0 Stop passing a useless NULL argument to fragment->code() (530700, r=dmandelin). 2009-11-23 17:16:30 -08:00
Andreas Gal
574e4cf9f2 Properly reject new arrays with negative length (530617, r=jwalden). 2009-11-23 16:09:02 -08:00
Robert Sayre
33427c24cd Merge mozilla-central to tracemonkey. 2009-11-19 01:21:34 +01:00
Brendan Eich
b2fde2a964 Fix method barrier not to brand, period (branding withou reshaping is worse, branding correctly is unnecessary; 524826, r=jorendorff). 2009-11-18 13:47:06 -08:00
Jason Orendorff
cd32782f94 Bug 505523 - Property cache can skip JSClass::resolve or JSClass::addProperty hooks. r=graydon, r=brendan.
--HG--
extra : rebase_source : a77b0e81203010aabe07b92b639762dce83200c0
2009-11-18 14:29:58 -06: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
David Anderson
003e66b4ad Use INS_CONSTOBJ instead of INS_CONSTWORD for kshape guard (bug 528048, r=gal). 2009-11-16 18:44:58 -05:00
Luke Wagner
e00c281f26 Bug 528870 - fix double-slurping rebase error (r=dvander) 2009-11-16 10:14:57 -08:00
Nicholas Nethercote
8b890f0ae6 Bug 465582: the TM-specific part. r=dvander. 2009-11-16 10:03:30 +11:00
Luke Wagner
12ec57f335 Bug 520636 - sideExits holds dangling pointer on failed compilation (r=dvander) 2009-11-13 15:47:08 -08:00
Luke Wagner
931c1a14c6 Quiet the hounds of JS_REQUIRES_STACK 2009-11-13 15:24:25 -08:00
Luke Wagner
5edaaf4c39 Bug 517174 - trace js_Invoke calls from natives (r=dvander) 2009-11-12 18:34:24 -08:00
Andreas Gal
ac3a0faa92 Remove reserve doubles and objects lists and instead waive the GC quota to avoid failing in LeaveTree (508140, r=dvander). 2009-11-12 16:01:56 -08:00
David Anderson
88c1b301bc Backed out changeset 193b41b37d17 2009-11-11 23:03:17 -08:00
David Anderson
d9058229c3 Don't guard on scope chains that have a call object and a block object (bug 523793, r=brendan,dmandelin). 2009-11-11 19:22:32 -08:00
Luke Wagner
fcbd8df95a Bug 527147 - flat lambdas' parents differ between recording and trace (r=dmandelin) 2009-11-09 10:57:39 -08:00
David Mandelin
5ee0760ca7 Bug 519363 debugging followup: strip diagnostic instrumentation, r=lw 2009-11-09 16:57:47 -08:00
David Mandelin
f381a3d5ed Bug 525028: don't set args object properties from trace, r=dvander 2009-11-09 15:36:41 -08:00
Jeff Walden
e7b84ff7fb Bug 504078 - Always guard on the class of iterator objects, not just when the iterator object is native at record time. r=brendan
--HG--
extra : rebase_source : 018075a7776016733ca9d91f79b76fa54a84bad3
2009-11-05 23:41:37 -08:00
Graydon Hoare
1754a299bc Bug 526755 - abort rather than flush on oversized global object, r=dvander. 2009-11-06 16:34:17 -08:00
Graydon Hoare
0364912eff Bug 526755 - avoid slow leak in reTempAlloc, r=dvander. 2009-11-05 18:36:35 -08:00
David Anderson
db7ed2cb48 Reorganized the fragment class hierarchy (bug 524620, r=gal). 2009-11-05 15:04:54 -08:00
Luke Wagner
909f99b378 Bug 526356 - invalid debug memset of global native frame in ExecutreTree (r=dvander) 2009-11-03 15:22:48 -08:00
Luke Wagner
7e9e13723a Bug 525120 - move native stack off the C stack (fixes native global frame alignment) (r=dvander)
--HG--
extra : rebase_source : 88fd7104fd77507c7c6ffd3dd0464cc6954f90c0
2009-10-28 16:44:44 -07:00
Jacob Bramley
357496b516 Rolling back changes that should have gone into nanojit-central. 2009-11-02 10:05:09 +00:00
Jacob Bramley
12af34360e Make LIR_ov work for LIR_mul on ARM. (bug 521161, r=gal) 2009-11-02 09:35:01 +00:00
David Anderson
28f5537f28 Fixed assert failure in TraceRecorder::setCallProp (bug 522570, r=dmandelin). 2009-10-30 17:23:29 -07:00
Andreas Gal
0587fde91b Use reserve double pool when running into OOM in LeaveTrace (523947, r=dvander). 2009-10-28 15:32:40 -07:00
Igor Bukanov
0d38a472cc bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-28 14:57:31 +03:00
Ben Combee
b832a6a72f Bug 510052 - JS fails to build in debug config in scratchbox. r=vlad 2009-10-27 13:48:06 -07:00
Igor Bukanov
8785797ba7 Backed out changeset 14c76164f4c2 - patch for bug 524346 caused test fails 2009-10-27 19:21:47 +03:00
Igor Bukanov
ed4f6edf7f bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-27 13:26:57 +03:00
David Anderson
ab74b2ff81 Added calleValue()/calleObject() inline helpers to JSStackFrame (bug 512371, r=brendan). 2009-10-26 17:28:56 -07:00
Luke Wagner
fe59499ad3 Bug 523515 - pretty up TraceRecorder (r=dvander) 2009-10-26 13:06:17 -07:00
Brendan Eich
02c0dc3df2 Factor jsscopeinlines.h out, clean up #include order (524267, r=gal/jorendorff). 2009-10-26 13:39:39 -07:00
Nicholas Nethercote
684ab28f88 Bug 522612 - TM: kill new skips-with-payloads. r=graydon. 2009-10-26 10:39:44 +11:00
Graydon Hoare
545839b15a Bug 522591 - Followup fix for opt builds, r=burningtree. 2009-10-23 15:32:19 -07:00
Graydon Hoare
c287bc3151 Bug 522314 - Make x86 virtual stack pointer code optional, g=gal.
--HG--
extra : rebase_source : c0feec3b6f94580fab0e8569a817bf36db7ed1ab
2009-10-23 13:46:09 -07:00
David Anderson
136174c2cb Fixed JSOP_SETELEM+JSOP_POP pairs using wrong stack depth on deep bail (bug 519244, r=brendan). 2009-10-23 14:34:07 -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