commit | 8bfd4a5ac907c3ca1a68ccff181b88b9707dff67 | [log] [tgz] |
---|---|---|
author | ssanfilippo <ssanfilippo@chromium.org> | Wed Feb 10 18:35:31 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 10 18:35:56 2016 |
tree | ec59615619b414da46e90e560a484930f7a107b8 | |
parent | d1c28849c77892ec74e58891aba44d5bfda8c0ba [diff] |
[Interpreter] Handle negative ints in generate-bytecode-expectations. The previous implementation used GetRawOperand(), which allows a nicely unified handling of all scalar types, but returns an unsigned type. Because of this, generate-bytecode-expectations couldn't properly handle negative numbers. This commit differentiate between different types of scalar operands and uses the appropriate getter from i::interpreter::BytecodeArrayIterator, thus correctly handling signed types where needed. Two new helpers have been added to i::interpreter::Bytecodes: * IsImmediateOperandType() * IsIndexOperandType() with the intuitive semantic. BUG=v8:4280 LOG=N Review URL: https://codereview.chromium.org/1684113002 Cr-Commit-Position: refs/heads/master@{#33874}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://github.com/v8/v8/wiki
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned on the V8 wiki.