Skip to content

Commit

Permalink
Remove todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-pino committed Aug 21, 2023
1 parent 10c37aa commit 879f20d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/vm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ func (vm *VirtualMachine) getCellOp1(instruction *Instruction, op0Cell *mem.Cell
}
op1Address = mem.CreateMemoryAddress(op0Address.SegmentIndex, op0Address.Offset)
case Imm:
// todo(rodro): would it be sensitive to check instruction.OffOp1 == 1?
op1Address = mem.CreateMemoryAddress(programSegment, vm.Context.Pc)
case FpPlusOffOp1:
op1Address = mem.CreateMemoryAddress(executionSegment, vm.Context.Fp)
Expand Down

0 comments on commit 879f20d

Please sign in to comment.