Commit Graph

2 Commits

Author SHA1 Message Date
alexlamsl
e3f614b15e fix inline handling of AST_Call.args 2017-06-06 22:18:29 +08:00
Alex Lam S.L
3493a182b2 implement function inlining (#2053)
- empty body
- single `AST_Return`
- single `AST_SimpleStatement`
- avoid `/*#__PURE__*/`

Miscellaneous
- enhance single-use function substitution

fixes #281
2017-06-06 05:49:53 +08:00