Fix %NeverOptimizeFunction() intrinsic.
authorbmeurer <bmeurer@chromium.org>
Fri, 2 Jan 2015 08:17:50 +0000 (00:17 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 2 Jan 2015 08:18:01 +0000 (08:18 +0000)
commita64ac4575a235fa7efc44b4f56a34c20e5634d9c
tree68921b62842dda47d718f00ed068c5e6a2ec45b3
parent643ed5b8bec269c86cf68b93ed79de9c2410cd46
Fix %NeverOptimizeFunction() intrinsic.

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}
src/runtime/runtime-test.cc
test/mjsunit/compiler/regress-445732.js [new file with mode: 0644]