blob: 504f921a335801a51fd1c0c1a39a8b08e8872722 [file] [log] [blame]
// 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
Array.prototype.__proto__ = null;
var prototype = Array.prototype;
function f() {
prototype.lastIndexOf({});
}
f();
f();
%OptimizeFunctionOnNextCall(f);
f();