[Interpreter] Add support for loading literals from the constant pool.
authorrmcilroy <rmcilroy@chromium.org>
Fri, 28 Aug 2015 15:40:52 +0000 (08:40 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 28 Aug 2015 15:41:07 +0000 (15:41 +0000)
commitb41647543542be0ac009d5b707d4117af8b7ba6e
treea5319c80291eb81e29683d52f7669577d9841af3
parent50916155b52cddd83c1f26834e0e57fe6f02ccd4
[Interpreter] Add support for loading literals from the constant pool.

Adds support to the interpreter for loading literals from the constant pool.
Adds the LoadConstant bytecode and makes use of it for loading large Smis and
HeapObject literals.

Also removes unused HandleVector from utils.h.

BUG=v8:4280
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#30450}
13 files changed:
src/compiler/interpreter-assembler.cc
src/compiler/interpreter-assembler.h
src/interpreter/bytecode-array-builder.cc
src/interpreter/bytecode-array-builder.h
src/interpreter/bytecode-generator.cc
src/interpreter/bytecodes.cc
src/interpreter/bytecodes.h
src/interpreter/interpreter.cc
src/utils.h
test/cctest/interpreter/test-bytecode-generator.cc
test/cctest/interpreter/test-interpreter.cc
test/unittests/compiler/interpreter-assembler-unittest.cc
test/unittests/interpreter/bytecode-array-builder-unittest.cc