[Interpreter] Add implementations for load immediate bytecodes.
authorrmcilroy <rmcilroy@chromium.org>
Tue, 18 Aug 2015 15:29:21 +0000 (08:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Aug 2015 15:29:39 +0000 (15:29 +0000)
commitf36cc258ffc89b15cd5f145e230bb2e36b45edf7
tree29d08833ba86a1e3a6658cf366cd273615847e92
parenta2462683b704e943862bbe90ddc26c2c24a74e97
[Interpreter] Add implementations for load immediate bytecodes.

Adds implementations and tests for the following bytecodes:
  - LdaZero
  - LdaSmi8
  - LdaUndefined
  - LdaNull
  - LdaTheHole
  - LdaTrue
  - LdaFalse
  - LdaLdar
  - LdaStar

Also adds  Smi tagging / untagging and OperandType typed
BytecodeOperand operations to InterpreterAssembler.

BUG=v8:4280
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#30226}
src/compiler/interpreter-assembler.cc
src/compiler/interpreter-assembler.h
src/interpreter/interpreter.cc
test/cctest/interpreter/test-interpreter.cc
test/unittests/compiler/interpreter-assembler-unittest.cc
test/unittests/compiler/interpreter-assembler-unittest.h