v8/test/cctest/interpreter
Dan Elphick f12e8d64ab [compiler] Don't collect source positions when throwing exceptions
While crrev.com/c/1520721 tried to avoid collecting source positions
when throw exceptions, it failed because they were still collected in
Isolate::CaptureStackTrace.

This removes that collection point and lets SetStackFrameCacheCommon
bail out when trying to set the stack frame cache for a bytecode that
doesn't have source positions.

It also adds tests that ensure source positions are not collected when
an exception is thrown (although one is disabled as it does not yet
work).

Bug: v8:8510
Change-Id: Id5caf579dda549d637fa9b3129c419d524be5ff2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1565898
Commit-Queue: Dan Elphick <delphick@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60847}
2019-04-15 14:10:15 +00:00
..
bytecode_expectations [ast] Refactor resolution of private names 2019-04-09 23:45:14 +00:00
bytecode-expectations-printer.cc [cleanup] Fix kPointerSize in tests 2019-02-14 15:29:52 +00:00
bytecode-expectations-printer.h [ubsan] Port Name/String/Symbol to the new design 2018-11-27 01:42:36 +00:00
generate-bytecode-expectations.cc Bytecode expectation rebaseline autodiscovery should work on Window 2019-02-05 16:33:33 +00:00
interpreter-tester.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
interpreter-tester.h [reland] Don't allocate feedback vectors and feedback metadata in lite mode 2018-12-19 14:29:30 +00:00
source-position-matcher.cc
source-position-matcher.h
test-bytecode-generator.cc [compile] Add support for lazy generation of source position tables 2019-02-14 11:26:35 +00:00
test-interpreter-intrinsics.cc [cleanup] #include heap-inl.h less often 2019-02-15 06:22:53 +00:00
test-interpreter.cc [compiler] Don't collect source positions when throwing exceptions 2019-04-15 14:10:15 +00:00
test-source-positions.cc [compile] Add support for lazy generation of source position tables 2019-02-14 11:26:35 +00:00