fix unsafe escape analysis in reduce_vars (#2387)

This commit is contained in:
Alex Lam S.L
2017-10-22 03:23:31 +08:00
committed by GitHub
parent 96439ca246
commit 011123223b
4 changed files with 85 additions and 45 deletions

View File

@@ -151,13 +151,13 @@ issue_1841_2: {
function_returning_constant_literal: {
options = {
reduce_vars: true,
unsafe: true,
toplevel: true,
evaluate: true,
cascade: true,
unused: true,
inline: true,
passes: 2,
reduce_vars: true,
side_effects: true,
toplevel: true,
unsafe: true,
unused: true,
}
input: {
function greeter() {