Revision 95fb046e src/machine_code.ml
src/machine_code.ml  

291  291  
292  292 
let translate_decl nd sch = 
293  293 
(*Log.report ~level:1 (fun fmt > Printers.pp_node fmt nd);*) 
294  
295 
let sorted_eqs = sort_equations_from_schedule nd sch in 

294 
let schedule = sch.Scheduling_type.schedule in 

295 
let sorted_eqs = sort_equations_from_schedule nd schedule in


296  296 
let constant_eqs = constant_equations nd in 
297  297  
298  298 
(* In case of non functional backend (eg. C), additional local variables have 
...  ...  
366  366 
}; 
367  367 
mspec = nd.node_spec; 
368  368 
mannot = nd.node_annot; 
369 
msch = Some sch; 

369  370 
} 
370  371  
371  372 
(** takes the global declarations and the scheduling associated to each node *) 
...  ...  
374  375 
List.map 
375  376 
(fun decl > 
376  377 
let node = node_of_top decl in 
377 
let sch = (Utils.IMap.find node.node_id node_schs).Scheduling.schedule in


378 
let sch = Utils.IMap.find node.node_id node_schs in


378  379 
translate_decl node sch 
379  380 
) nodes 
380  381 
Also available in: Unified diff