v8/test/unittests
jarin 4142bc6bc1 [turbofan] Restrict types in load elimination.
In simplified numbering, we make sanity checks based on types (e.g.,
NumberSubtract should take numbers as inputs), but this can be
violated if optimization passes make types less precise.

In this CL, we fix load elimination to make sure that types are
smaller in the store -> load elimination by taking an intersection
of the load's type with the store value's type and inserting a guard
with that type. Note that the load type comes from type feedback, so
it can be disjoint from the stored value type (in that case, this
must be dead code because the map chack for the load should prevent
us from using the stored value).

BUG=chromium:599412
LOG=n

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

Cr-Commit-Position: refs/heads/master@{#35259}
2016-04-05 12:30:14 +00:00
..
base [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
compiler [turbofan] Restrict types in load elimination. 2016-04-05 12:30:14 +00:00
heap Represent speed in GCTracer functions as double instead of int. 2016-03-29 17:34:41 +00:00
interpreter [interpreter] statement position always overwrites earlier positions. 2016-04-05 09:14:19 +00:00
libplatform [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
wasm Expose a lower bound of malloc'd memory via heap statistics 2016-04-01 10:01:56 +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 Expose a lower bound of malloc'd memory via heap statistics 2016-04-01 10:01:56 +00:00
unittests.gyp Refactor the ring buffer in GCTracer. 2016-03-29 12:52:05 +00:00
unittests.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
unittests.status [interpreter] Fix memory leak in Bytecodes::Decode(). 2016-03-24 10:31:48 +00:00