virtualization-lms-core
virtualization-lms-core copied to clipboard
Staging classes in addition to functions
I am using LMS for my project, but unfortunately, it is not possible (or at best, not that easy) to use it for my whole system. Currently, it is only possible to use LMS for lifting a function, but even the simplest Scala projects are made up of class hierarchies. As the first step in this road, we need to capture class attributes used in method bodies, for two reasons: 1- There is no need to pass all class attributes to each method of the class, when we want to use staging for that method. 2- It will be possible to use staging for class members as well (because passing class attributes as arguments to each method of class will prevent these variables to be staged, specially when they are complex data structures)