Skip to content
Snippets Groups Projects
Commit 065f147a authored by Erwan Jahier's avatar Erwan Jahier
Browse files

Change back some of the changes done in 716f0d5b

where I've removed the handling of polymorphism.
parent f2b27b89
No related branches found
No related tags found
No related merge requests found
(* Time-stamp: <modified the 26/06/2014 (at 16:59) by Erwan Jahier> *) (* Time-stamp: <modified the 26/06/2014 (at 17:59) by Erwan Jahier> *)
(* (*
Source 2 source transformation : Source 2 source transformation :
...@@ -14,7 +14,7 @@ let dbg = (Verbose.get_flag "poly") ...@@ -14,7 +14,7 @@ let dbg = (Verbose.get_flag "poly")
let (is_predef_overloaded : Lic.node_key -> bool) = let (is_predef_overloaded : Lic.node_key -> bool) =
fun nk -> fun nk ->
match fst nk with match fst nk with
| ("Lustre",("times"|"slash"|"uminus"|"minus"|"plus")) -> true | ("Lustre",("times"|"slash"|"uminus"|"minus"|"plus"|"lt"|"lte"|"gt"|"gte")) -> true
| _ -> false | _ -> false
(** utile : on ne traite que les poly non externe *) (** utile : on ne traite que les poly non externe *)
......
(* Time-stamp: <modified the 26/06/2014 (at 17:37) by Erwan Jahier> *) (* Time-stamp: <modified the 26/06/2014 (at 17:58) by Erwan Jahier> *)
(** Synchronous Object Code for Predefined operators. *) (** Synchronous Object Code for Predefined operators. *)
...@@ -140,6 +140,14 @@ let of_soc_key : Soc.key -> Soc.t = ...@@ -140,6 +140,14 @@ let of_soc_key : Soc.key -> Soc.t =
| "Lustre::gt" -> (make_soc sk (sp tl) [step21 None]) | "Lustre::gt" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::lte" -> (make_soc sk (sp tl) [step21 None]) | "Lustre::lte" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::gte" -> (make_soc sk (sp tl) [step21 None]) | "Lustre::gte" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::ilt" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::igt" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::ilte" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::igte" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::rlt" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::rgt" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::rlte" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::rgte" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::and" -> (make_soc sk (sp tl) [step21 None]) | "Lustre::and" -> (make_soc sk (sp tl) [step21 None])
| "Lustre::eq" -> (make_soc sk (sp tl) [step21 None]) | "Lustre::eq" -> (make_soc sk (sp tl) [step21 None])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment