Commit Graph

538 Commits

Author SHA1 Message Date
Graydon Hoare
7ae3eb245d Bug 510104 - NJ: fix arm merge fallout, r=gal.
--HG--
extra : rebase_source : e739a12da66e0d65171bb5c2e3c09f98431ddf7c
2009-08-12 17:45:08 -07:00
Edwin Smith
83930e09a2 Bug 510095 - allocate LirBuffer with Allocator instead of GC, don't extend GCFinalizedObject, r=gal.
--HG--
extra : rebase_source : 42aa431e0d795351860f0794ea0392e1f663132b
2009-08-04 15:03:34 -04:00
Edwin Smith
ad06720f03 Bug 510078 - Convert LirNameMap to HashMap<> and Allocator, r=gal.
* * *
Don't allocate CodeAlloc with GC and dont extend GCFinalizedObject (bug 506390 r=tharwood+)

* Change PageMgr::CodeAlloc from pointer to embedded instance.
* Assembler takes CodeAlloc& now, like it already does for Allocator&
* PoolObject.cpp|h now use VMCFG_NANOJIT instead of (deprecated) FEATURE_NANOJIT
  (both #defines are equivalent)

--HG--
extra : rebase_source : 90847a654d7f669a4c2ac364dd9aae7be38cae77
2009-08-04 14:18:38 -04:00
Edwin Smith
3967b233d5 Bug 510036 - Convert LabelMap to HashMap<> and Allocator, r=gal.
--HG--
extra : rebase_source : 4f1385922085fe086084c418aa22dcc4cc4c1961
2009-08-04 13:56:48 -04:00
Edwin Smith
9c489db37c Bug 509893 - Convert NInsList to SeqBuilder<> and Allocator, r=gal.
--HG--
extra : rebase_source : ca2b073138301d78829fa1096e0cb3da607073de
2009-08-04 13:21:15 -04:00
Edwin Smith
7de6b2bc04 Bug 509890 - Convert InsList to SeqBuilder<> and Allocator, r=gal.
--HG--
extra : rebase_source : 22303e739a0a6669c634595149028872aa7bd334
2009-08-04 13:11:53 -04:00
Edwin Smith
3a5203b81c Bug 509885 - Convert NInsMap to Allocator, r=gal.
--HG--
extra : rebase_source : 3586f950b5698052af74081f8f986f32dc57fa68
2009-08-04 11:06:46 -04:00
Graydon Hoare
77e519e3e4 Bug 509883 - Grab bag of formatting churn, r=gal.
--HG--
extra : rebase_source : 05d7b651a381a9e5daca47a2140bd6f1b1154a5b
2009-08-04 11:33:14 -04:00
Edwin Smith
a65666cc5a Bug 509856 - convert LabelStateMap and RegAllocMap to Allocator based containers, r=gal. 2009-08-04 10:48:48 -04:00
Edwin Smith
6652a33cf1 Bug 509833 - Convert live() analyzer to Allocator, r=gal. 2009-08-04 10:18:25 -04:00
Edwin Smith
1913010941 Bug 509818 - Replace StringList with SeqBuilder<char*>, use Allocator, r=dvander. 2009-08-04 09:54:47 -04:00
Edwin Smith
b21d256eb9 Bug 509634 - Add new Allocator-friendly containers, r=dvander.
--HG--
extra : rebase_source : 9d85c87d2c12729873ad5af330edd2495d590d79
2009-08-04 09:31:29 -04:00
Edwin Smith
74be99c7ff Bug 509609 - Don't allocate CodeAlloc with GC and dont extend GCFinalizedObject, r=dvander. 2009-08-04 14:53:56 -04:00
Edwin Smith
186c032f2a Bug 509598 - Remove dead nanojit::CseFilter and LInsHashSet::replace, r=dvander.
--HG--
extra : rebase_source : ec7d125901bb032ad0dc5d7021070181bf8cde3d
2009-08-03 15:45:01 -04:00
Edwin Smith
a81fcd433a Bug 509596 - Remove some dead code, r=dvander.
--HG--
extra : rebase_source : 9d5ff6c6900b3befce2f6b6bf13d02a582f4a35d
2009-08-03 15:18:55 -04:00
Graydon Hoare
3dd52407c3 Bug 509586 - More VMPI insulation, r=jorendorff.
--HG--
extra : rebase_source : 0b468edd0ee08afe59fa9e7202ad3e96024f0371
2009-08-10 17:10:25 -07:00
Graydon Hoare
114f8d3c01 Bug 507302 - more whitespace fixes, r=nnethercote.
--HG--
extra : rebase_source : 7d208da8eabd76f66cfe323b5b598f45130299c6
2009-07-29 16:21:40 -07:00
Edwin Smith
10163c0cd1 Bug 507042 - class BitSet doesn't need GC support, r=dvander.
--HG--
extra : rebase_source : ad1835e60e926a8cdb570711b9deec0e1c40ead1
2009-07-08 16:21:55 -04:00
Edwin Smith
2c7e0812af Bug 507039 - Remove _startingIns from Assembler, r=nnethercote.
--HG--
extra : rebase_source : f4f5451a94fa60bb8059688bd64a6638e69a32c7
2009-07-23 13:46:44 -04:00
Edwin Smith
59e1ebda37 Bug 507036 - Move valgrind icache-flush notification to CodeAlloc, r=dvander.
--HG--
extra : rebase_source : 7815a2cd0699aff603e96bb05eae04c27d504578
2009-07-23 11:55:57 -04:00
Edwin Smith
e299aec675 Bug 507031 - Replace use of avmplus:String with Allocator and char* in nanojit::LabelMap and LirNameMap, r=dvander.
--HG--
extra : rebase_source : 3c59dc7bff1ece5ac282da9b0cb8820674345684
2009-07-15 12:34:17 -04:00
Graydon Hoare
b8154cc364 Bug 504462 - Merge tamarin's CodeAlloc into tracemonkey, r=gal. 2009-07-15 16:50:01 -07:00
Jacek Caban
5da4c824d2 Bug 505123 - js3250.dll linking fails on MinGW on fastcall inline functions, a=jacek, r=graydon. 2009-08-06 13:40:05 -07:00
Nicholas Nethercote
f71d930576 Bug 507528 - TM/nanojit: add indirect call code to the core and x86 back-end. r=rreitmai. 2009-08-03 08:54:02 +10:00
Graydon Hoare
2e92fcbbe3 Backed out changeset d0be9284ea67 2009-07-30 14:28:26 -07:00
Graydon Hoare
ef5f70907e Backed out changeset fc66e3f4afc9 2009-07-30 14:27:10 -07:00
Graydon Hoare
3b0d6c1a97 Backed out changeset 4bddf07c409e 2009-07-30 14:26:15 -07:00
Graydon Hoare
998a2e55b1 Backed out changeset 137cbe3c46a9 2009-07-30 14:25:03 -07:00
Graydon Hoare
402e209fc1 Backed out changeset 83f39b3e8b10 2009-07-30 14:23:35 -07:00
Graydon Hoare
b1632ff303 Backed out changeset 3853806a58df 2009-07-30 14:21:19 -07:00
Graydon Hoare
8017a66d3d Bug 507302 - more whitespace fixes, r=nnethercote. 2009-07-29 16:21:40 -07:00
Edwin Smith
1e964d04a7 Bug 507042 - class BitSet doesn't need GC support, r=dvander. 2009-07-08 16:21:55 -04:00
Edwin Smith
da15262810 Bug 507039 - Remove _startingIns from Assembler, r=nnethercote. 2009-07-23 13:46:44 -04:00
Edwin Smith
8441271ced Bug 507036 - Move valgrind icache-flush notification to CodeAlloc, r=dvander. 2009-07-23 11:55:57 -04:00
Edwin Smith
4179e603b3 Bug 507031 - Replace use of avmplus:String with Allocator and char* in nanojit::LabelMap and LirNameMap, r=dvander. 2009-07-15 12:34:17 -04:00
Graydon Hoare
caf3859643 Bug 504462 - Merge tamarin's CodeAlloc into tracemonkey, r=gal. 2009-07-15 16:50:01 -07:00
Nicholas Nethercote
9453269258 Fix ARM bustage caused by b05e0eaa4686. 2009-07-30 11:10:45 +10:00
Nicholas Nethercote
93a1b3630d Bug 507087 - TM/nanojit: change _argtypes fields from 2 bits to 3 bits (TR sync). r=rreitmai,jorendorff. 2009-07-30 10:44:34 +10:00
wes@page.ca
c3ce4be6d6 Bug 504594 - Addresses in nanojit-debug output are wrong on SPARC. r=graydon. 2009-07-27 12:40:59 +08:00
Nicholas Nethercote
e33eb5cd4f Bug 506346 - nanojit: remove compile warnings caused by the patch for bug 506139. r=rreitmai. 2009-07-27 10:34:44 +10:00
Andreas Gal
7c40de183a Bug 501275 - TM: Crash [@ nanojit::Assembler::nPatchBranch]. r=dvander 2009-07-26 20:28:46 -04:00
Nicholas Nethercote
a590e2793e Bug 495158 - nanojit: add comment about CSEability of guards. r=edwsmith. 2009-07-24 16:19:15 +10:00
Nicholas Nethercote
d5dbe8400a Bug 506177 - TM/nanojit: remove dead 'isfar' argument from asm_branch(). r=rreitmai. 2009-07-24 15:41:32 +10:00
Nicholas Nethercote
8aeefe7a20 Bug 506139 - TM/nanojit: merge TR whitespace changes in the i386 backend. r=rreitmai. 2009-07-24 10:02:22 +10:00
Robert Sayre
a181aec2ed Merge mozilla-central to tracemonkey. 2009-07-23 16:49:14 -04:00
Leon Sha<leon.sha@sun.com>
87605bbcec Bug 504043 - Firefox will crash on sparc platform when some website. Last checkin is not up to date. r=gal. 2009-07-22 17:44:28 +08:00
Leon Sha<leon.sha@sun.com>
c18cfc0b33 Bug 505416 - http://www.usatoday.com/ crash on sparc. r=gal 2009-07-22 17:28:33 +08:00
Leon Sha<leon.sha@sun.com>
8f74f5cc07 Bug 504043 - Firefox will crash on sparc platform when some website. r=gal 2009-07-22 17:06:23 +08:00
Nicholas Nethercote
a8cd3ba765 Bug 504705 - TM/nanojit: use NULL as the condition for unconditional guards (2nd attempt). r=gal. 2009-07-22 14:54:41 +10:00
Nicholas Nethercote
c414a79e4f Bug 501232 - nanojit: remove LIR_2 (3rd attempt!). r=edwsmith,gal. 2009-07-22 10:28:25 +10:00
David Mandelin
ae3b1ce36c Bug 505314: don't use LIR_ialloc with size 0, r=gal 2009-07-21 12:14:33 -07:00
Leon Sha<leon.sha@sun.com>
8d0ba6e2ec Bug 504043 - Firefox will crash on sparc platform when some website. Last checkin is not up to date. r=gal. 2009-07-22 17:45:41 +08:00
Leon Sha<leon.sha@sun.com>
10e00c97c5 Bug 505416 - http://www.usatoday.com/ crash on sparc. r=gal 2009-07-22 17:34:28 +08:00
Leon Sha<leon.sha@sun.com>
130b687fd4 Bug 504043 - Firefox will crash on sparc platform when some website. r=gal 2009-07-22 17:15:39 +08:00
Andreas Gal
2c91620976 Merge. 2009-07-20 14:18:31 -07:00
Andreas Gal
9f57d1a918 Backed out changeset 8877e1f8645b (bug 501232). 2009-07-20 14:18:17 -07:00
Andreas Gal
83790e006a Merge. 2009-07-20 14:06:39 -07:00
Andreas Gal
cb9a549160 Backed out changeset 692e8a1325f8 (bug 504705). Crashes with TMFLAGS=full on browser startup. 2009-07-20 13:58:00 -07:00
Jacob Bramley
00bf423543 Backing out a broken part of 99dfb2001094. (no bug) 2009-07-20 11:34:34 +01:00
Jacob Bramley
b5faafb00f Use ARM's 'Operand 2' encoding for immediates. Also fixes bug 504637. (490968, r=vladimir) 2009-07-20 10:56:44 +01:00
Robert Sayre
375d2b5374 Merge tracemonkey to mozilla-central for backouts. 2009-07-21 00:57:41 -04:00
Robert Sayre
0e8682e7ec Merge tracemonkey to mozilla-central. 2009-07-20 11:18:04 -04:00
Vladimir Vukicevic
00f4cda14b b=471585; [arm] jit crash on expedia.com; r=gal 2009-07-17 16:03:59 -07:00
Nicholas Nethercote
52ab095147 Bug 501232 - nanojit: remove LIR_2. r=edwsmith. 2009-07-17 16:25:18 +10:00
Nicholas Nethercote
dabda589bf Bug 504705 - TM/nanojit: use NULL as the condition for unconditional guards. r=gal. 2009-07-17 11:14:01 +10:00
Luke Wagner
0c16520e8b Bug 406271: add quantifier support for regexp->native compiler, r=dmandelin 2009-07-16 17:17:35 -07:00
Nicholas Nethercote
d2f31c8fbd Bug 504465 - NJ: Move GC classes to namespace MMgc, r=graydon. 2009-07-16 11:50:27 -07:00
Robert Sayre
53d13821c6 Merge mozilla-central to tracemonkey. 2009-07-16 11:46:05 -04:00
Neil Rashbrook
7d7253ddaa Bug 501609 Make js/src build with VC7.1 r=graydon 2009-07-15 20:31:26 +01:00
Nicholas Nethercote
acc2840ef2 Bug 504213: nanojit: rename LIR_alloc, LIR_addp, LIR_param to match tamarin-redux. r=graydon. 2009-07-15 10:00:43 +10:00
Nicholas Nethercote
6eb09ec1ad Bug 504208: fix LInsHashSet::equals(). r=graydon. 2009-07-15 09:54:17 +10:00
Peter Van der Beken
c318fcd5ad Backed out changeset c5433450795f (Bug 503990: make isStmt() table-driven.) 2009-07-14 11:23:07 +02:00
Peter Van der Beken
c4e9e647fb Backed out changeset c5433450795f (Bug 503990: make isStmt() table-driven). 2009-07-14 11:22:41 +02:00
wes@page.ca
da15c8675f Bug 494864 - make nanojit debug output easier to follow. Sparc Changes. NPOTB code. r=graydon 2009-07-14 12:58:18 +08:00
Nicholas Nethercote
1704e7aacf Bug 503990: make isStmt() table-driven. r=gal. 2009-07-14 13:08:38 +10:00
Julian Seward
b9dc1bb9d6 Bug 496693 - NJ: comment and refactor DeadCodeFilter vs Assembler::gen interactions, r=edwsmith.
--HG--
extra : rebase_source : e675f824946d4a8bb83b2aed8ff1911c8b23caee
2009-07-13 11:50:42 -07:00
Robert Sayre
247b1e3f5d Merge mozilla-central to tracemonkey. 2009-07-11 23:46:16 -04:00
Graydon Hoare
e404f743cd Bug 503593 - NJ: whitespace and modeline cleanup, r=gal.
--HG--
extra : rebase_source : c7fcc1acaadb2264796a3ee7a20866eecc4dc484
2009-07-10 12:58:34 -07:00
Graydon Hoare
203d645160 Bug 503437 - NJ: Commit missing CodeAlloc and NativePPC files from Adobe, r=gal.
--HG--
extra : rebase_source : 51a1d5fdc3c8ce0492f5986612a06858f2c4a5da
2009-07-10 11:21:53 -07:00
Vladimir Vukicevic
c7416c8257 b=503570, [arm] jit crash with illegal instruction; r=gal 2009-07-16 21:05:29 -07:00
Nicholas Nethercote
9360d761e7 Bug 499605: localize _labels, _patches and pending_lives in Assembler. r=edwsmith. 2009-07-09 08:54:31 +10:00
Nicholas Nethercote
ae95b81b57 Bug 502788: avoid many redundant NULL comparisons in the LirReader pipeline. r=edwsmith. 2009-07-09 08:34:22 +10:00
Graydon Hoare
e46aedbb11 Bug 502953 - Remove dead TraceTreeDrawer, r=dvander. 2009-07-07 15:31:03 -07:00
Leon Sha<leon.sha@sun.com>
db53a19dda Bug 502584. Firefox will crash when visiting www.hp.com on sparc platform. r=gal. NPOTB code 2009-07-07 14:16:35 +08:00
Nicholas Nethercote
1787bb1105 Trivial fix for a TMFILES=liveness debug output assertion failure. 2009-07-07 15:25:50 +10:00
Nicholas Nethercote
b23341dd32 Fix compile breakage on optimized builds caused by my last commit. 2009-07-07 09:49:55 +10:00
Nicholas Nethercote
ab0511054e Bug 502539: move displacements into load instructions. r=gal,edwsmith. 2009-07-07 09:26:12 +10:00
Andreas Gal
0324bd664d Cleanup alignment cast for jump tables (502242, r=jwalden). 2009-07-03 16:55:22 -07:00
Nicholas Nethercote
a87c89d0ef Bug 493125 - remove LIR_cs. r=edwsmith. 2009-07-02 12:21:28 +10:00
Nicholas Nethercote
5842226e62 Bug 492866: implement variable-width LIR. r=graydon. 2009-07-01 14:18:55 +10:00
Nicholas Nethercote
8de6422b09 Backed out changeset ae16e5919d19 (tree was closed for talos maintenance). 2009-07-01 11:33:54 +10:00
Nicholas Nethercote
4af0dc60ae Make LIR variable-width (bug 492866, r=graydon). 2009-07-01 11:13:22 +10:00
Nicholas Nethercote
1e84e68309 Remove dead setCallTable() declaration (bug 488515, r=gal). 2009-06-30 14:55:44 +10:00
Andreas Gal
8196259ca6 clearResv() is i->resv()->clear() now (501072, r=graydon). 2009-06-29 13:23:06 -07:00
Julian Seward
b96eed42da Bug 494864 - Make nanojit debug output easier to follow, r=graydon. 2009-06-24 20:32:00 -07:00
Jacob Bramley
47c7c77223 Remove the BL method from the ARM nanojit back-end as it is no longer used. (487607, r=vladimir) 2009-06-24 15:57:17 +01:00
Jacob Bramley
e91a29b36f Use BLX to provide ARM/Thumb interworking support on ARM. (486639, r=vladimir) 2009-06-24 15:54:35 +01:00
Jacob Bramley
f960ac522c Correct some corner cases in the branch patching code for ARM. (486325, r=vladimir) 2009-06-24 15:26:07 +01:00
Jacob Bramley
e5b587147f Improve exit code efficiency on ARM. (491678, r=vladimir) 2009-06-24 08:17:44 +01:00
Andreas Gal
791b4c9a77 Backed out changeset 55a8910d8436 (no consensus whether patch should be applied, bug 499664). 2009-06-23 15:50:23 -07:00