Helper to create a function from CLIF IR.
(code: &str)
| 117 | |
| 118 | /// Helper to create a function from CLIF IR. |
| 119 | fn function(code: &str) -> Function { |
| 120 | parse_functions(code).unwrap().into_iter().next().unwrap() |
| 121 | } |
| 122 | |
| 123 | /// Build an empty function with a single return. |
| 124 | fn empty_function() -> Function { |