v8/test
jarin ef35f11c43 Remove the template magic from types.(h|cc), remove types-inl.h.
This CL removes the Config templatization from the types. It is not
necessary anymore, after the HeapTypes have been removed.

The CL also changes the type hierarchy - the specific type kinds are
not inner classes of the Type class and they do not inherit from Type.
This is partly because it seems impossible to make this work without
templates. Instead, a new TypeBase class is introduced and all the
structural (i.e., non-bitset) types inherit from it.

The bitset type still requires the bit-munging hack and some nasty
reinterpret-casts to pretend bitsets are of type Type*. Additionally,
there is now the same hack for TypeBase - all pointers to the sub-types
of TypeBase are reinterpret-casted to Type*. This is to keep the type
constructors in inline method definitions (although it is unclear how
much that actually buys us).

In future, we would like to move to a model where we encapsulate Type*
into a class (or possibly use Type where we used to use Type*). This
would loosen the coupling between bitset size and pointer size, and
eventually we would be able to have more bits.

TBR=bradnelson@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#33656}
2016-02-02 07:26:06 +00:00
..
benchmarks [test] Re-enable typescript that is no longer failing on ia32. 2015-10-26 06:00:35 +00:00
cctest Remove the template magic from types.(h|cc), remove types-inl.h. 2016-02-02 07:26:06 +00:00
fuzzer [regexp] add fuzzer support for regexp parser and compiler. 2016-02-01 14:00:38 +00:00
intl Enable some passing, disabled Intl tests 2015-12-12 01:33:52 +00:00
js-perf-test Remove always-on --harmony-rest-parameters flag 2015-12-12 00:00:38 +00:00
memory
message [parser] report invalid rest parameter errors in Arrow functions 2016-02-02 00:33:07 +00:00
mjsunit Add UseCounters for some nonstandard JavaScript features 2016-02-01 23:01:59 +00:00
mozilla Ship ES2015 sloppy-mode const semantics 2016-01-11 23:09:59 +00:00
preparser Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
promises-aplus Remove unnecessary coupling between Promise tests and Object.observe 2015-07-21 17:17:07 +00:00
simdjs Revert "[turbofan] Stage --turbo-inlining behind --turbo flag." and "[turbofan] Skip more tests that fail with --turbo-inlining." 2015-10-20 06:23:02 +00:00
test262 Also skip allocation-limit test on tsan builders 2016-02-01 19:58:22 +00:00
unittests Remove the template magic from types.(h|cc), remove types-inl.h. 2016-02-02 07:26:06 +00:00
webkit Update webkit test expectations for sloppy functions in case 2016-01-25 09:02:55 +00:00
bot_default.gyp Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
bot_default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
default.gyp Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
default.isolate Add a library suitable for libfuzzer with a small unit test runner shell 2016-01-26 10:39:03 +00:00
ignition.gyp [test] Add ignition test set. 2016-01-04 17:26:42 +00:00
ignition.isolate [swarming] Roll luci-go/isolate to 5c67f7b670b5. 2016-01-19 17:03:56 +00:00
optimize_for_size.gyp [swarming] Isolate webkit and optimize_for_size. 2015-10-14 17:35:05 +00:00
optimize_for_size.isolate [swarming] Roll luci-go/isolate to 5c67f7b670b5. 2016-01-19 17:03:56 +00:00