Allow for optimized code map to have zero entries.
authormstarzinger <mstarzinger@chromium.org>
Wed, 22 Jul 2015 11:46:04 +0000 (04:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 22 Jul 2015 11:46:56 +0000 (11:46 +0000)
commit1c857357102547580d7b8444e4dc81c2113da34d
tree717b9b1c51ae4596628b97ac030db935061e6151
parent1f295980b7ac309dcef732088ae363722277a408
Allow for optimized code map to have zero entries.

This allows the optimized code map to contain no context-dependent
entries, but still hold one context-independent entry. This is a
precursor to extending the lifetime of the context-independent entry.

R=mvstanton@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#29788}
src/code-stubs-hydrogen.cc
src/objects.cc
test/cctest/test-compiler.cc