TiarkRompf / virtualization-lms-core

A Framework for Runtime Code Generation and Compiled DSLs
http://scala-lms.github.com
BSD 3-Clause "New" or "Revised" License
324 stars 91 forks source link

add remap to codegen for functions #63

Closed manojo closed 11 years ago

manojo commented 11 years ago

The important change here is that the return value in a function needs to be of the correct type.

This change is necessary when generating code with structs.