MCPcopy Create free account
hub / github.com/devosoft/avida / IsLabel

Method IsLabel

avida-core/source/cpu/cInstSet.h:157–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 // Instruction Analysis.
156 int IsNop(const Instruction& inst) const { return (inst.GetOp() < m_lib_nopmod_map.GetSize()); }
157 bool IsLabel(const Instruction& inst) const { return m_inst_lib->Get(GetLibFunctionIndex(inst)).IsLabel(); }
158 bool IsPromoter(const Instruction& inst) const { return m_inst_lib->Get(GetLibFunctionIndex(inst)).IsPromoter(); }
159 bool IsTerminator(const Instruction& inst) const { return m_inst_lib->Get(GetLibFunctionIndex(inst)).IsTerminator(); }
160 bool ShouldStall(const Instruction& inst) const { return m_inst_lib->Get(GetLibFunctionIndex(inst)).ShouldStall(); }

Callers 12

FindLabelStartMethod · 0.45
FindLabelForwardMethod · 0.45
FindLabelBackwardMethod · 0.45
ReadInstMethod · 0.45
FindLabelStartMethod · 0.45
FindLabelForwardMethod · 0.45
FindLabelBackwardMethod · 0.45
ReadInstMethod · 0.45
FindLabelStartMethod · 0.45
FindLabelForwardMethod · 0.45
FindLabelBackwardMethod · 0.45
ReadInstMethod · 0.45

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected