| 65 | |
| 66 | |
| 67 | bool StackFrame::unwindStub(instruction_t* entry, const char* name, uintptr_t& pc, uintptr_t& sp, uintptr_t& fp) { |
| 68 | instruction_t* ip = (instruction_t*)pc; |
| 69 | if (ip == entry || *ip == 0xe12fff1e |
| 70 | || startsWith(name, "itable") |
| 71 | || startsWith(name, "vtable") |
| 72 | || streq(name, "InlineCacheBuffer")) |
| 73 | { |
| 74 | pc = link(); |
| 75 | return true; |
| 76 | } |
| 77 | return false; |
| 78 | } |
| 79 | |
| 80 | bool StackFrame::unwindPrologue(NMethod* nm, uintptr_t& pc, uintptr_t& sp, uintptr_t& fp) { |
| 81 | instruction_t* ip = (instruction_t*)pc; |
no test coverage detected