MCPcopy Create free account
hub / github.com/cvut/qtrvsim / writeback_inst_addr

Method writeback_inst_addr

src/gui/windows/program/programdock.cpp:129–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void ProgramDock::writeback_inst_addr(machine::Address addr) {
130 if (addr != machine::STAGEADDR_NONE) { follow_addr[FOLLOWSRC_WRITEBACK] = addr; }
131 emit stage_addr_changed(ProgramModel::STAGEADDR_WRITEBACK, addr);
132 if (follow_source == FOLLOWSRC_WRITEBACK) { update_follow_position(); }
133}
134
135void ProgramDock::update_follow_position() {
136 if (follow_source != FOLLOWSRC_NONE) { emit focus_addr(follow_addr[follow_source]); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected