Merge branch 'master' into harmony-v3.0.23

This commit is contained in:
alexlamsl
2017-07-02 17:47:21 +08:00
8 changed files with 182 additions and 96 deletions

View File

@@ -1299,6 +1299,7 @@ issue_2105: {
options = {
collapse_vars: true,
inline: true,
passes: 3,
reduce_vars: true,
side_effects: true,
unused: true,
@@ -1324,7 +1325,7 @@ issue_2105: {
});
}
expect: {
!void function() {
(function() {
var quux = function() {
console.log("PASS");
};
@@ -1334,7 +1335,7 @@ issue_2105: {
quux();
}
};
}().prop();
})().prop();
}
expect_stdout: "PASS"
}
@@ -1357,7 +1358,7 @@ issue_2136_1: {
expect_stdout: "[]"
node_version: ">=6"
}
/*
issue_2136_2: {
options = {
collapse_vars: true,
@@ -1409,7 +1410,7 @@ issue_2136_3: {
expect_stdout: "2"
node_version: ">=6"
}
*/
issue_2163: {
options = {
pure_funcs: [ "pure" ],