Adds the parallelization_phase to the frontend execution
authorBlackMinou <romain.chanoir@viacesi.fr>
Thu, 26 Mar 2015 06:30:27 +0000 (07:30 +0100)
committerBlackMinou <romain.chanoir@viacesi.fr>
Sun, 29 Mar 2015 04:21:44 +0000 (06:21 +0200)
Signed-off-by: BlackMinou <romain.chanoir@viacesi.fr>

src/frontend/frontend.nit

index 9d39890..28e36bd 100644 (file)
@@ -25,6 +25,7 @@ import serialization_phase
 import deriving
 import check_annotation
 import glsl_validation
+import parallelization_phase
 
 redef class ToolContext
        # FIXME: there is conflict in linex in nitc, so use this trick to force invocation
@@ -42,6 +43,7 @@ redef class ToolContext
                # Code genrated by the serialization phase must be analyzed for literals
                phases.add_edge(literal_phase, serialization_phase_pre_model)
                phases.add_edge(modelize_class_phase, serialization_phase_pre_model)
+               phases.add_edge(modelize_class_phase, parallelization_phase)
                return true
        end
 end