< prev index next >

src/hotspot/os_cpu/aix_ppc/thread_aix_ppc.hpp

Print this page

        

@@ -30,22 +30,11 @@
   void pd_initialize() {
     _anchor.clear();
   }
 
   // The `last' frame is the youngest Java frame on the thread's stack.
-  frame pd_last_frame() {
-    assert(has_last_Java_frame(), "must have last_Java_sp() when suspended");
-
-    intptr_t* sp = last_Java_sp();
-    address pc = _anchor.last_Java_pc();
-
-    // Last_Java_pc ist not set, if we come here from compiled code.
-    if (pc == NULL)
-      pc =  (address) *(sp + 2);
-
-    return frame(sp, pc);
-  }
+  frame pd_last_frame();
 
  public:
   void set_base_of_stack_pointer(intptr_t* base_sp) {}
   intptr_t* base_of_stack_pointer()   { return NULL; }
   void record_base_of_stack_pointer() {}
< prev index next >