| 78 | } |
| 79 | |
| 80 | bool StackFrame::unwindPrologue(NMethod* nm, uintptr_t& pc, uintptr_t& sp, uintptr_t& fp) { |
| 81 | instruction_t* ip = (instruction_t*)pc; |
| 82 | instruction_t* entry = (instruction_t*)nm->entry(); |
| 83 | if (ip <= entry) { |
| 84 | pc = link(); |
| 85 | return true; |
| 86 | } |
| 87 | return false; |
| 88 | } |
| 89 | |
| 90 | bool StackFrame::unwindEpilogue(NMethod* nm, uintptr_t& pc, uintptr_t& sp, uintptr_t& fp) { |
| 91 | // Not yet implemented |