v8/test/inspector
Ross McIlroy 7350e7b220 Get BytecodeArray via current frame where possible.
With BytecodeArray flushing the SFI->BytecodeArray pointer will become pseudo weak.
Instead of getting the bytecode array from the SFI, get it from the frame instead
(which is a strong pointer). Note: This won't actually change behaviour since the
fact that the bytecode array was on the frame will retain it strongly, however it
makes the contract that the BytecodeArray must exist at these points more explicit.

Updates code in runtime-profiler.cc, frames.cc and runtime-test.cc to do this.

BUG=v8:8395

Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel
Change-Id: Id7a3e6857abd0e89bf238e9b0b01de4461df54e1
Reviewed-on: https://chromium-review.googlesource.com/c/1310193
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Mythri Alle <mythria@chromium.org>
Cr-Commit-Position: refs/heads/master@{#57198}
2018-11-01 16:12:27 +00:00
..
console Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
cpu-profiler Revert "[inspector] RemoteObject.description should be empty for primitive type" 2018-05-31 18:52:08 +00:00
debugger Get BytecodeArray via current frame where possible. 2018-11-01 16:12:27 +00:00
heap-profiler [heap profiler] Plumb samples through the protocol. 2018-10-23 00:12:01 +00:00
runtime reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00
sessions inspector: return [[StableObjectId]] as internal property 2018-09-20 15:03:52 +00:00
type-profiler [test] Remove dead flags from some tests. 2018-10-15 10:00:12 +00:00
BUILD.gn reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00
DEPS [inspector] introduce limit for amount of stored async stacks 2016-12-18 17:04:40 +00:00
inspector-test.cc [cleanup] Refactor inspector to use default members. 2018-09-18 09:13:59 +00:00
inspector.status reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00
isolate-data.cc [cleanup] Refactor inspector to use default members. 2018-09-18 09:13:59 +00:00
isolate-data.h [inspector] added V8InspectorClient::resourceNameToUrl 2018-08-09 21:36:24 +00:00
json-parse-expected.txt [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
json-parse.js [inspector] Refactor protocol-test.js 2017-05-19 00:35:45 +00:00
OWNERS Add COMPONENT tags to OWNERS files where appropriate 2017-05-22 10:15:28 +00:00
protocol-test.js reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00
task-runner.cc Cleanup: Use std::atomic<T> instead of base::AtomicNumber<T> in TaskRunner. 2018-07-12 07:22:06 +00:00
task-runner.h [cleanup] Refactor inspector to use default members. 2018-09-18 09:13:59 +00:00
testcfg.py reland: inspector: move injected script source to native 2018-10-31 17:47:58 +00:00