[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}
This commit is contained in:
parent
bbca83c398
commit
547a641e2c
@ -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
|
||||
// (function NoParametersSuper() {
|
||||
// 'use strong';
|
||||
|
Loading…
Reference in New Issue
Block a user