• bmeurer's avatar
    [es6] Reintroduce the instanceof operator in the backends. · 551e0aa1
    bmeurer authored
    This adds back the instanceof operator support in the backends and
    introduces a @@hasInstance protector cell on the isolate that guards the
    fast path for the InstanceOfStub. This way we recover the ~10%
    regression on Octane EarleyBoyer in Crankshaft and greatly improve
    TurboFan and Ignition performance of instanceof.
    
    R=ishell@chromium.org
    TBR=hpayer@chromium.org,rossberg@chromium.org
    BUG=chromium:597249, v8:4447
    LOG=n
    
    Review-Url: https://codereview.chromium.org/1980483003
    Cr-Commit-Position: refs/heads/master@{#36275}
    551e0aa1
code-assembler.cc 24.9 KB