Changes:
- $Id: patcher.c 7581 2007-03-26 07:23:16Z pm $
+ $Id: patcher.c 7839 2007-04-29 22:46:56Z pm $
*/
case REG_ITMP1:
/* First M_ALD is into ITMP1 */
/* INSTANCEOF code */
+
+ *(u4 *)(ra + SZ_L + SZ_L) |= (u2)(s2)(- c->index);
+ *(u4 *)(ra + SZ_L + SZ_L + SZ_AHI + SZ_BRC) |=
+ (u2)(s2)(OFFSET(vftbl_t, interfacetable[0]) -
+ c->index * sizeof(methodptr*));
+
+ break;
+
case REG_ITMP2:
- /* First M_ALD is into ITMP1 */
+ /* First M_ALD is into ITMP2 */
/* CHECKCAST code */
*(u4 *)(ra + SZ_L + SZ_L) |= (u2)(s2)(- c->index);
- *(u4 *)(ra + SZ_L + SZ_L + SZ_AHI + SZ_BRC) |=
+ *(u4 *)(ra + SZ_L + SZ_L + SZ_AHI + SZ_BRC + SZ_ILL) |=
(u2)(s2)(OFFSET(vftbl_t, interfacetable[0]) -
c->index * sizeof(methodptr*));