Merge branch 'master' into harmony-v3.3.1

This commit is contained in:
alexlamsl
2017-12-25 17:34:16 +08:00
4 changed files with 33 additions and 10 deletions

View File

@@ -1548,3 +1548,27 @@ issue_2647_3: {
expect_stdout: "PASS"
node_version: ">=4"
}
recursive_inline: {
options = {
inline: true,
reduce_funcs: true,
reduce_vars: true,
sequences: true,
toplevel: true,
unused: true,
}
input: {
function f() {
h();
}
function g(a) {
a();
}
function h(b) {
g();
if (b) x();
}
}
expect: {}
}