gecko/js
Edwin Smith 327efa9892 Only perform the disp32->disp8 addressing mode optimization on valid instructions (bug 543440 r=dvander+)
RIP-relative addressing uses mod 00 "disp32" encoding, but mod_disp32() assumes
all instructions passed in can be optimized to disp8 encoding if the actual
displacement is 8-bit.  This is invalid for mode 00 modes, including RIP addressing.

mod_disp32() can still do the right thing in the other arm of its branch; this
patch removes the assert and tightens the check for the disp8 case.

--HG--
extra : convert_revision : b534b9289ca8a111f16fbf0b0711b5277be440f4
2010-04-14 16:22:14 -04:00
..
jsd Bug 469226 every method in jsd-xpc would needs to push a frame before calling jsd_ to make quickstubs happy 2010-03-12 07:50:10 +01:00
narcissus Rename ecmaStrictMode to ecma3OnlyMode, use fresh prototype object initialiser for better style. 2010-03-14 15:46:39 -05:00
src Only perform the disp32->disp8 addressing mode optimization on valid instructions (bug 543440 r=dvander+) 2010-04-14 16:22:14 -04:00
landbranch.pl