diff options
author | machenbach@chromium.org <machenbach@chromium.org> | 2014-09-04 10:39:50 +0000 |
---|---|---|
committer | machenbach@chromium.org <machenbach@chromium.org> | 2014-09-04 10:39:50 +0000 |
commit | 9aaa825cf89e1bcfece269a453300ebf4a26d64d (patch) | |
tree | cafb9f526db7a210ba8c2e7a8e3bdd7680710c0f /test/mjsunit | |
parent | 21d700eedcdd6570eff22ece724b63a5eefe78cb (diff) | |
download | v8-9aaa825cf89e1bcfece269a453300ebf4a26d64d.tar.gz |
Version 3.29.41 (based on bleeding_edge revision r23674)
Performance and stability improvements on all platforms.
git-svn-id: https://v8.googlecode.com/svn/trunk@23682 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Diffstat (limited to 'test/mjsunit')
-rw-r--r-- | test/mjsunit/mjsunit.status | 3 | ||||
-rw-r--r-- | test/mjsunit/regress/regress-crbug-387627.js | 13 | ||||
-rw-r--r-- | test/mjsunit/regress/regress-inline-constant-load.js | 27 | ||||
-rw-r--r-- | test/mjsunit/runtime-gen/functionbindarguments.js | 8 | ||||
-rw-r--r-- | test/mjsunit/runtime-gen/loadmutabledouble.js | 6 |
5 files changed, 30 insertions, 27 deletions
diff --git a/test/mjsunit/mjsunit.status b/test/mjsunit/mjsunit.status index ec08a0d2f..c4f7924f2 100644 --- a/test/mjsunit/mjsunit.status +++ b/test/mjsunit/mjsunit.status @@ -510,6 +510,9 @@ }], ############################################################################## ['system == windows', { + # Slow with turbo fan. + 'big-object-literal': [PASS, SLOW], + # BUG(v8:3435) 'debug-script-breakpoints': [PASS, FAIL], }], # 'system == windows' diff --git a/test/mjsunit/regress/regress-crbug-387627.js b/test/mjsunit/regress/regress-crbug-387627.js deleted file mode 100644 index 5c6389b5f..000000000 --- a/test/mjsunit/regress/regress-crbug-387627.js +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2014 the V8 project authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Flags: --allow-natives-syntax - -function f() {} -%FunctionBindArguments(f, {}, undefined, 1); - -f(); -f(); -%OptimizeFunctionOnNextCall(f); -f(); diff --git a/test/mjsunit/regress/regress-inline-constant-load.js b/test/mjsunit/regress/regress-inline-constant-load.js new file mode 100644 index 000000000..303639c74 --- /dev/null +++ b/test/mjsunit/regress/regress-inline-constant-load.js @@ -0,0 +1,27 @@ +// Copyright 2014 the V8 project authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// Flags: --allow-natives-syntax + +var o1 = {}; +var o2 = {}; + +function foo(x) { + return x.bar; +} + +Object.defineProperty(o1, "bar", {value:200}); +foo(o1); +foo(o1); + +function f(b) { + var o = o2; + if (b) { return foo(o) } +} + +f(false); +%OptimizeFunctionOnNextCall(f); +assertEquals(undefined, f(false)); +Object.defineProperty(o2, "bar", {value: 100}); +assertEquals(100, f(true)); diff --git a/test/mjsunit/runtime-gen/functionbindarguments.js b/test/mjsunit/runtime-gen/functionbindarguments.js deleted file mode 100644 index 4d3671625..000000000 --- a/test/mjsunit/runtime-gen/functionbindarguments.js +++ /dev/null @@ -1,8 +0,0 @@ -// Copyright 2014 the V8 project authors. All rights reserved. -// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY -// Flags: --allow-natives-syntax --harmony --harmony-proxies -var _bound_function = function() {}; -var _bindee = new Object(); -var arg2 = undefined; -var _new_length = 1.5; -%FunctionBindArguments(_bound_function, _bindee, arg2, _new_length); diff --git a/test/mjsunit/runtime-gen/loadmutabledouble.js b/test/mjsunit/runtime-gen/loadmutabledouble.js deleted file mode 100644 index 1a2e7e9f9..000000000 --- a/test/mjsunit/runtime-gen/loadmutabledouble.js +++ /dev/null @@ -1,6 +0,0 @@ -// Copyright 2014 the V8 project authors. All rights reserved. -// AUTO-GENERATED BY tools/generate-runtime-tests.py, DO NOT MODIFY -// Flags: --allow-natives-syntax --harmony --harmony-proxies -var arg0 = {foo: 1.2}; -var _index = 1; -%LoadMutableDouble(arg0, _index); |