17 lines
403 B
JavaScript
17 lines
403 B
JavaScript
|
// Copyright 2021 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 --stress-concurrent-inlining
|
||
|
|
||
|
var __v_13 = {};
|
||
|
|
||
|
function __f_7() {
|
||
|
return !__v_13.bar++;
|
||
|
}
|
||
|
|
||
|
%PrepareFunctionForOptimization(__f_7);
|
||
|
__f_7();
|
||
|
%OptimizeFunctionOnNextCall(__f_7, "concurrent");
|
||
|
__f_7();
|