a64ac4575a
Set a valid reason for disabling optimization when using %NeverOptimizeFunction. TEST=mjsunit/compiler/regress-445732 BUG=chromium:445732 LOG=y TBR=machenbach@chromium.org Review URL: https://codereview.chromium.org/832003002 Cr-Commit-Position: refs/heads/master@{#25949}
12 lines
275 B
JavaScript
12 lines
275 B
JavaScript
// Copyright 2014 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 --turbo-asm
|
|
|
|
"use asm";
|
|
|
|
%NeverOptimizeFunction(f);
|
|
function f() { }
|
|
f();
|