[Interpreter] Add interpreter support for compare ops and ToBoolean.
authoroth <oth@chromium.org>
Mon, 28 Sep 2015 18:05:56 +0000 (11:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 28 Sep 2015 18:07:05 +0000 (18:07 +0000)
commit17363fa4f3bbf483ff68368c7b01355adfdce72f
treedf14458605e8c430ef752b6fb4f117d98183bd07
parent4d03c3aabad6517ff058124bb799ca6a4156e570
[Interpreter] Add interpreter support for compare ops and ToBoolean.

The comparison operators and ToBoolean are implemented by calling into
the runtime. There are new runtime methods are prefixed with Interpreter
to make use case clear.

BUG=v8:4280
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#30983}
14 files changed:
BUILD.gn
src/compiler/bytecode-graph-builder.cc
src/interpreter/bytecode-array-builder.cc
src/interpreter/bytecodes.h
src/interpreter/interpreter.cc
src/objects.h
src/runtime/runtime-interpreter.cc [new file with mode: 0644]
src/runtime/runtime.h
test/cctest/interpreter/test-bytecode-generator.cc
test/cctest/interpreter/test-interpreter.cc
test/unittests/interpreter/bytecodes-unittest.cc
test/unittests/runtime/runtime-interpreter-unittest.cc [new file with mode: 0644]
test/unittests/unittests.gyp
tools/gyp/v8.gyp