UNPKG

@specs-feup/clava

Version:

A C/C++ source-to-source compiler written in Typescript

9 lines (7 loc) 324 B
import { FunctionJp } from "../../Joinpoints.js"; import RemoveShadowing from "../code/RemoveShadowing.js"; import SingleReturnFunction from "../pass/SingleReturnFunction.js"; export default function PrepareForInlining($function: FunctionJp) { new SingleReturnFunction().apply($function); RemoveShadowing($function); }