v8/test/mjsunit/tools
Pierre Langlois 0d8ec36b36 [ic] Do not decode instructions to detect deoptimized code.
This fixes a crash when using --trace-ic on Arm64 debug. For a given return
address, the assembler's `target_address_from_return_address()` method will
displace it to give you the call-site address. However, this is fragile because
it needs to decode the instruction stream to distinguish between different call
sequences. So it triggered an assertion on Arm64 because we now use BL for
builtin to buitin calls.

We only use this when tracing IC states to detect if the caller is a deoptimized
function. But to do this it doesn't matter if the address we have is the return
or the call-site address. So we can just remove the need for the fragile
Assembler method.

As a drive-by, also remove `return_address_from_call_start()` which was doing
the opposite and was unused.

Change-Id: I5988d17eadd1652ed85d662e62bc4c579665dd31
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1594566
Commit-Queue: Pierre Langlois <pierre.langlois@arm.com>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#61337}
2019-05-08 14:13:28 +00:00
..
codemap.js
compiler-trace-flags-wasm.js [mjsunit] Do not generate compiler traces for the entire snapshot. 2019-03-21 09:01:29 +00:00
compiler-trace-flags.js [mjsunit] Do not generate compiler traces for the entire snapshot. 2019-03-21 09:01:29 +00:00
consarray.js
csvparser.js Escape backslashes when logging. 2018-08-10 09:09:19 +00:00
dumpcpp.js [tools] Move common arguments processing into separate file 2017-10-24 00:25:04 +00:00
profile_view.js
profile.js [profiler] Web UI: add summary of opts/deopts. 2017-03-22 16:02:25 +00:00
profviz-test.default Reland "[array] Use random middle element to determine pivot during sorting" 2018-06-07 13:33:14 +00:00
profviz-test.log [log] Consistently escape log entries 2017-10-20 23:53:44 +00:00
profviz.js Reland "[test] Add logic to run tests on Android" 2018-08-10 17:56:12 +00:00
splaytree.js
tickprocessor-test-func-info.log [log] Consistently escape log entries 2017-10-20 23:53:44 +00:00
tickprocessor-test.default [tools] Show more entries in the ticks-processor 2017-03-10 10:34:11 +00:00
tickprocessor-test.func-info [tools] Add options to separate more entries in tickprocessor 2017-04-11 10:23:02 +00:00
tickprocessor-test.gc-state [tools] Show more entries in the ticks-processor 2017-03-10 10:34:11 +00:00
tickprocessor-test.ignore-unknown [tools] Show more entries in the ticks-processor 2017-03-10 10:34:11 +00:00
tickprocessor-test.log [log] Consistently escape log entries 2017-10-20 23:53:44 +00:00
tickprocessor-test.only-summary
tickprocessor-test.separate-ic [tools] Show more entries in the ticks-processor 2017-03-10 10:34:11 +00:00
tickprocessor.js Reland "[test] Add logic to run tests on Android" 2018-08-10 17:56:12 +00:00
trace-ic.js [ic] Do not decode instructions to detect deoptimized code. 2019-05-08 14:13:28 +00:00