Description[interpreter, debugger] abstraction for source position calculation.
This change adds AbstractCode, which can be either Code or
BytecodeArray, and adds methods to calculate source position based
on that. Also cleans up to use code offsets instead of raw PC
where possible, and consistently uses the offset from instruction
start (as opposed to code object start).
R=rmcilroy@chromium.org, vogelheim@chromium.org
BUG=v8:4690
LOG=N
Committed: https://crrev.com/55438d60847c4df4579539ec48c60ec11cd522c4
Cr-Commit-Position: refs/heads/master@{#33579}
Patch Set 1 #
Total comments: 10
Patch Set 2 : addressed comments #Patch Set 3 : fix #Patch Set 4 : casts #Patch Set 5 : remove bogus assertion #
Messages
Total messages: 26 (12 generated)
|