Commit Graph

16242 Commits

Author SHA1 Message Date
shaver@mozilla.org
3f51971710 more detailed type-instability diagnostics 2008-07-07 23:51:56 -04:00
Karl Tomlinson
b34fdeeb70 include gdk/gdkscreen.h in system-headers. b=435764 r=roc 2008-07-08 15:44:54 +12:00
Karl Tomlinson
b768d04fd4 remove comma at end of enumerator list from 9bbea3b66376 2008-07-08 14:37:41 +12:00
Andreas Gal
205ab22204 We urgently need shaver's magic native stack/typeframe iterator. Fixed exit map builder to skip argv/vars for global scope. 2008-07-07 19:29:54 -07:00
Andreas Gal
2f939b51d1 Fixed increment for DECGVAR. 2008-07-07 19:27:36 -07:00
Andreas Gal
a0c960adee Bugfixes to the native stack and typemap handling code. 2008-07-07 19:20:40 -07:00
Karl Tomlinson
60a584dc2e Comments for Bug 432389 – CapsLock and NumLock state should be preferred at KeyTranslate.
r=josh sr=roc
2008-07-08 14:19:56 +12:00
Karl Tomlinson
8a008f0564 Bug 435764 – crash [@ cairo_draw_with_xlib] painting windowless plugins.
Move ws_info set-up from nsObjectFrame::CallSetWindow().
Provide gfxXlibNativeRenderer::NativeDraw with Screen and Colormap.
r+sr=roc
2008-07-08 14:15:40 +12:00
Andreas Gal
56397d3c0e Attempt at cleaning up the typemap/stack frame iteration code. 2008-07-07 18:35:38 -07:00
Reed Loden
fc1382d409 Alphabetize layout/reftests/reftest.list and add box-shadow's reftest.list. [p=reed r+sr=roc] 2008-07-07 20:33:21 -05:00
Andreas Gal
6aaa63a172 ngvars and the slot index are not related, so don't rely on ngvars < JS_INITIAL_NSLOTS to decide whether dslots exists 2008-07-07 18:08:28 -07:00
Michael Ventnor
5e03977e53 Bug 212633 - "Add support for CSS3 box-shadow" (reftests) [p=ventnor.bugzilla@gmail.com (Michael Ventnor)] 2008-07-07 19:58:37 -05:00
Michael Ventnor
8d8eda2eae Bug 212633 - "Add support for CSS3 box-shadow" (rendering support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=roc] 2008-07-07 19:57:47 -05:00
Michael Ventnor
3a7677bb26 Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-07 19:56:52 -05:00
Mats Palmgren
24a8f7bfba Annotate the out param with [shared] and add a comment about it. b=434429 r+sr=bzbarsky 2008-07-08 02:23:04 +02:00
Andreas Gal
0fe5682c00 Make gvar ops use the global varobj values we unbox onto the native stack. The stack offset handling needs more work. 2008-07-07 17:21:54 -07:00
Mats Palmgren
b01b0154dd Fix bug 441360. r+sr=vlad 2008-07-08 02:00:22 +02:00
Mats Palmgren
5605db70df Fix potential memory leak. b=441454 r+sr=vlad 2008-07-08 01:49:39 +02:00
Brad Lassey
b46984e309 Bug 422788 - reduce ambiguous wide/narrow char windows api calls in toolkit 2008-07-07 18:57:08 -04:00
Brad Lassey
af375d4358 Bug 422791 - Reduce ambiguous wide/narrow char API calls in uriloader r=bsmedberg 2008-07-07 18:57:08 -04:00
Andreas Gal
a4f454ae32 We shouldn't read globals onto the stack if the global object is used by another context so we just refuse to execute the trace in this case. 2008-07-07 15:23:48 -07:00
Andreas Gal
1d36b97516 Unbox global variables onto the native stack and re-box them. This has certain synchronization implications but will make top-level scripts quite a bit faster. 2008-07-07 15:15:56 -07:00
Blake Kaplan
8a415a087a Don't use 'i' if the id was not an index. bug 443843, r=shaver 2008-07-07 23:01:09 +02:00
Blake Kaplan
ec01159cac Don't do things to the object before we're sure it's the right type of object. bug 443569, r=brendan 2008-07-07 23:00:56 +02:00
Andreas Gal
4da1b65be4 Don't try to demote a slot we already decided we can't demote. Also, make sure we only demote additions with constants where the constant fits into an int. 2008-07-07 12:58:28 -07:00
Andreas Gal
f764b4bb28 Merge. 2008-07-07 02:59:41 -07:00
Andreas Gal
399a49e73a Removed an unused variable from the avmplus glue code. 2008-07-07 02:59:20 -07:00
Brendan Eich
affcda00d2 Merge. 2008-07-07 02:56:52 -07:00
Brendan Eich
175ce14f5b Indentation and comment wrapping (at 79, 99 looks too long and most comments still avoid going past 80+/-). 2008-07-07 02:55:03 -07:00
Andreas Gal
ef4a0f7533 Merge. 2008-07-07 02:51:36 -07:00
Andreas Gal
e4f8fa2f97 Sync nanojit with tamarin-tracing tip. 2008-07-07 02:47:40 -07:00
Brendan Eich
6d65efee60 Use jsopcode.tbl for tracer JSOP_* method decls; trim trailing whitespace. 2008-07-07 02:21:04 -07:00
Andreas Gal
e15355bc04 Cleanup the native frame -> interpreter frame boxing code. We sometimes end up with numbers on our stack in double format that are really ints. We have to detect those and properly store them as in on the interpreter stack. 2008-07-07 01:37:40 -07:00
Andreas Gal
a38e8a96c3 Add support to demote stores of constants that are currently represented as float but are really integers. bitwise.js is now compiled complete fp-casts free. 2008-07-07 01:05:53 -07:00
Andreas Gal
efa3309778 Demote floating point comparisons even if one side is constant (bug in nanojit, filed as #443884 against tamarin). Also demote add/sub/mul using the integer overflow detection side exit code that Ed adopted upstream. Tight loops (bitwise) are not emitted completely as integer code after the initial compilation using doubles triggered a speculative demotion of the context slots. 2008-07-07 00:43:40 -07:00
Andreas Gal
8ce0de1ad7 Sink type conversions into the side exit by updating the map and seeing though the cast in the store (in ExitFilter). Add a whole bunch of asserts on the varios speculative type states to make sure we get the state machine right. Import speculated integer values as integers into the trace (indicate in entry map). 2008-07-07 00:10:22 -07:00
Andreas Gal
34c2283213 Added loop-tail driven context slot type demotion. Without all the buzzwords, what this essentially means is that we detect if the last value that the trace leaves in a slot (which is the value that flows along the backedge back to the loop header) is known to originate from an integer value via i2f, we flag the slot as type integer and recompile the trace. We do this where type stability is certain (result of an and, i.e.) or where its very likely (++operator). If the speculation fails, the same analysis flags the slot as blocked, which means it will always be double. The hope is that this analysis converges quickly (1-2 recompilations tops). 2008-07-06 22:35:19 -07:00
Karl Tomlinson
8ee8338835 missed &s in 15688:953a299d8c32 b=430450 2008-07-07 16:15:07 +12:00
Karl Tomlinson
e41086c923 Correct variable names from 15688:953a299d8c32 b=430450 2008-07-07 15:46:50 +12:00
Andreas Gal
d6172e525e Make sure we don't get the argument order in BoxDouble wrong again. 2008-07-06 20:27:50 -07:00
Andreas Gal
efee2381b5 Make typemap uint8_t and fix order of arguments in call to BoxDouble. 2008-07-06 20:25:49 -07:00
shaver@mozilla.org
9ed160ad12 remove outdated guard (now inferred via filter as needed) 2008-07-06 23:11:59 -04:00
Karl Tomlinson
4aad426736 merge 2008-07-07 15:09:52 +12:00
shaver@mozilla.org
2c69d44f6f we only speak double around here now 2008-07-06 23:01:58 -04:00
Karl Tomlinson
9020a0cc8e Bug 430450 – vertical stripes in windowless plugins.
Snap to pixels and round dirty rect out. r+sr=roc
2008-07-07 14:49:38 +12:00
shaver@mozilla.org
10d122ba09 remove bogus NOT_REACHED 2008-07-06 22:39:02 -04:00
Karl Tomlinson
3fc8bd0f47 Add nsPresContext::AppUnitsToGfxUnits(const nsRect&)
b=430450 r+sr=roc
2008-07-07 14:28:24 +12:00
Gavin Sharp
370c6788cd Debugging followup (bug 431745) 2008-07-06 21:35:18 -04:00
Gavin Sharp
194703ae05 Debugging followup (bug 431745) 2008-07-06 21:10:46 -04:00
Gavin Sharp
206dbf08af Debugging followup (bug 431745) 2008-07-06 21:09:28 -04:00