• yangguo's avatar
    [debugger] Ensure at least one breakable position per function. · 44e9622a
    yangguo authored
    The function literal consists of a list of statements. Each statement
    is associated with a statement position including break location. The
    only exception to this rule is when the function immediately throws if
    scope resolution found an illegal redeclaration. Make sure that we add a
    break location for this case as well. The debugger relies on this.
    
    R=bmeurer@chromium.org, vogelheim@chromium.org
    BUG=v8:4690
    LOG=N
    
    Review URL: https://codereview.chromium.org/1759603002
    
    Cr-Commit-Position: refs/heads/master@{#34422}
    44e9622a
full-codegen-ppc.cc 141 KB