Commit Graph

687 Commits

Author SHA1 Message Date
Brian Hackett
984f326b13 Bug 561506, add context owner checks for addprop. no_r=7:00am 2010-09-05 07:05:10 -07:00
Brian Hackett
7703748d37 PIC for addprop, bug 561506. r=dmandelin 2010-09-04 20:12:56 -07:00
Jan de Mooij
450ca78be3 Fast path for >>>. b=589832, r=dvander. 2010-09-04 18:45:26 -04:00
Brian Hackett
7b0f64dbaa Backed out changeset c85589cb4d0c 2010-09-01 20:19:03 -07:00
Brian Hackett
711fb44e45 Bug 561506 - PIC for addprop. r=dmandelin 2010-09-01 20:00:58 -07:00
Luke Wagner
5e9978f911 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
David Anderson
5bead76fe7 Fix GETELEM PIC not resetting atom jump (bug 592604, r=dmandelin). 2010-09-01 11:23:19 -07:00
Jacob Bramley
f0e9529e75 [JAEGER] Tracer integration optimization for ARM. [Bug 588022] [r=dvander] 2010-08-31 12:21:37 +01:00
David Anderson
1f79d55160 [JAEGER] Silence GCC under-parenthesizing warning in jsinterp.cpp. 2010-08-30 15:43:32 -07:00
David Anderson
70d6dbdd95 [JAEGER] Silence unused variable warning in GCC.
--HG--
extra : rebase_source : 725a7c7a80914c1f93f91ad89cb8b309a651fd76
2010-08-30 15:42:01 -07:00
David Mandelin
3dc48e12b2 [JAEGER] Merge from Tracemonkey. 2010-08-30 15:13:32 -07:00
Michael Wu
635beb851b Bug 591575 - JM: Fix Android build bustage due to "thumb conditional instruction not in IT block", r=sayrer 2010-08-30 11:52:32 -07:00
David Mandelin
c056a07f6b Backed out changeset 41e3e584023f -- more tinderbox bustage. 2010-08-27 18:51:14 -07:00
David Anderson
8d3e96d32e [JAEGER] ICs for scripted calls (bug 587698, r=dmandelin). 2010-08-27 17:50:53 -07:00
Sean Stangl
366a2a7d88 [JAEGER] Implement haveSameBacking() case for stricteq. b=591367, r=dvander. 2010-08-27 19:33:11 -04:00
David Mandelin
8057a267e7 [JAEGER] Bug 590088: copy only variables into call objects that may be referred to later, r=dvander 2010-08-27 15:54:30 -07:00
Sean Stangl
ef6068d3b0 [JAEGER] Backed out changeset 1035fdc5d714. no_r=fire. 2010-08-27 10:42:10 -04:00
Jan de Mooij
5209097cb3 [JAEGER] Added fast-path for >>> (bug 589932, r=dvander). 2010-08-26 01:29:52 -04:00
Sean Stangl
3c71ccb4b5 [JAEGER] Int32 fast-path for stricteq, strictne. b=578528, r=dvander. 2010-08-27 00:24:25 -04:00
David Mandelin
e47b671acc [JAEGER] Bug 591121: frobulate the code to get around a GCC bug affecting OSX10.5, r=cdleary 2010-08-26 17:48:24 -07:00
David Mandelin
dcc7ec979f [JAEGER] Bug 590380: restore our JSNES perf by adding a fast path for inc/dec global vars, r=dvander 2010-08-26 14:06:07 -07:00
David Mandelin
ab97c995fd [JAEGER] Merge from tracemonkey. 2010-08-26 10:35:24 -07:00
David Anderson
e9aeb4b8bb Backed out changeset ebd2b956b565. 2010-08-26 02:30:08 -04:00
David Anderson
169050a338 [JAEGER] Inline caches for scripted calls (bug 587698, r=dmandelin). 2010-08-26 01:29:52 -04:00
David Mandelin
7ca98ab40f [JAEGER] Bug 590749: safely handle calling ReleaseScriptCode twice on a given script, r=dvander 2010-08-25 16:31:39 -07:00
David Anderson
0c3b4e8c17 Backed out changeset a804ccdfe7c4. 2010-08-25 11:53:17 -04:00
David Anderson
0255d4ffbc [JAEGER] Fixed copying garbage to some callobj slots (bug 590088, r=dmandelin). 2010-08-25 10:56:48 -04:00
David Anderson
194facbde7 [JAEGER] Clean up JSScript hacks (bug 590275, r=dmandelin). 2010-08-24 22:57:35 -04:00
David Anderson
53caaab3b7 [JAEGER] Fixed some math operations remating from unsynced addresses (bug 589714, r=dmandelin). 2010-08-24 21:00:32 -04:00
David Mandelin
7a67eb272d [JAEGER] Bug 590001: find correct exception handler when we throw an exception during trace recording, r=dvander 2010-08-24 12:00:42 -07:00
David Anderson
591d6c4f57 [JAEGER] Fixed GETELEM PIC not initializing memory (bug 588338, r=cdleary).
--HG--
extra : rebase_source : dfcfa1de224813001b9692a96e987c909bf3333f
2010-08-24 12:57:01 -04:00
Jacob Bramley
a39eccf723 [JAEGER] Comment tweak to align with changes made for bug 588978. [r=me] 2010-08-24 09:46:33 +01:00
David Anderson
b87f34a4e2 [JAEGER] Fixed PROPINC etc using the property cache (bug 589115, r=dmandelin).
--HG--
extra : rebase_source : 6a58de4b3044c6ce4afa160e1fb497df4a6d290b
2010-08-24 00:57:57 -04:00
David Anderson
d8679510bf [JAEGER] Fixed assert in GetElem stub (bug 582894, r=dmandelin).
--HG--
extra : rebase_source : 4c46371db89f4b2cacb1265cc79366830d78dd56
2010-08-24 00:57:54 -04:00
Leon Sha
df0157c800 Bug 587962 - [JAEGER] JaegerMonkey build and check failed on Solaris x86 with Sun Studio 12. Patch 2. r=dvander 2010-08-23 20:50:35 -07:00
Brian Hackett
93e944674e Sync undefined properly, avoid unnecessary syncs at function entry, bug 586544. r=dvander 2010-08-23 16:43:04 -07:00
Jan de Mooij
383caddd9a Bug 589746 re-landing, this time correctly: omit calls to spew functions in non-spew opt builds, r=dmandelin 2010-08-23 15:51:37 -07:00
David Mandelin
3978987e86 Backed out changeset 2ab1e79a2179 -- I landed it wrong. 2010-08-23 15:50:20 -07:00
Jan de Mooij
cb60fc6bdc Bug 589746: omit calls to spew functions in non-spew opt builds, r=dmandelin
--HG--
extra : rebase_source : d40c71dbe9c5ddab5fb4a6e280e6361afa54b3af
2010-08-23 15:26:19 -07:00
Brian Hackett
2da48c21da Remove unnecessary loads of f.cx, bug 588978. r=dmandelin 2010-08-23 15:27:44 -07:00
David Mandelin
e2926c8916 [JAEGER] Fix build bustage from last merge--missing changes for GCC static asserts 2010-08-23 14:45:24 -07:00
David Mandelin
ef7de3688d [JAEGER] Merge from Tracemonkey.
--HG--
extra : rebase_source : 3a8dcc0855999572e7d32ee1d6468e6729938d65
2010-08-23 14:13:53 -07:00
David Anderson
02e4fe6352 [JAEGER] Merge. 2010-08-23 17:03:46 -04:00
David Anderson
0b7588f87f [JAEGER] Fixed GETPROP resyncing to the wrong type (bug 589108, r=dmandelin). 2010-08-23 16:56:10 -04:00
Makoto Kato
3341b53feb [JAEGER] Bug 588267 - Re-land Win64 port. r=dvander 2010-08-23 15:43:43 +09:00
Sean Stangl
2d210ae7a9 [JAEGER] x64: Dedicated Type and Payload Mask Registers. no_r=me. 2010-08-22 00:42:58 -07:00
Sean Stangl
6536182186 [JAEGER] More efficient InjectJaegerReturn for x64. no_r=me. 2010-08-20 18:18:12 -07:00
David Mandelin
730233dc21 [JAEGER] Use consistent namespace qualifier on stub call definitions 2010-08-20 15:17:50 -07:00
Jacob Bramley
e5ea36eb1e [JAEGER] Bug 587833 reland part 2: remove VMFrame::scriptedReturn ARM fixes 2010-08-20 13:21:46 -07:00
David Anderson
54be9cdfa6 [JAEGER] Bug 587833 reland part 1: remove VMFrame::scriptedReturn for x86 and x64, r=dmandelin 2010-08-20 13:20:38 -07:00
Leon Sha
31b5560186 Fix the bustage on windows. Bug 587962. 2010-08-20 20:56:45 +08:00
Leon Sha
a50abcb41c Bug 587962 - [JAEGER] JaegerMonkey build and check failed on Solaris x86 with Sun Studio 12. r=dvander 2010-08-20 01:09:34 -07:00
David Mandelin
b89502a7d9 [JAEGER] Backout merge. 2010-08-19 16:27:04 -07:00
David Mandelin
2cbc07739b [JAEGER] Backed out changeset 04bc789f7a43: trace-test failures 2010-08-19 16:26:50 -07:00
David Mandelin
84bf63c699 [JAEGER] Backout merge. 2010-08-19 16:26:17 -07:00
David Mandelin
ea6820c89f [JAEGER] Backed out changeset b88bab8e77c5: prerequisite to backing out 04bc789f7a43 2010-08-19 16:25:54 -07:00
David Mandelin
ef74a0554c [JAEGER] Modify comment to get a clobber build. 2010-08-19 12:59:15 -07:00
David Mandelin
ee50e410ee [JAEGER] Merge. 2010-08-19 11:12:06 -07:00
David Mandelin
a21c621577 Merge from Tracemonkey. 2010-08-19 11:11:36 -07:00
Jacob Bramley
02992c666a [JAEGER] Fixed ARM port of bug 587833 (r=dvander). 2010-08-19 13:34:09 -04:00
David Anderson
d1f08da7e5 [JAEGER] Remove VMFrame::scriptedReturn (bug 587833, r=dmandelin). 2010-08-19 13:34:06 -04:00
Jacob Bramley
6d1fca8be3 [JAEGER] Enable MICs for ARM. [Bug 588020] [r=dvander] 2010-08-18 10:38:50 +01:00
David Mandelin
d32d792513 [JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste. 2010-08-17 15:32:40 -07:00
Sean Stangl
75b06fdd12 [JAEGER] Correct load32() usage; prefer loadShape(). no_r=me. 2010-08-17 14:36:04 -07:00
Jan de Mooij
fad149144a [JAEGER] Correctly remat objReg in GetProp PIC. b=587119, r=sstangl. 2010-08-17 13:52:26 -07:00
David Mandelin
3379e781d1 [JAEGER] Merge fallout: move static asserts that break with rval private 2010-08-16 16:23:05 -07:00
David Mandelin
f32df484f3 [JAEGER] Finish merge from Tracemonkey. 2010-08-16 15:57:19 -07:00
David Mandelin
c0001dbe3b [JAEGER] Merge from Tracemonkey. 2010-08-16 15:31:14 -07:00
David Mandelin
23b88d71bd [JAEGER] Finish merge from Tracemonkey. 2010-08-16 15:16:24 -07:00
David Mandelin
3af2b18345 [JAEGER] Followup for merge from Tracemonkey: update JSStackFrame API usage in JM code 2010-08-16 15:07:28 -07:00
Jan de Mooij
b0afe0253c [JAEGER] Check for negative zero after MUL (bug 584770, r=dvander). 2010-08-16 11:16:47 -04:00
Jacob Bramley
bcd9f334be [JAEGER] Update the ARM VMFrame code to re-align with changes in d7b81bd995c3. [Bug 586886] [r=me] 2010-08-16 13:02:01 +01:00
Nicholas Nethercote
62658f05e8 Bug 585839 - JM: reorder StubEqualityOp() to account for common cases. r=dvander. 2010-08-15 17:00:09 -07:00
David Anderson
3ba9b2160f [JAEGER] Fixed assert-botch in tracer integration (bug 587431). 2010-08-15 14:40:13 -07:00
Sean Stangl
8df1d3b34b [JAEGER] Implement Travis Fisher's xor-based loadValueAsComponents(). b=586240, r=dvander.
Thanks to Travis Fisher <traviswfisher@gmail.com>.
2010-08-14 18:07:00 -07:00
Sean Stangl
1172060dd0 [JAEGER] Assert MIC, PIC dynamic offset correctness. b=587224, r=dvander. 2010-08-13 18:06:39 -07:00
David Anderson
94c77b4166 [JAEGER] Fixed assert-botch from bug 586886.
--HG--
extra : rebase_source : 51c498d3174ac7778930dfa07984e0f87e316152
2010-08-13 17:43:50 -07:00
David Mandelin
0b41c441e5 [JAEGER] Bug 587224: make offset members big enough to handle big stubs, no_r=me 2010-08-13 17:27:36 -07:00
David Anderson
7e9b41be71 [JAEGER] Fixed bugs in commit bumping (bug 586886 fallout). 2010-08-13 15:27:33 -07:00
David Anderson
28704289d9 [JAEGER] Combine over-recursion and stack commit checks (bug 586886). 2010-08-13 14:22:18 -07:00
David Mandelin
5c039fb714 [JAEGER] Bug 586538 followup: the original fix was accidentally backed out by 91257f67ea38, so restoring it. 2010-08-13 14:10:43 -07:00
David Mandelin
a8a454c883 [JAEGER] Merge from tracemonkey. 2010-08-13 12:01:02 -07:00
David Anderson
652df661b5 [JAEGER] Merge backout. 2010-08-13 02:23:22 -07:00
David Anderson
e36d4de961 Backed out changeset c0061c6b65b4 (3% perf regression on v8). 2010-08-13 02:22:39 -07:00
David Anderson
2c5c7bc631 [JAEGER] Merge. 2010-08-13 02:22:03 -07:00
David Anderson
60b819690f Backed out changeset 8f45cad0a405. 2010-08-13 02:21:46 -07:00
Sean Stangl
4b7c28362b [JAEGER] Remove unnecessary padding from JSStackFrame, VMFrame. b=586880, r=dvander. 2010-08-13 00:57:14 -07:00
Alex Miller
f243e896b6 [JAEGER] Use SSE4.1 when available to load doubles faster. b=582785, r=dvander. 2010-08-12 21:43:39 -07:00
Andrew Drake
b4d2bc35d6 [JAEGER] Add support for throw hook. r=dvander, b=586107 2010-08-12 18:57:06 -07:00
David Anderson
c7a2157fc9 [JAEGER] Fixed warning in MonoIC.cpp. 2010-08-12 17:58:37 -07:00
Sean Stangl
80f36226d2 [JAEGER] 32-bit MIC shape comparisons. b=586781, r=dvander. 2010-08-12 17:56:25 -07:00
David Anderson
a57d28382a [JAEGER] Fixed think-o in jsop_name(). 2010-08-12 17:06:15 -07:00
David Anderson
6f24fc0c7f [JAEGER] Fixed more linkExit() fail (bug 586538). 2010-08-12 17:03:11 -07:00
Sean Stangl
03963cf4ff [JAEGER] Implement PurgeMICs. b=584182, r=dvander. 2010-08-12 16:58:43 -07:00
Brian Hackett
466e80d99b [JAEGER] Second try at start/end iterator fast paths, bug 578756. r=dmandelin, dvander, gal 2010-08-12 17:26:07 -04:00
David Anderson
6c40dd232c [JAEGER] Fixed MonoIC regression from bug 586544. 2010-08-12 11:59:06 -07:00
David Anderson
0bbf7a68b3 [JAEGER] Sync both halves of constant undefined payloads (bug 586544).
--HG--
extra : rebase_source : f9643a32b74b5b7a91950815ac1a1419015705ca
2010-08-12 11:39:22 -07:00
David Mandelin
0f9af001af [JAEGER] Merge. 2010-08-12 11:42:35 -07:00
David Mandelin
9376a78c81 [JAEGER] Merge from Tracemonkey. This picks up Yarr. 2010-08-12 11:42:16 -07:00
Jacob Bramley
708bcc9869 Bug 586600: non-default sprop getter fix in stub call. (r=cdleary,sstangl) 2010-08-12 11:26:46 -07:00
David Anderson
86b6472243 [JAEGER] Fixed regression in bug 583692 that disabled scope ICs. 2010-08-12 02:42:51 -07:00
Andrew Drake
cbd7bb3275 [JAEGER] Correct parameter register for debugger keyword in compiler. r=dvander 2010-08-12 02:04:37 -07:00
Andrew Drake
16edddbf68 [JAEGER] Add support for debugger keyword. r=dvander, b=586105 2010-08-12 02:01:45 -07:00
Chris Leary
e0ace5bc86 Bug 564953: Port YARR! Lands macroassembler. (r=gal) 2010-08-11 13:30:07 -07:00
Andrew Drake
bc97d0240e [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
Sean Stangl
cd2189af75 [JAEGER] Remove unused syncAllRegs(). no_r=me. 2010-08-11 19:33:28 -07:00
Sean Stangl
2cb41f7686 [JAEGER] Mimic GCC output for loadValueAsComponents(). b=586240, r=dvander. 2010-08-11 16:55:32 -07:00
Sean Stangl
411137012a [JAEGER] Better x64 Value loading. b=586240, r=dvander. 2010-08-11 13:45:57 -07:00
David Mandelin
17a258c673 [JAEGER] Merge from tracemonkey. 2010-08-11 11:23:29 -07:00
Andrew Drake
ebfb6d0eca Backed out changeset a8aeff259925 and fix due to random crashes. 2010-08-11 02:35:10 -07:00
Andrew Drake
e4ec6d69ff [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
David Anderson
76face52cb [JAEGER] Fixed primitive string wrapping in callprop_str (bug 584579). 2010-08-10 20:57:40 -07:00
David Mandelin
bc9d853ebd [JAEGER] Just a little MSVC warning fix. 2010-08-10 17:10:49 -07:00
Sean Stangl
dac1b5d37c [JAEGER] x64 tracejit integration. b=585174, r=dvander.
Trips asserts in nanojit when running trace-tests.
2010-08-10 15:28:11 -07:00
David Mandelin
d78a3da1fa Merge. 2010-08-10 14:15:47 -07:00
David Mandelin
8cbcfb9f94 Backed out changeset 3a6f645100eb due to tinderbox failures. 2010-08-10 14:14:50 -07:00
David Anderson
8ce152834a [JAEGER] Commented the various loads in JaegerFromTracer. 2010-08-10 14:05:27 -07:00
Sean Stangl
d03a42819f [JAEGER] Fix 3a6f645100eb x64 breakage. no_r=fire. 2010-08-10 13:25:55 -07:00
Brian Hackett
fa84710155 [JAEGER] Fast paths for start/end iterators and GC hazard removal, bug 578756. r=dmandelin, gal 2010-08-10 11:12:54 -07:00
Jan de Mooij
c9d0890ba0 [JAEGER] Pop comparison inputs before branching (bug 585915, r=dvander). 2010-08-10 09:40:16 -07:00
Jacob Bramley
a82449c758 [JAEGER] Modify calling code on ARM to fix most trace tests (with --methodjit-only). [Bug 581956] [r=dmandelin] 2010-08-10 10:28:23 +01:00
Chris Leary
6ce900676e Bug 585341: fix non-default-getter on with in IC. (r=dvander) 2010-08-09 19:11:24 -07:00
Nicholas Nethercote
a4a2356d6b [JAEGER] Bug 585542 - JM: reorder Add() to account for common cases. r=dvander. 2010-08-09 18:20:23 -07:00
David Mandelin
5bcca6fa29 [JAEGER] Bug 585794 temporary fix followup: undisable getelem PICs 2010-08-09 16:21:49 -07:00
David Mandelin
7d07d174fc [JAEGER] Bug 585749 temporary fix: update cached native iterator's shape array when creating the cache entry 2010-08-09 15:26:19 -07:00
Sean Stangl
ce3d671386 [JAEGER] Fix PIC resetting. b=585750, r=dvander. 2010-08-09 15:13:39 -07:00
David Anderson
83892ce23c [JAEGER] Fixed CALLPROP ICs not reseting the second shape guard offset (bug 585540).
--HG--
extra : rebase_source : 6de6f362a12483838bdc3c571fe7e75d8cc0074d
2010-08-09 12:53:00 -07:00
David Mandelin
8b74c172ba [JAEGER] Bug 585226: fix offset used to reset bindname PIC, r=dvander 2010-08-06 18:03:01 -07:00
David Mandelin
df3e6a9e74 [JAEGER] Merge from tracemonkey. 2010-08-09 11:36:39 -07:00
Jan de Mooij
4f330bd38a [JAEGER] Convert result of division to integer if possible (bug 585272, r=dvander). 2010-08-09 10:18:29 -07:00
David Anderson
ab2d2410fd [JAEGER] Fixed incorrect use of syncExit() in relational compare (bug 585391). 2010-08-08 19:58:42 -07:00
David Anderson
521e364261 [JAEGER] Another semi-rewrite of LOCALINC for edge cases (bug 585408). 2010-08-08 19:26:38 -07:00
David Anderson
604f0a0760 [JAEGER] Fixed bugs when LOCALINC and friends took slow paths (bug 584607, r=sstangl). 2010-08-06 18:44:31 -07:00
Sean Stangl
1c7dffaedb [JAEGER] Use MAX_PIC_STUBS define. r=dvander. 2010-08-06 16:27:39 -07:00
David Mandelin
a2a7b11dcb [JAEGER] Fix recent regression in jstest content/base/test/test_bug333198.html 2010-08-06 15:14:21 -07:00
David Mandelin
d17042d2e4 [JAEGER] Bug 584928: fix wrong END_CASE argument in the compiler 2010-08-06 14:38:10 -07:00
Sean Stangl
8082b01358 [JAEGER] Correct ic::BindName::disable() return. b=584587, r=dvander. 2010-08-06 14:12:57 -07:00
Sean Stangl
6e263ae356 [JAEGER] Fix TABLESWITCH, LOOKUPSWITCH. b=584646, r=dvander. 2010-08-06 12:03:45 -07:00
Sean Stangl
3d93fc270c [JAEGER] Don't generate SetGlobalName MIC if !writable. b=584647, r=dvander. 2010-08-06 12:02:38 -07:00
David Anderson
f6a63a37bc [JAEGER] Fixed PIC bitfield being too small (bug 584644). 2010-08-06 11:59:33 -07:00
David Mandelin
314a2c0c91 Merge. 2010-08-06 11:41:42 -07:00
David Mandelin
ddcca372a7 Backed out changeset a661b26a83a1 due to tinderbox failures. 2010-08-06 11:41:28 -07:00
David Mandelin
d54542edd6 Merge. 2010-08-06 11:17:29 -07:00
Leon Sha
dd23db1af5 [JAEGER] Multiple cases failed in JaegerMonkey on Solaris x86 compiled with Sun Studio 12. r=dvander 2010-08-06 11:13:32 +08:00
Sean Stangl
5b1107a5ba [JAEGER] Try converting jsop_neg() constant doubles to int32. b=584838, r=dvander. 2010-08-05 18:54:38 -07:00
David Mandelin
e2ce3a3d92 [JAEGER] Bug 584579: force string tag on result of addition only
if one operator is a string and the other cannot be a string object, r=dvander

--HG--
extra : rebase_source : 73f00995da7a237408050ca58aebad74be27778e
2010-08-05 18:38:44 -07:00
Andrew Drake
469286fcd4 [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -07:00
Jan De Mooij
335c2b44df [JAEGER] Constant fold neg on ints better (bug 584838, r=dvander). 2010-08-05 16:09:47 -07:00
David Mandelin
2bd80dd548 [JAEGER] Fix MSVC build bustage from recent changesets 2010-08-05 16:04:02 -07:00
Alan Pierce
680c70a8de [JAEGER] Bug 584605: Fix >> on constants. r=dvander. 2010-08-05 15:51:07 -07:00