Changes:
- $Id: patcher.c 3475 2005-10-21 12:03:06Z twisti $
+ $Id: patcher.c 3518 2005-10-28 14:47:11Z twisti $
*/
disp = *((s4 *) (sp + 1 * 8));
pv = (u1 *) *((ptrint *) (sp + 0 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the fieldinfo */
#endif
uf = (unresolved_field *) *((ptrint *) (sp + 2 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the fieldinfo */
/* calculate and set the new return address */
- ra = ra - (3 * 4);
+ ra = ra - 1 * 4;
*((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
PATCHER_MONITORENTER;
/* calculate and set the new return address */
- ra = ra - (3 * 4);
+ ra = ra - 1 * 4;
*((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
PATCHER_MONITORENTER;
disp = *((s4 *) (sp + 1 * 8));
pv = (u1 *) *((ptrint *) (sp + 0 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the classinfo */
disp = *((s4 *) (sp + 1 * 8));
pv = (u1 *) *((ptrint *) (sp + 0 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the classinfo */
/* calculate and set the new return address */
- ra = ra - 3 * 4;
+ ra = ra - 1 * 4;
*((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
PATCHER_MONITORENTER;
disp = *((s4 *) (sp + 1 * 8));
pv = (u1 *) *((ptrint *) (sp + 0 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the fieldinfo */
#endif
um = (unresolved_method *) *((ptrint *) (sp + 2 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the fieldinfo */
#endif
um = (unresolved_method *) *((ptrint *) (sp + 2 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the fieldinfo */
disp = *((s4 *) (sp + 1 * 8));
pv = (u1 *) *((ptrint *) (sp + 0 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the fieldinfo */
#endif
cr = (constant_classref *) *((ptrint *) (sp + 2 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the fieldinfo */
disp = *((s4 *) (sp + 1 * 8));
pv = (u1 *) *((ptrint *) (sp + 0 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* get the fieldinfo */
#endif
c = (classinfo *) *((ptrint *) (sp + 2 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* check if the class is initialized */
#endif
uc = (unresolved_class *) *((ptrint *) (sp + 2 * 8));
- /* calculate and set the new return address */
-
- ra = ra - 2 * 4;
- *((ptrint *) (sp + 5 * 8)) = (ptrint) ra;
-
PATCHER_MONITORENTER;
/* resolve the class */