• Caitlin Potter's avatar
    [prettyprinter] improve call-printing of GetIterator nodes · b086856f
    Caitlin Potter authored
    Fix error message printed by Runtime_ThrowCalledNonCallable.
    
    As noted on the bug, this has a slight problem in that it will always
    print that "asyncIterator" was not callable for GetIterator with an
    async IteratorType, though it may be referring to a different call.
    This issue is present regardless of the change I introduced to perform
    this desugaring in the BytecodeGenerator.
    
    BUG=v8:6187
    R=adamk@chromium.org, verwaest@chromium.org
    
    Change-Id: I2077b7cd5976d9d9ba044f0dff44ee8c312d1263
    Reviewed-on: https://chromium-review.googlesource.com/470806Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
    Commit-Queue: Caitlin Potter <caitp@igalia.com>
    Cr-Commit-Position: refs/heads/master@{#44543}
    b086856f
prettyprinter.cc 33.5 KB