vm now free of global variables
This commit is contained in:
parent
5d45e630c5
commit
382bc34f93
4 changed files with 12 additions and 17 deletions
|
|
@ -41,6 +41,8 @@ type
|
|||
backend*: RootRef # minor hack so that a backend can extend this easily
|
||||
config*: ConfigRef
|
||||
cache*: IdentCache
|
||||
vm*: RootRef # unfortunately the 'vm' state is shared project-wise, this will
|
||||
# be clarified in later compiler implementations.
|
||||
doStopCompile*: proc(): bool {.closure.}
|
||||
usageSym*: PSym # for nimsuggest
|
||||
owners*: seq[PSym]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue