Commit 547a641e authored by arv's avatar arv Committed by Commit bot

[strong] Add more function arity tests

This is a follow up to https://codereview.chromium.org/1115263004/

BUG=v8:3956
LOG=N
R=rossberg@chromium.org

Review URL: https://codereview.chromium.org/1141603002

Cr-Commit-Position: refs/heads/master@{#28379}
parent bbca83c3
...@@ -290,6 +290,19 @@ function generateSpread(n) { ...@@ -290,6 +290,19 @@ function generateSpread(n) {
})(); })();
(function TestOptimized3() {
function f(x, y) {}
function g() {
'use strong';
f(1);
}
g();
%OptimizeFunctionOnNextCall(f);
g();
})();
// https://code.google.com/p/v8/issues/detail?id=4077 // https://code.google.com/p/v8/issues/detail?id=4077
// (function NoParametersSuper() { // (function NoParametersSuper() {
// 'use strong'; // 'use strong';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment