Christian Thalinger
Christian Ullrich
- $Id: jit.c 5814 2006-10-20 14:53:27Z twisti $
+ $Id: jit.c 5817 2006-10-22 00:38:21Z edwin $
*/
u1 *pa;
ptrint *p;
- /* create the stackframeinfo (XPC is equal to RA) */
+ /* create the stackframeinfo (subtract 1 from RA as it points to the */
+ /* instruction after the call) */
- stacktrace_create_extern_stackframeinfo(&sfi, NULL, sp, ra, ra);
+ stacktrace_create_extern_stackframeinfo(&sfi, NULL, sp, ra, ra-1);
/* actually compile the method */