Commit Graph

7691 Commits

Author SHA1 Message Date
Nicholas Nethercote
7c3a5b4e1e Update nanojit-import-rev stamp. 2009-12-21 09:26:12 +11:00
Robert Sayre
e308a08ec8 Bustage fix for non-JIT builds. Following up bug 474500. 2009-12-19 07:46:35 -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
Nicholas Nethercote
0a83128602 Bug 516347 - nanojit: avoid premature regalloc state updates in the i386 backend. r=edwsmith,dvander.
--HG--
extra : convert_revision : e7b2c0d805eb61ca0ead9402f8a01f6bb85de29f
2009-12-18 12:39:16 +11:00
Nicholas Nethercote
387808d7b9 Bug 527178 - NJ: all our efforts at handling valid displacements are defeated (take 2a). r=graydon,gal.
--HG--
extra : convert_revision : c2be4b89e09d6dd1b8c83b14240d00d57c084419
2009-12-18 08:24:39 +11:00
Benjamin Smedberg
e5c0bed1ab Merge mozilla-central to electrolysis. 2009-12-17 13:09:48 -05:00
Nicholas Nethercote
fd4721f7f0 Bug 532566 - nanojit: tweak const printing with TMFLAGS. r=edwsmith.
--HG--
extra : convert_revision : 2b1dc08843b7d6a92ee5b010f5bec267c1f54305
2009-12-17 13:50:07 +11:00
Benjamin Smedberg
211d3738cb Merge mozilla-central to electrolysis. 2009-12-16 19:02:20 -05:00
Benjamin Smedberg
e222906462 Mark the two tests random on Windows which are causing problems, bug 524732 (reverting http://hg.mozilla.org/mozilla-central/rev/9f7c1fa9b2de to random-if instead of fails-if) 2009-12-16 16:14:22 -05:00
Benjamin Smedberg
2efe22a0e4 Merge only plugin changes from e10s to mozilla-central. 2009-12-16 09:19:07 -05:00
Benjamin Smedberg
ffeebc91f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
Dietrich Ayala
40aa9b0a88 Bug 532563 - XPCOMUtils has anonymous functions (r=sdwilsh) 2009-12-15 23:25:38 -08:00
Julian Seward
f0683b62c9 Make TM fragment entry- and exit-profiling work on X64 (bug 517857, r=dvander).
--HG--
extra : convert_revision : a7dc90cf8f8c7d121cc9d786742e690897d5ddc8
2009-12-15 18:55:27 -08:00
Benjamin Smedberg
ce3386b2d4 Electrolysis-plugin-only bookkeeping commit. 2009-12-15 20:33:05 -05:00
Benjamin Smedberg
daab3b8125 Merge mozilla-central into electrolysis. 2009-12-15 20:31:04 -05:00
Ben Turner
319b99a47b Bug 534308 - 'Request needed for jsshell'. r=jorendorff. 2009-12-15 16:07:04 -08:00
Nicholas Nethercote
0cda95948c Bug 534575 - nanojit: fix bogosity in asm_cmp(). r=edwsmith.
--HG--
extra : convert_revision : f5573b092a7f11abed716341629dff0b36bb09e6
2009-12-16 10:16:47 +11:00
Dan Witte
89be48b3cc Bug 518621 - JS_ReportErrorNumber ignores exception type for user-generated messages. r=mrbkap 2009-12-15 14:20:48 -08:00
Benjamin Smedberg
2010a569bb Merge mozilla-central into electrolysis. 2009-12-14 21:27:17 -05:00
Nicholas Nethercote
d0b6417b4c Backed out changeset 2bd8a736808d, caused ARM bustage.
--HG--
extra : convert_revision : 7fd3a1258dbf608d4c62862029d1a30317f7b9e5
2009-12-15 13:16:54 +11:00
Nicholas Nethercote
84f5fd65b2 Bug 527178 - NJ: all our efforts at handling valid displacements are defeated (take 2). r=graydon,gal.
--HG--
extra : convert_revision : 2bd8a736808d4a2582233d05832f11899ccc2fd7
2009-12-15 12:54:26 +11:00
Steven Johnson
8e5876ea87 regalloc_binary needed to include new ld32f/ldc32f opcodes in its assertions, fix to 1106:cd0b46495c95,bug=532240 (r=me)
--HG--
extra : convert_revision : c85faf8ab65a97a4fd19df33b90ff43a11133df9
2009-12-14 13:48:39 -08:00
Bob Clary
91e71bfebb bug 524732 - reenable js1_5/Regress/regress-344804.js | js1_5/Scope/regress-181834.js after electrolysis landing, r=bsmedberg 2009-12-14 16:31:53 -05:00
Steven Johnson
b14fa9aead nanojit/Nativei386.cpp: asm_load64 for i386 wasn't properly copying the loaded value into the stack frames in all cases for non-sse2 path. (r=edwsmith, bug=534613)
--HG--
extra : convert_revision : 107017b4c232e89e4ecb11ef69c11747644a6dc3
2009-12-14 10:58:24 -08:00
Benjamin Smedberg
a819191110 End the electrolysis-plugins-only branch: merge in the remaining changes from electrolysis head in preparation for pushing to mozilla-central. 2009-12-14 09:56:08 -05:00
Benjamin Smedberg
999be86ac2 Merge mozilla-central into electrolysis. 2009-12-14 08:01:18 -05:00
Dan Witte
ef98ce6e05 Backing out change. 2010-01-03 06:04:42 -08:00
Dan Witte
d0b0513b6e Testing solaris patch. Will back out after one cycle. 2010-01-03 05:00:13 -08:00
Dan Witte
c5c3ab3fc3 Backing out change. 2010-01-02 20:26:33 -08:00
Dan Witte
2e71a6bac6 Remove solaris-specific patch to test the build. Will back out after a cycle. 2010-01-02 19:44:41 -08:00
Benjamin Smedberg
422b4b28d2 Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell. 2009-12-12 13:38:25 -05:00
Boris Zbarsky
8c7d101795 Bug 533636. Speed up IsSecurityWrapper. r=mrbkap 2009-12-11 22:36:35 -08:00
Blake Kaplan
91fd0fb306 Bug 532124 - Set aside the frame chain when wrapping for chrome so we don't get confused by any content code on the stack. r=jst 2009-12-11 10:33:32 -08:00
Jeff Walden
e9d69cbf2e Bug 529404 - Assignments to a property that has a getter but not a setter should not throw a TypeError per ES5, except in strict mode. r=brendan 2009-12-08 17:00:42 -08:00
Jason Orendorff
dfd362fddd Bug 535703 - JS_SealObject crash with deep=true. r=mrbkap.
--HG--
extra : rebase_source : 7760d40bb23ab439c030943ab781ab5b10259da8
2009-12-17 21:09:50 -06: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
Jason Orendorff
8b449748c7 Fix "bug NNNNNN" in a comment to point to the actual bugzilla bug. r=nobody. 2009-12-17 14:24:39 -06:00
Jason Orendorff
102ed4de5a Do not secretly write to /tmp in DEBUG builds unless your name is brendan. (Leave the basic stats code ifdef'd on for everyone though, to help avoid bitrot.) No bug, r=Waldo. 2009-12-17 11:37:25 -06:00
Jason Orendorff
51bdff8212 Fix memory leak in a jsapi-test. No bug, r=Waldo.
--HG--
extra : rebase_source : c9cdf4fc2391f812a3decb645900ac1ec4ffa118
2009-12-17 11:30:14 -06:00
Robert Sayre
b18f03ada4 Merge m-c to tm. 2009-12-17 04:26:12 -05:00
David Anderson
66687af7ab Fixed lazy import regression where down recursion could build wrong exit typemaps (bug 534745, r=gal). 2009-12-16 22:06:07 -08:00
David Anderson
2b9de94325 Added test case for bug 535474. 2009-12-16 19:22:04 -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
Brendan Eich
e3b2653ade Bug 533705 - Lock proto-scope around canProvideEmptyScope/getEmptyScope; check for slot mismatch in js_AddProperty; don't optimize for slot mismatch in JSOP_SETPROP. r=jorendorff.
--HG--
extra : rebase_source : 4d49e9ef150286db93f2e5e1c77b217832263f83
2009-12-16 18:11:19 -06:00
Robert Sayre
38011bea9f Merge mozilla-central rev a732c6d3c078 to tracemonkey. This is just prior to the e10s plugins landing. 2009-12-16 10:17:45 -05:00
Robert Sayre
24fcff5c87 Merge. 2009-12-16 03:19:21 -05:00
Robert Sayre
91d87dc586 Backed out changeset 8a44551a28c1 2009-12-16 03:18:59 -05:00
Robert Sayre
9321e9dcc2 Merge. 2009-12-16 03:18:31 -05:00
Robert Sayre
90dbf27bde Backed out changeset 787d5fbc1f80 2009-12-16 03:18:10 -05:00
Robert Sayre
c70a849908 Merge. 2009-12-15 22:35:52 -05: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
Robert Sayre
f16642bdd7 Merge. 2009-12-15 22:30:41 -05:00
Robert Sayre
aedf90bff2 Backed out Andreas Gal — Try to fix autoconf madness for bug 530896. changeset 289c9c3c9195 2009-12-15 22:30:25 -05:00
David Mandelin
7156489d4a Bug 514808 - Regex whitespace character class deficiencies. Add a test. 2009-12-15 21:40:39 -05:00
Saint Wesonga
d58ef2604a Bug 514808 - Regex whitespace character class deficiencies. r=dmandelin 2009-12-15 21:40:33 -05:00
Gregor Wagner
689d4154a4 inline several string functions r=gal, bug #507531 2009-12-14 22:12:42 -08:00
Gregor Wagner
881436060a fix JS_GCMETER r=gal bug #504581 2009-12-14 19:01:37 -08:00
Gregor Wagner
5d706bfc9a fix JS_SCOPE_DEPTH_METER and enable in DEBUG mode
bug #528674, r=gal
2009-12-14 18:36:58 -08: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
37965c89df Update nanojit-import-rev stamp. 2009-12-14 11:18:43 +00:00
Jacob Bramley
f0ca3397b1 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
fb8fe39b22 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
05b93868ea 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
708810413f Backing out my previous commit; this should have gone into nanojit-central. 2009-12-14 10:34:45 +00:00
Jacob Bramley
609a5b5c84 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
da4f40e4dc bug 528486 - eliminating GCF_CHILDREN. r=brendan 2009-12-14 10:55:17 +03:00
Andrew Paprocki
4d092aea98 bug 486779 - silencing SunPro CC compiler complains about js_MapKeywords. r=brendan 2009-12-14 10:08:55 +03:00
Bob Clary
9c736ec009 bug 524731 - skip js1_5/Regress/regress-303213.js due to random timeouts. 2009-12-13 16:09:12 -08:00
Bob Clary
9ef15a98d6 bug 496127 - mark js1_8_1/trace/regress-452498-01.js as random. 2009-12-13 16:09:11 -08:00
Igor Bukanov
dd52a42965 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
60821e2d43 restoring the test for bug 354998 as the bug 534493 is fixed now 2009-12-13 21:54:46 +03:00
Igor Bukanov
b684411ba9 bug 534493 - avoiding too much debug checks in JSScope::removeProperty. r=brendan 2009-12-13 21:46:37 +03: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
Andreas Gal
142909c3dd Avoid slow linear growth of Queues used in the JIT (534168, r=dvander). 2009-12-11 16:12:48 -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
4bd18613b7 Update nanojit-import-rev stamp. 2009-12-09 17:24:08 -08:00
Nicholas Nethercote
c60a9d49a0 Bustage fix for 504507 on Linux.
--HG--
extra : convert_revision : 18cf6386858be93609ffcc0912e1c169b81e6531
2009-12-09 17:21:46 -08:00
Nicholas Nethercote
efbef88690 Bug 504507 - nanojit: kill LIR64 (TM-only part). r=gal. 2009-12-09 15:57:12 -08:00
Nicholas Nethercote
41cabae636 Update nanojit-import-rev stamp. 2009-12-09 15:51:43 -08:00
Nicholas Nethercote
2c6fd78104 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
7de7cc4825 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
51c20028df 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
814fcf00f1 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
f8930f33b8 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
1c605bec56 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
91997361f1 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
f9b73e0ae4 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
6af77f03b5 Bug 533148. Go back to the MAX_LENGTH we used to have. r=brendan 2009-12-08 21:56:54 -08:00
Brendan Eich
c8424c2c67 Fix JSOP_INITMETHOD to use correct JSScope method (addProperty, not addDataProperty; 533254, r=jorendorff). 2009-12-08 16:20:00 -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