icode: add a way to output icodes without line numbers and/or locations
[nit.git] / src / nitc.nit
index 232c404..6f2bd3e 100644 (file)
@@ -121,11 +121,11 @@ special AbstractCompiler
                                        end
                                        if routine == null then continue
                                        print "**** Property {p.full_name} ****"
-                                       var icd = new ICodeDumper
+                                       var icd = new ICodeDumper(true, true)
                                        routine.dump(icd)
                                        print "**** OPTIMIZE {p.full_name} ****"
                                        routine.optimize(mod)
-                                       icd = new ICodeDumper
+                                       icd = new ICodeDumper(true, true)
                                        routine.dump(icd)
                                end
                        end