about summary refs log tree commit diff
path: root/pkg/lang/vm/code/pos.go
blob: 90deb3396f678abb23f9212deb66d96eb92bdd32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package code

type Pos struct {
	Module int
	PC     int
}

func NewPos(module int, pc int) Pos {
	return Pos{
		Module: module,
		PC:     pc,
	}
}