-
Enhancement
-
Resolution: Unresolved
-
P4
-
17
-
generic
-
generic
Currently, there are multiple buckets for late_inlines. I think we'd better add more comments for them.
1._string_late_inlines
2. _late_inlines -> incrementally (including MH inlines and force inlines)
3. _boxing_late_inlines
4. _vector_reboxing_late_inlines
And there are many auxiliary member functions and variables in Compile which only serve for late liners. I think we can provide a standalone class (LateInliner?) to include them and move those code out of compile.hpp/cpp.
Another notable variable is _inlining_incrementally. it looks like a global flag to toggle on/off for those late inliners. I think we should use RAII idiom for it.
1._string_late_inlines
2. _late_inlines -> incrementally (including MH inlines and force inlines)
3. _boxing_late_inlines
4. _vector_reboxing_late_inlines
And there are many auxiliary member functions and variables in Compile which only serve for late liners. I think we can provide a standalone class (LateInliner?) to include them and move those code out of compile.hpp/cpp.
Another notable variable is _inlining_incrementally. it looks like a global flag to toggle on/off for those late inliners. I think we should use RAII idiom for it.