| 231 | } |
| 232 | |
| 233 | void DisassemblyView::contextFollowBranch() |
| 234 | { |
| 235 | DisassemblyLineInfo line; |
| 236 | |
| 237 | m_disassemblyManager.getLine(m_selectedAddressStart, true, line); |
| 238 | |
| 239 | if (line.type == DISTYPE_OPCODE || line.type == DISTYPE_MACRO) |
| 240 | { |
| 241 | if (line.info.isBranch) |
| 242 | gotoAddressAndSetFocus(line.info.branchTarget); |
| 243 | else if (line.info.hasRelevantAddress) |
| 244 | gotoAddressAndSetFocus(line.info.releventAddress); |
| 245 | } |
| 246 | } |
| 247 | |
| 248 | void DisassemblyView::contextGoToAddress() |
| 249 | { |