commit | 36ead519c8a5b5174f82b2074dca802f3af8c153 | [log] [tgz] |
---|---|---|
author | bmeurer <bmeurer@chromium.org> | Mon Mar 28 17:30:05 2016 |
committer | Commit bot <commit-bot@chromium.org> | Mon Mar 28 17:31:43 2016 |
tree | 74aefa74caf702fc14f24b617db7cc2bfa660fec | |
parent | 0d24a0fcfe8c7e1f546b5747679dcee51d0f071e [diff] |
[builtins] Provide Math.floor as TurboFan builtin. This way we avoid the second deoptimization for the Math.floor and Math.ceil builtins when -0 is involved. We still deoptimize the inlined Crankshaft version in various cases, that's a separate issue. The algorithm used for implement CodeStubAssembler::Float64Floor is vaguely based on the fast math version used in the libm of various BSDs, but had to be reengineered to match the EcmaScript specification. R=epertoso@chromium.org BUG=v8:2890, v8:4059 LOG=n Review URL: https://codereview.chromium.org/1828253002 Cr-Commit-Position: refs/heads/master@{#35083}
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.