[test] Remove FLAG_always_opt special case in NotifyDeoptimized
authorjkummerow <jkummerow@chromium.org>
Mon, 17 Aug 2015 13:26:28 +0000 (06:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 17 Aug 2015 13:26:35 +0000 (13:26 +0000)
commitbb9f374fc2c40da98409d06ca057775977bf79e3
tree0ce0b0c8b3559eda362e765123c0be3e92d316aa
parent1c567f82817f449e54e6fcd41940fe10fbddcea7
[test] Remove FLAG_always_opt special case in NotifyDeoptimized

Always unlink optimized code on deopt, even when FLAG_always_opt is present, because assumptions that the code made could have become invalid.
BUG=v8:4375
LOG=n
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/1284103006

Cr-Commit-Position: refs/heads/master@{#30196}
src/runtime/runtime-compiler.cc