• bmeurer's avatar
    [es6] Fix prototype chain walk for instanceof. · eb1c9e27
    bmeurer authored
    When walking up the prototype chain during OrdinaryHasInstance, we first
    check if the current prototype equals the expected one, and only
    afterwards check the current prototype against null. That's obviously
    wrong if we check something like Proxy, whose prototype is null.
    
    R=yangguo@chromium.org
    BUG=v8:5085
    
    Review-Url: https://codereview.chromium.org/2041103007
    Cr-Commit-Position: refs/heads/master@{#36840}
    eb1c9e27
Name
Last commit
Last update
..
OWNERS Loading commit data...
lithium-arm.cc Loading commit data...
lithium-arm.h Loading commit data...
lithium-codegen-arm.cc Loading commit data...
lithium-codegen-arm.h Loading commit data...
lithium-gap-resolver-arm.cc Loading commit data...
lithium-gap-resolver-arm.h Loading commit data...