v8/test/unittests
bmeurer 241c024c10 [turbofan] Properly optimize instanceof (even in the presence of @@hasInstance).
This is the TurboFan counterpart of http://crrev.com/2504263004, but it
is a bit more involved, since in TurboFan we always inline the appropriate
call to the @@hasInstance handler, and by that we can optimize a lot more
patterns of instanceof than Crankshaft, and even yield fast instanceof
for custom @@hasInstance handlers (which we can now properly inline as
well).

Also we now properly optimize Function.prototype[@@hasInstance], even if
the right hand side of an instanceof doesn't have the Function.prototype
as its direct prototype.

For the baseline case, we still rely on the global protector cell, but
we can address that in a follow-up as well, and make it more robust in
general.

TEST=mjsunit/compiler/instanceof
BUG=v8:5640
R=yangguo@chromium.org

Review-Url: https://codereview.chromium.org/2511223003
Cr-Commit-Position: refs/heads/master@{#41092}
2016-11-18 06:31:42 +00:00
..
base Fix more -Wsign-compare warnings in heap, mips, base, etc. 2016-11-11 14:56:10 +00:00
compiler [turbofan] Properly optimize instanceof (even in the presence of @@hasInstance). 2016-11-18 06:31:42 +00:00
compiler-dispatcher Introduce a CompilerDispatcherTracer and track how long jobs take 2016-10-14 08:12:44 +00:00
heap Fix more -Wsign-compare warnings in heap, mips, base, etc. 2016-11-11 14:56:10 +00:00
interpreter [ic] Pass name to LoadGlobalIC again. 2016-11-16 18:17:49 +00:00
libplatform Add test for posting a single task to the worker pool 2016-08-23 11:56:57 +00:00
wasm [wasm] Fix more -Wsign-compare warnings. 2016-11-11 11:56:05 +00:00
zone Fix more -Wsign-compare warnings in heap, mips, base, etc. 2016-11-11 14:56:10 +00:00
BUILD.gn Add icu libraries to unittests dependencies 2016-11-14 10:01:21 +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
counters-unittest.cc
DEPS
eh-frame-iterator-unittest.cc [turbofan] Fix more -Wsign-compare warnings. 2016-11-11 12:01:08 +00:00
eh-frame-writer-unittest.cc [turbofan] Fix more -Wsign-compare warnings. 2016-11-11 12:01:08 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
register-configuration-unittest.cc [Turbofan] Add concept of FP register aliasing on ARM 32. 2016-10-26 16:04:33 +00:00
run-all-unittests.cc [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
source-position-table-unittest.cc This CL enables precise source positions for all V8 compilers. It merges compiler::SourcePosition and internal::SourcePosition to a single class used throughout the codebase. The new internal::SourcePosition instances store an id identifying an inlined function in addition to a script offset. 2016-11-14 17:22:32 +00:00
test-utils.cc [turbofan] Enforce native context specialization. 2016-10-10 05:53:51 +00:00
test-utils.h Named all zones in the project 2016-10-17 12:12:42 +00:00
unittests.gyp Add icu libraries to unittests dependencies 2016-11-14 10:01:21 +00:00
unittests.isolate
unittests.status [wasm] Add guard regions to end of WebAssembly.Memory buffers 2016-11-17 20:29:13 +00:00
value-serializer-unittest.cc ValueSerializer: Replace use of std::vector with a delegate-allocated buffer. 2016-11-12 21:50:26 +00:00