Commit 5f120e38 authored by bmeurer's avatar bmeurer Committed by Commit bot

[test] Drop flaky test mjsunit/compiler/deopt-arguments-oob.

TBR=machenbach@chromium.org
NOTRY=true

Review-Url: https://codereview.chromium.org/2477303002
Cr-Commit-Position: refs/heads/master@{#40790}
parent 639f6f17
// 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
function foo() { return arguments[0]; }
// Warm up with monomorphic access.
foo(0);
foo(1);
%BaselineFunctionOnNextCall(foo);
foo(2);
foo(3);
%OptimizeFunctionOnNextCall(foo);
// Mess with out-of-bounds accesses.
for (var i = 0; i < 50000; ++i) {
foo();
}
// Optimization shall stabilize now.
var count = %GetOptimizationCount(foo);
for (var i = 0; i < 50000; ++i) {
foo();
}
assertEquals(count, %GetOptimizationCount(foo));
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