[interpreter] A couple of minor tweaks to BytecodeArray.
authorrmcilroy <rmcilroy@chromium.org>
Fri, 24 Jul 2015 14:56:26 +0000 (07:56 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 24 Jul 2015 14:56:34 +0000 (14:56 +0000)
commit9bb7b980de978dfc76456ef22adc9dd45e734988
tree41d883d4274f85dce3f013c28b717b7e26ce401d
parentfa987b4b638a636c6f20fa9cd040eb146d1185a5
[interpreter] A couple of minor tweaks to BytecodeArray.

 - Ensure frame_size is always set during allocation.
 - Add DCHECKs that frame_size is a valid value
 - Remove locals_count, which we don't need yet (possibly every)
 - Add a newline at the end of BytecodeArray::Dissassemble
   for each bytecode.

BUG=v8:4280
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#29852}
src/factory.cc
src/factory.h
src/heap/heap.cc
src/heap/heap.h
src/interpreter/interpreter.h
src/objects-inl.h
src/objects.cc
src/objects.h
test/cctest/test-heap.cc