< prev index next >

src/hotspot/os_cpu/linux_s390/thread_linux_s390.hpp

Print this page

        

@@ -31,23 +31,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 + 14);
-    }
-
-    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 >