X-Git-Url: http://nitlanguage.org diff --git a/src/compiling/compiling_icode.nit b/src/compiling/compiling_icode.nit index d14b322..e7c063a 100644 --- a/src/compiling/compiling_icode.nit +++ b/src/compiling/compiling_icode.nit @@ -329,7 +329,7 @@ redef class IRoutine # cv must be in the correct function fun compile_to_c(cv: CompilerVisitor, cname: String, args: Array[String]): nullable String do - optimize + optimize(cv.module) var v = new I2CCompilerVisitor(cv, self, cname) return compile_inside_to_c(v, args) end