simit-lang / simit

A language for computing on sparse systems
http://simit-lang.org
Other
452 stars 52 forks source link

Function inlining cost model #86

Open Lugatod opened 7 years ago

Lugatod commented 7 years ago

The inlining mechanism seems to not fully work on this kind of example

func A() 
end  
func B
  A();
end
func C
  map B() on elems;
end

In the last phase of simit-dump, the func A is still present.