v8/test
Sigurd Schneider ee2d85a37a [turbofan] Speculate on bounds checks for String#char[Code]At
With the new builtin optimization guard we can just speculatively assume
that the index passed to String#charAt and String#charCodeAt (in
optimized
code) is going to be within the valid range for the receiver. This is
what Crankshaft used to do, and it avoids Smi checks on the result for
String#charCodeAt, since it can no longer return NaN.

This gives rise to further optimizations of these builtins (i.e. to
completely avoid the tagging of char codes), and by itself already
improves the regression test originally reported from 650ms to
610ms.

Bug: v8:7127, v8:7326
Change-Id: I6c160540a1e002a37e44fa7f920e5e8f8c2c4210
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Reviewed-on: https://chromium-review.googlesource.com/873382
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50888}
2018-01-26 12:00:58 +00:00
..
benchmarks [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
cctest Revert "[builtins] Add .incbin cctest" 2018-01-26 10:37:31 +00:00
common [wasm] Implement wasm sign extension opcodes 2018-01-25 23:18:08 +00:00
debugger [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
fuzzer [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
inspector [inspector] Make test byte order independent 2018-01-23 20:24:46 +00:00
intl [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
js-perf-test [test] Add JSTest benchmark for array literal spread. 2018-01-23 05:39:30 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
mjsunit [turbofan] Speculate on bounds checks for String#char[Code]At 2018-01-26 12:00:58 +00:00
mkgrokdump [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
mozilla [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
preparser [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
test262 [bigint] Remove BigInt.parseInt 2018-01-26 02:51:58 +00:00
unittests [wasm] Implement wasm sign extension opcodes 2018-01-25 23:18:08 +00:00
wasm-spec-tests [wasm] Update spec tests 2018-01-25 09:28:58 +00:00
webkit [gyp] move gyp files from src to gypfiles. 2018-01-23 09:54:36 +00:00
bot_default.gyp [gyp] move cctest.gyp 2018-01-25 08:59:08 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
d8_default.gyp [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
d8_default.isolate [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +00:00
default.gyp [gyp] move cctest.gyp 2018-01-25 08:59:08 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp [gyp] move cctest.gyp 2018-01-25 08:59:08 +00:00
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp [gyp] move cctest.gyp 2018-01-25 08:59:08 +00:00
perf.isolate Reland "Reland "[test] Creating command before execution phase."" 2017-12-04 13:40:29 +00:00