Merge branch 'master' into harmony-v2.8.2

This commit is contained in:
alexlamsl
2017-03-01 11:06:33 +08:00
5 changed files with 54 additions and 14 deletions

View File

@@ -431,6 +431,32 @@ unsafe_object_repeated: {
}
}
unsafe_object_accessor: {
options = {
evaluate: true,
reduce_vars: true,
unsafe: true,
}
input: {
function f() {
var a = {
get b() {},
set b() {}
};
return {a:a};
}
}
expect: {
function f() {
var a = {
get b() {},
set b() {}
};
return {a:a};
}
}
}
unsafe_function: {
options = {
evaluate : true,