22d4e6e8e3
I made a mistake in yesterday's cleanup. R=jarin@chromium.org Bug: chromium:783051 Change-Id: Iabd7403096197ce8e54d46e079bc9a70aa98578d Reviewed-on: https://chromium-review.googlesource.com/758765 Commit-Queue: Georg Neis <neis@chromium.org> Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/master@{#49266}
11 lines
285 B
JavaScript
11 lines
285 B
JavaScript
// Copyright 2017 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 f() { return Math.abs([][0]); }
|
|
f();
|
|
%OptimizeFunctionOnNextCall(f);
|
|
f();
|