source: Deliverables/D2.2/8051/src/clight/clightCasts.mli @ 818

Last change on this file since 818 was 740, checked in by ayache, 9 years ago

New memory model and bug fixes in 8051 branch. Added primitive operations in interpreters from Clight to LIN.

File size: 337 bytes
2(** [simplify p] removes unnecessary casts in the Clight program [p].
4    Example: [(char) ((int)x + (int)y)] where [x] and [y] are of type [char]
5    will be transformed into [x + y]. Primitive operations are thus supposed to
6    be polymorphic, but working only on homogene types. *)
8val simplify : Clight.program -> Clight.program
Note: See TracBrowser for help on using the repository browser.