The structure and array expanser was buggy in presence of polymorphic
nodes (e.g., map<<+,2>>). While fixing that, I put all the functions that deals with polymorphism into a new (Eponymous) dedicated module. The idea to be able to expand polymorphic node is basically the same, as the one for printing polymorphic nodes: we need to wait until the type is instanciated (in GetEff). That delay is implemented by using a stack of nodes.
Showing
- release-lv6/Makefile 2 additions, 0 deletionsrelease-lv6/Makefile
- src/Makefile 5 additions, 4 deletionssrc/Makefile
- src/getEff.ml 17 additions, 3 deletionssrc/getEff.ml
- src/inline.ml 9 additions, 6 deletionssrc/inline.ml
- src/lazyCompiler.ml 13 additions, 25 deletionssrc/lazyCompiler.ml
- src/licDump.ml 8 additions, 22 deletionssrc/licDump.ml
- src/licDump.mli 1 addition, 25 deletionssrc/licDump.mli
- src/polymorphism.ml 54 additions, 0 deletionssrc/polymorphism.ml
- src/polymorphism.mli 44 additions, 0 deletionssrc/polymorphism.mli
- src/structArrayExpand.ml 67 additions, 12 deletionssrc/structArrayExpand.ml
- src/structArrayExpand.mli 1 addition, 1 deletionsrc/structArrayExpand.mli
Loading
Please register or sign in to comment