mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
394 B
21 lines
394 B
9 years ago
|
// Copyright 2016 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
|
||
|
|
||
8 years ago
|
function r(v) { return v.f }
|
||
|
function h() { }
|
||
|
function y(v) {
|
||
|
var x = arguments;
|
||
|
h.apply(r(v), x);
|
||
|
};
|
||
9 years ago
|
|
||
8 years ago
|
y({f:3});
|
||
|
y({f:3});
|
||
|
y({f:3});
|
||
9 years ago
|
|
||
8 years ago
|
%OptimizeFunctionOnNextCall(y);
|
||
9 years ago
|
|
||
8 years ago
|
y({ f : 3, u : 4 });
|