v8/test
jarin c83b21ab75 [turbofan] Insert dummy values when changing from None type.
Currently we choose the MachineRepresentation::kNone representation for
values of Type::None, and when converting values from the kNone representation
we use "impossible" conversions that will crash at runtime. This
assumes that the impossible conversions should never be hit (the only
way to produce the impossible values is to perform an always-failing
runtime check on a value, such as Smi-checking a string). Note that
this assumes that the runtime check is executed before the impossible
convesrion.

Introducing BitwiseOr type feedback broke this in two ways:

- we always pick Word32 representation for bitwise-or, so the
  impossible conversion does not trigger (it only triggers with
  None representation), and we could end up with unsupported
  conversions from Word32.

- even if we inserted impossible conversions, they are pure conversions.
  Since untagging, bitwise-or operations are also pure, we could hoist
  all these before the smi check of the inputs and we could hit the
  impossible conversions before we get to the smi check.

This CL addresses this by just providing dummy values for conversions
from the Type::None type. It also removes the impossible-to-* conversions.

BUG=chromium:638132

Review-Url: https://codereview.chromium.org/2266823002
Cr-Commit-Position: refs/heads/master@{#38883}
2016-08-25 06:06:58 +00:00
..
benchmarks [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
cctest [turbofan] Insert dummy values when changing from None type. 2016-08-25 06:06:58 +00:00
fuzzer Cleanup: Move ParseInfo to a separate file. 2016-08-22 11:33:58 +00:00
inspector_protocol_parser_test [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
intl Expose getCanonicalLocales() for Intl object. 2016-08-18 23:27:23 +00:00
js-perf-test Remove the --ignition-generators flag. 2016-07-25 12:56:27 +00:00
memory [snapshot] support multiple contexts in the same snapshot. 2016-06-15 15:39:06 +00:00
message Remove the --ignition-generators flag. 2016-07-25 12:56:27 +00:00
mjsunit [turbofan] Insert dummy values when changing from None type. 2016-08-25 06:06:58 +00:00
mozilla [test] Deprecate test data download for most test suites 2016-08-08 12:39:48 +00:00
preparser [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
promises-aplus Make test262 test runner check for which exception is thrown 2016-03-14 21:20:37 +00:00
simdjs [test] Deprecate test data download for most test suites 2016-08-08 12:39:48 +00:00
test262 [parser] Allow duplicate __proto__ keys in patterns 2016-08-20 01:01:51 +00:00
unittests [turbofan] Add regression tests for LoadElement/Field in diamond. 2016-08-25 05:09:21 +00:00
webkit Fix mistake in status update for excessive-comma-usage 2016-08-22 14:13:26 +00:00
bot_default.gyp [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
bot_default.isolate [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
BUILD.gn [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
default.gyp [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
default.isolate [inspector] Remove inspector_protocol_parser_test target. 2016-08-11 16:45:14 +00:00
optimize_for_size.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
optimize_for_size.isolate [swarming] Roll luci-go/isolate to 5c67f7b670b5. 2016-01-19 17:03:56 +00:00
perf.gyp [gn] Move build to gypfiles 2016-04-29 10:11:11 +00:00
perf.isolate [Swarming] Isolate perf tests. 2016-02-15 11:17:18 +00:00