use nitg to bootstrap; drop bootstrap of nitc
[nit.git] / src / analysis / allocate_iregister_slots.nit
index 98c8e89..08ae41d 100644 (file)
@@ -15,7 +15,7 @@
 # limitations under the License.
 
 # iregisters slot allocation
-package allocate_iregister_slots
+module allocate_iregister_slots
 
 import icode
 private import primitive_info
@@ -26,7 +26,7 @@ private import primitive_info
 #  * flow control
 #  * register aliasing
 #  * IMove optimization
-class IRegisterSlotAllocationVisitor
+private class IRegisterSlotAllocationVisitor
        super ICodeVisitor
        # The visitor works in two pass:
        # First pass is used to detect first and last iregisters occurences and slot groups
@@ -238,7 +238,7 @@ class IRegisterSlotAllocationVisitor
 end
 
 # Group or equivalent slots shared by registers
-class SlotGroup
+private class SlotGroup
        # The free slots in the group
        var _free: List[Int] = new List[Int]