More private

This commit is contained in:
Ian Gulliver
2021-11-16 15:33:03 -10:00
parent 7ab0aba088
commit 69e69acc6f
2 changed files with 50 additions and 45 deletions

View File

@@ -158,3 +158,8 @@ func (state *State) ret() {
state.running = false
}
}
func (state *State) jump(instructionOffset int64) {
// -1 accounts for the +1 processInstruction()
state.instructionIndex += instructionOffset - 1
}