Commit Graph

706 Commits

Author SHA1 Message Date
Edwin Smith
87b101337d Bug 510545 - Convert LInsHashSet to use Allocator instead of GC, r=gal.
--HG--
extra : rebase_source : 233cf623b49f030ca083ba250294e00b61afdac5
2009-08-06 09:41:07 -04:00
Leon Sha
e8ef1e87a3 Bug 510451 - Build failed on solaris after merge tamarin's CodeAlloc(bug 504462). r=gal 2009-08-14 18:01:38 +08:00
Edwin Smith
fa572124fd Bug 510116 - Remove dead code paths and arguments in nanojit::compile, r=gal. 2009-08-05 15:06:00 -04:00
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
Nicholas Nethercote
4b5aeeae4f Bug 514551 - nanojit: avoid using ~allocator.free. r=edwsmith. 2009-09-11 16:21:10 +10:00
Nicholas Nethercote
4faa4a2405 Bug 515312 - nanojit: kill reservations in the Sparc backend. r=leon.sha. 2009-09-11 14:43:50 +10:00
David Anderson
fdcaf63219 Greatly improved tracer x64 compliance and compatibility (bug 513844, r=gal). 2009-09-10 15:38:18 -07:00
Nicholas Nethercote
a5ab37ac5f Fix bustage caused by the patch for 514066. 2009-09-10 14:24:57 +10:00
Nicholas Nethercote
b29cd64403 Bug 514066 - TM: Make short functions in LIR.cpp inline. r=gal. 2009-09-10 14:02:59 +10:00
Nicholas Nethercote
f110b091bc Bug 514349 - nanojit: start to kill Reservations. r=edwsmith,rreitmai. 2009-09-10 11:00:18 +10:00
David Anderson
fbf123ad5b Fixed uninitialized variable in nanojit ARM backend (bug 515493, r=gal). 2009-09-09 15:45:18 -07:00
David Anderson
daf1fa4dbe Fixed LIR_ret/asm_ret on ARM (bug 515290, r=gal,vlad). 2009-09-09 12:55:17 -07:00
Andreas Gal
09f4fc3f88 Merge. 2009-09-09 12:53:11 -07:00
Andreas Gal
bb688e13fe Backed out changeset 5c7fbeed8f96 (bug 515290, accidentally committed unrelated changes with the bug). 2009-09-09 12:52:58 -07:00
David Anderson
e0f904df58 Added LIR_ov and full cmov support to x64 backend (bug 514496, r=rreitmai). 2009-09-09 11:19:12 -07:00
David Anderson
22a1120a3e Added LIR helpers for x64 code generation (bug 514532, r=edwsmith). 2009-09-09 11:15:48 -07:00
David Anderson
01362958c6 Added LIR_ldcb and LIR_ldcs to x64 backend (bug 514586, r=rreitmai). 2009-09-09 10:58:24 -07:00
danderson@mozilla.com
b29acb6983 Fix asm_ret on ARM (515290, r=gal,vlad). 2009-09-08 20:23:53 -07:00
Nicholas Nethercote
21dbf49f8b Bug 515138 - TM/nanojit: merge the two StackFilter passes. r=gal. 2009-09-09 11:48:30 +10:00
Julian Seward
cf806f6974 Bug 513407 - NJ: fold out (x == y) ? x : y and (y == x) ? x : y. r=gal. 2009-09-09 10:25:16 +10:00
Nicholas Nethercote
6ee8551d7d Bug 512824 - TM: gcc complains about invalid aliasing in LIR.h. r=gal. 2009-09-09 09:18:41 +10:00
Nicholas Nethercote
65a88a5c2c Bug 514625 - nanojit: kill AR::highwatermark. r=edwsmith. 2009-09-08 09:11:53 +10:00
David Anderson
0650a2788b LIR sanity checker from tamarin-redux (bug 514503, r=gal,edwsmith). 2009-09-04 17:56:22 -07:00
David Anderson
6e929c1385 Fixed codeAlloc misuse in x64 backend (bug 513842 followup, r=gal). 2009-09-04 14:50:16 -07:00
Nicholas Nethercote
02a5869681 Bug 512646 - nanojit: remove RegAlloc::{count,checkCount(),countFree()}. r=edwsmith. 2009-09-04 15:58:10 +10: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
Nicholas Nethercote
ea4545c24a Follow-up to bug 513843. r=gal (via IRC). 2009-09-04 11:07:36 +10:00
Andreas Gal
0564bbf1e0 Compilation fix for NativeARM.cpp (LIR_call was renamed to LIR_icall, r=dvander). 2009-09-03 17:54:48 -07:00
Nicholas Nethercote
a27675d43a Bug 513831 - nanojit: some regalloc comments, etc. r=edwsmith. 2009-09-04 09:18:01 +10:00
Andreas Gal
6771d193dd Introduce a register fence instruction to force all registers to be spilled (514374, r=edwsmith,rreitmai). 2009-09-03 14:43:30 -07:00
Andreas Gal
026f651d69 Incorrect register hint for LIR_param for 386 backend (514344, r=njn). 2009-09-02 21:09:34 -07:00
Nicholas Nethercote
0abd6c54da Bug 511051 - TM/nanojit: use NULL as the condition for unconditional guards, again. r=gal. 2009-09-03 13:06:31 +10:00
Nicholas Nethercote
5adc17c6a5 Bug 514110 - nanojit: avoid getresv() because it has a redundant test. r=gal. 2009-09-03 09:36:51 +10:00
Nicholas Nethercote
320a2cfb64 Backed out changeset 48928150aa27 due to Tinderbox breakage. 2009-09-02 12:14:09 +10:00
Nicholas Nethercote
85c5abe0a7 Bug 513865 - nanojit: make LirReader::read() clearer and faster. r=gal. 2009-09-02 10:20:28 +10:00
Andreas Gal
f6ce0dc81e Register allocate loop-spanning references (513843, r=rreitmai). 2009-09-01 16:30:51 -07:00
Andreas Gal
fadffac705 Make branchStateMap, patches, and labels fields of the Assembler (513884, r=rreitmai). 2009-09-01 15:27:34 -07:00
David Anderson
21466cd521 Added LIR_float to distinguish NULL from 0.0 on x64 (bug 513838, r=gal,rreitmai). 2009-09-01 14:26:24 -07:00
Nicholas Nethercote
84f6367d69 Bug 512614 - nanojit: remove FST1..FST7 from Nativei386.cpp. r=edwsmith. 2009-09-01 16:55:15 +10:00
Nicholas Nethercote
7f3df7efb0 Bug 512423 - nanojit: inline small RegAlloc methods. r=edwsmith. 2009-09-01 16:03:01 +10:00
David Anderson
66b35f24b6 Use newer codeAlloc() in x64 backend (bug 513842, r=gal). 2009-08-31 19:57:32 -07:00
Andreas Gal
42daf230a5 Compilation fix for bug 513787. 2009-08-31 17:02:16 -07:00
Andreas Gal
292f7e316d Don't restore FP twice when exiting a fragment (513787, r=rreitmai). 2009-08-31 16:35:50 -07:00
David Anderson
a33078ac37 Merge Assembler::disp() changes from tamarin-redux, always use 4-byte granularity (bug 513796, r=gal). 2009-08-31 16:14:22 -07:00
Andreas Gal
2b192c3c31 Use asm_ret to emit code for LIR_ret and LIR_fret (513771, r=dvander). 2009-08-31 15:01:41 -07:00
Nicholas Nethercote
686dcb25be Bug 512610 - nanojit: some register allocation clean-ups. r=edwsmith. 2009-08-31 15:33:46 +10:00
Nicholas Nethercote
e7fbdc867c Bug 512398 - nanojit: kill RegAlloc::used. r=edwsmith. 2009-08-31 15:02:08 +10:00
Leon Sha<leon.sha@sun.com>
6c708d7ac4 Bug 513211 - [tracemonkey]trace-test testBug504520Harder.js failed on sparc platform. r=gal. 2009-08-31 12:12:38 +08:00
Leon Sha<leon.sha@sun.com>
df159dfdb0 Bug 512433 - tracemonkey build failed at NativeSparc.cpp. r=gal. 2009-08-31 12:04:25 +08:00
Nicholas Nethercote
6c0c4d9616 Bug 512652 - TM: refactor Assembler::evict(). r=edwsmith. 2009-08-31 11:48:21 +10:00
Jason Orendorff
235e72bc0c Bug 513429 - Say "int" and "quad" in debug output for those LIR opcodes. r=edwsmith.
--HG--
extra : rebase_source : 0d9b017c0f4dbe7cd7c0f3dad27a3bee80eaa276
2009-08-30 11:36:48 -04:00
Andreas Gal
64b13a5ec6 Remove useless FASTCALL declarations and make hashcode and equals less branchy (513539, r=dvander). 2009-08-30 00:11:12 -07:00
Andreas Gal
84094cb9d0 Remove remainder of now unused LIR_loop support code (513535, r=dvander). 2009-08-29 23:26:54 -07:00
Andreas Gal
706e1e3bd3 Remove unused hasLoop flag (513263, r=graydon). 2009-08-28 14:38:09 -07:00
Andreas Gal
14813a11f4 Remove some TM-only fields from nanojit (513187, r=dvander). 2009-08-28 14:36:37 -07:00
Nicholas Nethercote
3c773f1b39 Bug 512640 follow-up: remove a stray debugging printf. 2009-08-28 15:23:14 +10:00
Nicholas Nethercote
2bb3987d6f Bug 512640 - nanojit: refactor Assembler::findRegFor(). r=edwsmith. 2009-08-28 14:59:52 +10:00
Andreas Gal
317b5f2e3a Remove explicitSavedRegs and loop hacks from nanojit (513139, r=dvander). 2009-08-27 18:46:45 -07:00
Graydon Hoare
5b06cc0665 Bug 510602 - Massage LIR opcodes to merge state, r=dvander. 2009-08-27 17:52:46 -07:00
David Anderson
67d863503e Merged Assembler.h!nRegisterAllocFromSet changes from tamarin-redux (bug 513083, r=gal). 2009-08-27 13:50:30 -07:00
David Anderson
c04fa74537 Merged Assembler.h!nPatchBranch changes from tamarin-redux (bug 513079, r=gal). 2009-08-27 13:47:39 -07:00
David Anderson
83d28f8a00 Merged LIR_alloc changes from tamarin-redux (bug 513069, r=gal). 2009-08-27 13:22:30 -07:00
David Anderson
a43dd7468a Fixed Containers.h!murmurhash not compiling on x64 (bug 512797, r=graydon). 2009-08-27 12:48:52 -07:00
David Anderson
32cdaad163 Merged 64-bit arithmetic ops from tamarin-redux (bug 512836, r=gal). 2009-08-26 17:14:18 -07:00
David Anderson
83fc2d7e10 Merge 64-bit comparison opcodes from tamarin-redux (bug 512826, r=gal). 2009-08-26 16:30:23 -07:00
Robert Sayre
2b65c06912 Merge mozilla-central to tracemonkey. 2009-08-26 13:09:40 -07:00
Graydon Hoare
12b7a6e203 Provide missing ARM defines, fix tinderbox, r=me.
--HG--
extra : rebase_source : 8c2e414874c5da5db61db9d0ecc7feec35e5227f
2009-08-25 16:39:13 -07:00
Graydon Hoare
8c36a6157c Bug 512366 - insert some missing assembler bits, r=dvander. 2009-08-24 16:57:25 -07:00
Jacob Bramley
a3ca948c53 Bug 507117 - Merge Tamarin NativeARM changes into TraceMonkey, r=graydon.
--HG--
extra : rebase_source : f374bb29ae56dbff12da60d200868fa4f1e2b4fa
2009-08-24 15:57:55 -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
Andreas Gal
5786928320 Eliminate 64-bit LIR_callh hack (499664, r=dvander). 2009-06-23 15:11:49 -07:00
Andreas Gal
f3194e9335 Move details of LIns format into LIns class itself (500053, r=dvander). 2009-06-23 14:51:15 -07:00
Jacob Bramley
a0fdb46274 Don't use ARM's MOVW and MOVT instructions to write to the PC. (487595, r=vladimir) 2009-06-23 11:13:54 +01:00
Jacob Bramley
92fa4891a8 Clean up ARM's SET macro and correct a few condition codes. (488845, r=vladimir) 2009-06-23 11:12:22 +01:00
Jacob Bramley
4bc4cb2c09 Clean up asm_branch and correct the use of condition flags on VFP conditions. (489583, r=vladimir) 2009-06-23 10:36:36 +01:00
Jacob Bramley
257161448b Fix crash on ARM caused by spilling registers in asm_mmq. (495239, r=vladimir) Follow-up: Reveals (or creates) some failures documented in bug 499889. 2009-06-23 09:36:53 +01:00
Nicholas Nethercote
7595f38896 Remove unused field 'parent' from class LabelMap (bug 499400, r=gal). 2009-06-23 14:11:09 +10:00
Nicholas Nethercote
ae3ac6a734 Remove unused isCse() and LirBuffer() args (bug 499260, r=edwsmith). 2009-06-22 14:48:16 +10:00
Nicholas Nethercote
a5db26a0e2 Fix assertion failure in trace-test.js with TRACEMONKEY=verbose (bug 499154, r=graydon). 2009-06-22 10:48:36 +10:00
nnethercote@mozilla.com
015cf5504c remove LIR_calli and LIR_fcalli (492478, r=edwsmith,jorendorff). 2009-06-19 10:20:26 +01:00
Andreas Gal
887e6a5f47 Remove NativeThumb.cpp (bug 486535, hg totally sucks). 2009-06-19 09:47:16 +01:00
Jacob.Bramley@arm.com
4b490c9a33 Remove remaining obsolete ARM Thumb code (486535, r=gal). 2009-06-19 09:45:52 +01:00
Andreas Gal
ac13e56ffd Backed out changeset 1b5584a4eba4. Accidentally committed some unreviewed changes. 2009-06-19 09:42:34 +01:00
Jacob.Bramley@arm.com
7ecc26f135 Remove remaining obsolete ARM Thumb code (486535, r=gal). 2009-06-19 09:37:38 +01:00
Nicholas Nethercote
c4b939cd8f Bug 494639 - NJ: fix numerous LIR memory management problems, r=graydon 2009-06-16 14:01:31 -07:00
Vladimir Vukicevic
a678e18942 b=503205; [arm] stop hitting bogus assertion in nPatchBranch; r=crashy 2009-07-08 16:46:57 -07:00
Nicholas Nethercote
de28e96de9 NJ: fix load opcode checking, r=graydon. 2009-06-15 12:04:06 -07:00
Andreas Gal
213c5e12a5 Remove obsolete ARM/Thumb code (no bug). 2009-06-13 20:05:28 -05:00
Andreas Gal
e53b949cbf Cleanup expression filter in LIR.cpp (497935, r=edwsmith). 2009-06-13 18:04:08 -05:00
Graydon Hoare
6a44d94f4f Bug 484142 - Standalone LIR assembler, r=jorendorff. 2009-06-12 11:33:08 -07:00
Andreas Gal
659a7a9b6c Implement oracle-based speculative fmod/fdiv/fmul demotion (474443, r=graydon,dvander). 2009-06-12 08:33:32 -07:00
Andreas Gal
a0182c819c Correctly disable conditional moves on platforms that do not support them (497455, r=graydon). 2009-06-10 15:21:10 -07:00
Leon Sha
b5dce5822e Bug 510451 Build failed on solaris after merge tamarin's CodeAlloc(bug 504462). r=gal 2009-08-14 18:07:28 +08:00
ikezoe@clear-code.com
2e4dab02a1 LIns::isOp2() lacks qjoin (496851, r=gal,edwsmith). 2009-06-08 15:04:19 -07:00
Nicholas Nethercote
96dd8702a9 Bug 495028. nanojit: add opcode checks to all LIR get/set methods. r=edwsmith 2009-06-06 12:58:11 -04:00
Andreas Gal
c70c0c7270 Bug 495396 - TM: missing early return in Nativei386 when generating LEA. r=edwsmith 2009-06-01 16:24:59 -04:00
Julian Seward
a61d112402 Bug 494157 - nanojit debug output uses inconsistent output channels. r=jorendorff. 2009-05-26 13:14:41 -05:00
Andreas Gal
3f8dfa9e52 LIR_alloc doesn't get emitted correctly for stack args on ARM (494510, r=vlad). 2009-05-22 16:44:18 -07:00
Graydon Hoare
e4863bdb1c Bug 494084 - TM: Lower maximum LIR skip size further, r=gal. 2009-05-21 18:44:37 -07:00
Graydon Hoare
daefd27739 Bug 493821 - NJ: Minimal fix to sign-extension in imm64, r=gal. 2009-05-19 22:01:24 -07:00
Graydon Hoare
606ab3ebdf Backout alignment-breaking patches for Bug 493821. 2009-05-19 20:26:31 -07:00
Graydon Hoare
4298aed9d3 Bug 493821 - Followup to ARM and SPARC native backends, to handle renaming, r=gal. 2009-05-19 18:42:11 -07:00