Commit Graph

16578 Commits

Author SHA1 Message Date
Gregor Wagner
c9f58e4e85 inline several string functions r=gal, bug #507531 2009-12-14 22:12:42 -08:00
Gregor Wagner
c14a422947 fix JS_GCMETER r=gal bug #504581 2009-12-14 19:01:37 -08:00
Gregor Wagner
a66778e5f9 fix JS_SCOPE_DEPTH_METER and enable in DEBUG mode
bug #528674, r=gal
2009-12-14 18:36:58 -08:00
Jacob Bramley
e1a3c29498 Cleaning out the rubbish I left when I backed out a previous patch. 2009-12-14 11:29:31 +00:00
Jacob Bramley
41c84e6ed1 Update nanojit-import-rev stamp. 2009-12-14 11:18:43 +00:00
Jacob Bramley
47d8b4073e Bug 491682: Remove the LDMIA and STMIA macros from NativeARM.h, as they are not used. (r=vlad)
--HG--
extra : convert_revision : a6a96927117a1e462a04784e1b621a3d85f61099
2009-12-14 11:13:24 +00:00
Steven Johnson
15492a1962 implement NJ_EXPANDED_LOADSTORE_SUPPORTED for x64 backend (r=edwsmith,r=nnethercote,bug=532240)
--HG--
extra : convert_revision : cd0b46495c9520568c6507766dfdcb5fbf24d482
2009-12-11 16:22:23 -08:00
Steven Johnson
2d54623fc2 XORPS was wrong on x64, didn't allow for regs xmm8..xmm15 (r=edwsmith,r=nnethercote,bug=533854)
--HG--
extra : convert_revision : 49246c195323d333eb2d106539c48c03c4a4d5f6
2009-12-11 14:12:55 -08:00
Jacob Bramley
f842b1b288 Backing out my previous commit; this should have gone into nanojit-central. 2009-12-14 10:34:45 +00:00
Jacob Bramley
4f5f95a2fd Bug 491682: Remove the LDMIA and STMIA macros from NativeARM.h, as they are not used. (r=vlad) 2009-12-14 09:39:42 +00:00
Igor Bukanov
ed26802b5f bug 528486 - eliminating GCF_CHILDREN. r=brendan 2009-12-14 10:55:17 +03:00
Andrew Paprocki
c3a05b444d bug 486779 - silencing SunPro CC compiler complains about js_MapKeywords. r=brendan 2009-12-14 10:08:55 +03:00
Bob Clary
69de558b4e bug 524731 - skip js1_5/Regress/regress-303213.js due to random timeouts. 2009-12-13 16:09:12 -08:00
Bob Clary
805f60e790 bug 496127 - mark js1_8_1/trace/regress-452498-01.js as random. 2009-12-13 16:09:11 -08:00
Igor Bukanov
75e20c38de bug 526449 - marking the slow array as HAS_PRIVATE for simpler handling of JSSLOT_ARRAY_LENGTH. r=brendan 2009-12-13 22:06:04 +03:00
Igor Bukanov
d13bf95d09 restoring the test for bug 354998 as the bug 534493 is fixed now 2009-12-13 21:54:46 +03:00
Igor Bukanov
cdb4827341 bug 534493 - avoiding too much debug checks in JSScope::removeProperty. r=brendan 2009-12-13 21:46:37 +03:00
Brendan Eich
2c1104d609 Remove sporadic else after return (534364 followup). 2009-12-13 09:04:46 -08:00
Andreas Gal
cbfcd61cea Eliminate call snooping in the FuncFilter (534364, r=dvander). 2009-12-11 19:48:14 -08:00
David Anderson
97878124cd Lazily import stack and global slots (bug 515749, original patch and r=gal). 2009-12-11 19:10:36 -08:00
David Anderson
cf59d9bcde Merge backout. 2009-12-11 17:40:26 -08:00
David Anderson
dcda98b47a Backed out changeset 783ce7ce6ed7 (possible orange). 2009-12-11 17:40:06 -08:00
Andreas Gal
7a543ac5b0 Avoid slow linear growth of Queues used in the JIT (534168, r=dvander). 2009-12-11 16:12:48 -08:00
David Anderson
e3cb70404e 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
648e699428 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
d12dfe06f1 Fixed CASE_EXITs being limited to about 4 entries (bug 533521, r=gal). 2009-12-11 12:10:36 -08:00
Nicholas Nethercote
6164bfbacb Update nanojit-import-rev stamp. 2009-12-09 17:24:08 -08:00
Nicholas Nethercote
ef84b8d4c6 Bustage fix for 504507 on Linux.
--HG--
extra : convert_revision : 18cf6386858be93609ffcc0912e1c169b81e6531
2009-12-09 17:21:46 -08:00
Nicholas Nethercote
aecdb78f4c Bug 504507 - nanojit: kill LIR64 (TM-only part). r=gal. 2009-12-09 15:57:12 -08:00
Nicholas Nethercote
b9933bfb96 Update nanojit-import-rev stamp. 2009-12-09 15:51:43 -08:00
Nicholas Nethercote
c0c4686241 Bug 504507 - nanojit: kill LIR64 (NJ-only part). r=gal.
--HG--
extra : convert_revision : 2271d9cb2d87970d20befb51dbc7092c830a4e10
2009-12-09 15:49:15 -08:00
Steven Johnson
c1c97cbb8d nanojit/LIR.cpp: add new load/store ops to liveness filter (r=reitmai,r=nnethercote)
nanojit/Nativei386.h: remove bogus assertions from some i386 instructions (r=reitmai,r=nnethercote)

