icode: method inlining moves from IRoutine to ICodeBuilder
[nit.git] / src / compiling / compiling_global.nit
index 745a523..bdc7e55 100644 (file)
@@ -881,7 +881,7 @@ redef class MMLocalClass
                                                var ir = p.iroutine
                                                if ir == null then continue
                                                # FIXME: Not compatible with sep compilation
-                                               var e = ir.inline_in_seq(icb.seq, iselfa).as(not null)
+                                               var e = icb.inline_routine(ir, iselfa).as(not null)
                                                icb.stmt(new IAttrWrite(p, iself, e))
                                        end
                                end