[Interpreter] Consistency fixes.
authoroth <oth@chromium.org>
Mon, 3 Aug 2015 20:38:57 +0000 (13:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 3 Aug 2015 20:39:36 +0000 (20:39 +0000)
commitd689c7a7be90c01d13d87f6cf0281ceae1f5f813
tree211159c46a9180774c4edd253d271405674d056b
parentd8ad147944bf761f322482f68b804454321ac245
[Interpreter] Consistency fixes.

Change minimum BytecodeArray frame size to zero now return value is in
the accumulator.

Fix inconsistent checks in bytecode-array-builder.cc.

Simplify bytecode disassembly by adding Bytecodes::Decode to
disassemble one bytecode and operands.

BUG=v8:4280
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#29988}
src/interpreter/bytecode-array-builder.cc
src/interpreter/bytecodes.cc
src/interpreter/bytecodes.h
src/objects-inl.h
src/objects.cc
test/cctest/interpreter/test-bytecode-array-builder.cc