fix stacktrace problem found by twisti
authorjowenn <none@none>
Fri, 10 Jun 2005 10:01:44 +0000 (10:01 +0000)
committerjowenn <none@none>
Fri, 10 Jun 2005 10:01:44 +0000 (10:01 +0000)
src/vm/jit/x86_64/patcher.c

index 70f9131c8c7549b3aa24834f2ad74b6892ff3267..c72b49b7fc850bb692efc99c21cab8c41c0b3e82 100644 (file)
@@ -28,7 +28,7 @@
 
    Changes:
 
-   $Id: patcher.c 2581 2005-06-08 10:31:36Z twisti $
+   $Id: patcher.c 2632 2005-06-10 10:01:44Z jowenn $
 
 */
 
@@ -119,7 +119,7 @@ bool patcher_get_putstatic(u1 *sp)
 
        /* check if the field's class is initialized */
 
-       if (!helper_initialize_class(beginJavaStack, fi->class, ra)) {
+       if (!helper_initialize_class(beginJavaStack, fi->class, ra+5)) {
                PATCHER_MONITOREXIT;
 
                return false;