nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: curl: basic Unix domain socket support
[nit.git]
/
src
/
nitvm.nit
diff --git
a/src/nitvm.nit
b/src/nitvm.nit
index
5e5dde3
..
dae856b
100644
(file)
--- a/
src/nitvm.nit
+++ b/
src/nitvm.nit
@@
-18,8
+18,7
@@
module nitvm
import vm
module nitvm
import vm
-import vm_optimizations
-import frontend
+import frontend::code_gen
# Create a tool context to handle options and paths
var toolcontext = new ToolContext
# Create a tool context to handle options and paths
var toolcontext = new ToolContext
@@
-46,7
+45,7
@@
var mmodules = modelbuilder.parse([progname])
mmodules.add_all modelbuilder.parse(opt_mixins.value)
modelbuilder.run_phases
mmodules.add_all modelbuilder.parse(opt_mixins.value)
modelbuilder.run_phases
-if toolcontext.opt_only_metamodel.value then exit(0)
+if toolcontext.opt_only_metamodel.value then toolcontext.quit
var mainmodule: nullable MModule
var mainmodule: nullable MModule