v8/test/unittests
bmeurer 022ea7e057 [turbofan] Unify Math.floor / Math.ceil optimization.
Provide an intrinsic %MathFloor / %_MathFloor that is used to optimize
both Math.ceil and Math.floor, and use the JS inlining mechanism to
inline Math.ceil into TurboFan code. Although we need to touch code
outside of TurboFan to make this work, this does not affect the way we
handle Math.ceil and/or Math.floor in CrankShaft, because for CrankShaft
the old-style builtin function id based inlining still kicks in first.

Once this solution is stabilized, we can use it for Math.floor as well.
And once that is settled, we can establish it as the unified way to
inline builtins, and get rid of the specialized builtin function id
based inlining at some point.

Note that "builtin" applies to basically every piece of internal
JavaScript/intrinsics based code, so this also applies to the yet to be
defined JavaScript based code stubs and handlers.

BUG=v8:3953
LOG=n
R=yangguo@chromium.org,svenpanne@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#27086}
2015-03-10 08:42:53 +00:00
..
base Reland "Initial switch to Chromium-style CHECK_* and DCHECK_* macros.". 2015-01-30 09:29:41 +00:00
compiler [turbofan] Unify Math.floor / Math.ceil optimization. 2015-03-10 08:42:53 +00:00
heap Use deadline in IdleNotification. 2014-11-28 10:59:24 +00:00
libplatform Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
char-predicates-unittest.cc Conform to the unittest naming convention. 2014-10-10 08:06:21 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
run-all-unittests.cc Fix cctest + unittest to work with an external snapshot. 2015-02-10 15:38:09 +00:00
test-utils.cc Distinquish TestWithIsolateAndZone from TestWithZone 2015-01-23 16:29:57 +00:00
test-utils.h Convert compiler cctest to unittests: SchedulerTest 2015-01-26 11:21:24 +00:00
unittests.gyp [turbofan] Optimize certain chains of Branch into a Switch. 2015-02-17 13:29:46 +00:00
unittests.status Fix platform unittests. 2014-11-25 07:22:00 +00:00