• Alexey Kozyatinskiy's avatar
    [inspector] fixed getPossibleBreakpoints · 9fef8fd2
    Alexey Kozyatinskiy authored
    BytecodeArrayBreakIterator doesn't iterate through locations in position() order. SkipToPosition is looking for closest break_index to passed one. So we should iterate through all breakable locations in function to get all of them.
    
    R=jgruber@chromium.org
    
    Bug: v8:6469
    Change-Id: Ida0b849e9df40458a13e0a0f7af6a00349088228
    Reviewed-on: https://chromium-review.googlesource.com/527135Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45765}
    9fef8fd2
get-possible-breakpoints-master-expected.txt 4.85 KB