We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 151699e commit 42abedbCopy full SHA for 42abedb
interp/interp.go
@@ -130,11 +130,15 @@ type Interpreter struct {
130
// architectures.
131
id uint64
132
133
+ // nindex is a node number incremented for each new node.
134
+ // It is used for debug (AST and CFG graphs). As it is atomically
135
+ // incremented, keep it aligned on 64 bits boundary.
136
+ nindex int64
137
+
138
name string // name of the input source file (or main)
139
140
opt // user settable options
141
cancelChan bool // enables cancellable chan operations
- nindex int64 // next node index
142
fset *token.FileSet // fileset to locate node in source code
143
binPkg Exports // binary packages used in interpreter, indexed by path
144
rdir map[string]bool // for src import cycle detection
0 commit comments