Remove obsolete JSFunction::IsOptimizable predicate.
authormstarzinger <mstarzinger@chromium.org>
Thu, 21 May 2015 13:05:48 +0000 (06:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 21 May 2015 13:05:28 +0000 (13:05 +0000)
commit181d7b85977eb752b19e1de902093783e31330ef
tree0c043e4daaf6ed40d59069923f8bbc824559d756
parent1dbe83d9fbff359a0fda2c39dcf892989c72ab63
Remove obsolete JSFunction::IsOptimizable predicate.

This just delegates to SharedFunctionInfo::optimization_disabled and
was primarily used for assertions. Removing it due to misleading name
because already optimized functions reported being "non-optimizable".

R=titzer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#28551}
src/objects-inl.h
src/objects.cc
src/objects.h
src/runtime-profiler.cc
src/runtime/runtime-test.cc
test/cctest/test-compiler.cc