diff src/cpu/x86/vm/frame_x86.cpp @ 1938:1aa5b22a7716

Support for custom stack area (needed for deoptimization).
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Mon, 27 Dec 2010 14:22:55 +0100
parents 3e8fbc61cee8
children 06f017f7daa7
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.cpp	Thu Dec 23 22:14:31 2010 +0100
+++ b/src/cpu/x86/vm/frame_x86.cpp	Mon Dec 27 14:22:55 2010 +0100
@@ -219,6 +219,9 @@
   if (TracePcPatching) {
     tty->print_cr("patch_pc at address" INTPTR_FORMAT " [" INTPTR_FORMAT " -> " INTPTR_FORMAT "] ",
                   &((address *)sp())[-1], ((address *)sp())[-1], pc);
+    tty->print_cr("sp[0]: " INTPTR_FORMAT, ((intptr_t*)sp())[0]);
+    tty->print_cr("sp[1]: " INTPTR_FORMAT, ((intptr_t*)sp())[1]);
+    tty->print_cr("sp[2]: " INTPTR_FORMAT, ((intptr_t*)sp())[2]);
   }
   ((address *)sp())[-1] = pc;
   _cb = CodeCache::find_blob(pc);