v8/test/unittests
bmeurer d00da47b61 [turbofan] Don't use the CompareIC in JSGenericLowering.
The CompareICStub produces an untagged raw word value, which has to be
translated to true or false manually in the TurboFan code. But for lazy
bailout after the CompareIC, we immediately go back to fullcodegen or
Ignition with the raw value, to a location where both fullcodegen and
Ignition expect a boolean value, which might crash or in the worst case
(depending on the exact computation inside the CompareIC) could lead to
arbitrary memory access.

Short-term fix is to use the proper runtime functions (unified with the
interpreter now) for comparisons. Next task is to provide optimized
versions of these based on the CodeStubAssembler, which can then be used
via code stubs in TurboFan or directly in handlers in the interpreter.

R=mstarzinger@chromium.org
BUG=v8:4788
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#34335}
2016-02-26 18:41:35 +00:00
..
base [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
compiler [wasm] I added comparison operators to the Int64Lowering. 2016-02-25 12:15:54 +00:00
heap Reland "Replace slots buffer with remembered set. (patchset #14 id:250001 of https://codereview.chromium.org/1703823002/ )" 2016-02-25 17:29:22 +00:00
interpreter [interpreter] Preparation for 32-bit operands. 2016-02-26 10:16:37 +00:00
libplatform [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
runtime [turbofan] Don't use the CompareIC in JSGenericLowering. 2016-02-26 18:41:35 +00:00
wasm [wasm] Add support for import section. 2016-02-19 14:58:43 +00:00
atomic-utils-unittest.cc Add barriers to atomic utils. 2015-09-15 14:58:54 +00:00
cancelable-tasks-unittest.cc Fix gcc 4.9.2 signed-compare error. 2015-11-15 12:48:19 +00:00
char-predicates-unittest.cc Conform to the unittest naming convention. 2014-10-10 08:06:21 +00:00
counters-unittest.cc Fix more -Werror=sign-compare bugs with GCC 4.9.2 2015-05-11 11:07:15 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
run-all-unittests.cc [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
test-utils.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-utils.h Pass ArrayBuffer::Allocator via Isolate::CreateParams 2015-04-29 09:54:43 +00:00
unittests.gyp Reland "Replace slots buffer with remembered set. (patchset #14 id:250001 of https://codereview.chromium.org/1703823002/ )" 2016-02-25 17:29:22 +00:00
unittests.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
unittests.status Add WasmDecoderTest.AllLoadMemCombinations to skips for big-endian. 2016-01-12 08:26:07 +00:00