--HG--
extra : convert_revision : 279dc4a9597527626dc0e2b2deceed148f9b61e4
2009-12-08 14:19:50 -08:00
Nicholas Nethercote
87f4f2f83b Bug 533233 - nanojit: get rid of LC_NoCodeAddrs. r=edwsmith.
--HG--
extra : convert_revision : 5edcef2131dfd0f521b306aee9a40a51b487efb9
2009-12-08 07:57:17 -08:00
Steven Johnson
00591f6f55 nanojit/LIR.cpp: LoadFilter should handle the new load instructions (r=rreitmai, r=nnethercote, bug=533015)
--HG--
extra : convert_revision : 6069a35f1fcfcc3bcaf15ddaece24b80d8955db4
2009-12-07 11:19:24 -08:00
Bob Clary
b14cb0737a bug 533027 - skip js1_5/Regress/regress-3649-n.js due to random oom related failures. 2009-12-09 14:41:35 -08:00
Bob Clary
ba8b91964f bug 531325 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-469927.js. 2009-12-09 14:41:35 -08:00
Bob Clary
559fe7e272 bug 528717 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-470739.js. 2009-12-09 14:41:34 -08:00
Bob Clary
aa46970668 bug 496127 - relax timing comparison to eliminate random failures in js1_8_1/trace/regress-452498-01.js. 2009-12-09 14:41:34 -08:00
Boris Zbarsky
fe21045b68 Bug 533148. Go back to the MAX_LENGTH we used to have. r=brendan 2009-12-08 21:56:54 -08:00
Brendan Eich
c42e5efac9 Fix JSOP_INITMETHOD to use correct JSScope method (addProperty, not addDataProperty; 533254, r=jorendorff). 2009-12-08 16:20:00 -08:00
David Anderson
a3c134829e Fixed loops ending in JSOP_GOTO not compiling properly (bug 533042, r=gal). 2009-12-08 11:15:34 -08:00
Nicholas Nethercote
b50ab24e3f Bug 533233 - nanojit: get rid of LC_NoCodeAddrs (TM-specific part). r=edwsmith. 2009-12-08 08:04:57 -08:00
Jacob Bramley
065898ca1d Bug 521161: Re-enable LIR_mul speculation for ARM. (r=gal) 2009-12-08 13:15:50 +00:00
Nicholas Nethercote
3e5b39f137 Bug 528857 - nanojit: mismanagement of name lifetimes with TMFLAGS=assembly? r=graydon. 2009-12-07 21:06:41 -08:00
Nicholas Nethercote
29a19619a4 Update nanojit-import-rev stamp. 2009-12-06 15:36:37 -08:00
Nicholas Nethercote
7b675e96c2 Bug 528857 - nanojit: mismanagement of name lifetimes with TMFLAGS=assembly? (NJ-only part). r=graydon.
--HG--
extra : convert_revision : cb855a65f046a59c28277766aa5d320df33159c2
2009-12-05 06:58:42 +11:00
Nicholas Nethercote
85ec7ffb59 Bug 531347 - nanojit: rejig asm_call(). r=edwsmith.
--HG--
extra : convert_revision : 1c68f440a757a8cb002c8da9118d034a9c7d4fab
2009-12-01 18:50:07 -08:00
Steven Johnson
7cd43c410f nanojit/Assembler.cpp: when LIR_stqi calls asm_store32 twice, pass LIR_sti for the opcode, rather than op. (r=me)
--HG--
extra : convert_revision : 0da91726eca5ccbfed98d340e428d3303d5708f0
2009-12-01 17:40:25 -08:00
Steven Johnson
badc2f39e7 Add new opcodes to allow load/store of 8-bit int, 16-bit int, and 32-bit floats. Initially implemented only for i386, other backend implementations to follow. See https://bugzilla.mozilla.org/show_bug.cgi?id=527083 for more detail. (r=rreitmai, nnethercote)
--HG--
extra : convert_revision : 7c5395e67078266797de2e2de6555974ee61acf7
2009-12-01 16:50:03 -08:00
Rick Reitmaier
0299cb7563 Bug 500466 - avmshell crashes on P3 cpu machine with JIT enabled (r+nnethercote,edwsmith)
Copy x86 CPU detection code from jstracer into Nativei386;
allowing hosts to share the common code.

One potential issue with this patch is that the detection code is
executed each time an Assembler object is created.

If it becomes an issue, it might be worthwhile to add a tri-state
to config in order to capture the value post-test.

--HG--
extra : convert_revision : ab0a893ffe833f1562216186567d4e7798be45aa
2009-12-01 11:36:07 -08:00