| Age | Commit message (Collapse) | Author |
|
|
|
Replace with more sensible comment to see LICENSE rather than including the
whole license in every file
|
|
if methods has parens, then referencing without parens
is a method value, you don't need following underscore
|
|
Changed code from match statements in Mappers.scala to methods on the various
IR classes. This allows custom IR nodes to implement the mapper functions and
thus work (ie. not match error) when map is called on them.
This also should have a marginal performance increase because of use of virtual
function calls rather than match statements.
|
|
|
|
* Added RemoveEmpty.scala, which removes Empty and nested Blocks
* Reused squashEmpty from ExpandWhens by moving it to Utils
* Squash EmptyStmts in ExpandWhens correctly
|