readme: add information section
[nit.git] / src / nitvm.nit
index 5e5dde3..e81b20d 100644 (file)
@@ -18,7 +18,6 @@
 module nitvm
 
 import vm
-import vm_optimizations
 import frontend
 
 # Create a tool context to handle options and paths
@@ -46,7 +45,7 @@ var mmodules = modelbuilder.parse([progname])
 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