• bmeurer's avatar
    Revert of [compiler] Properly guard the speculative optimizations for... · b9cdb630
    bmeurer authored
    Revert of [compiler] Properly guard the speculative optimizations for instanceof. (patchset #3 id:40001 of https://codereview.chromium.org/2370693002/ )
    
    Reason for revert:
    Tanks EarleyBoyer.
    
    Original issue's description:
    > [compiler] Properly guard the speculative optimizations for instanceof.
    >
    > Add a general feedback slot for instanceof similar to what we already have
    > for for-in, which basically has a fast (indicated by the uninitialized
    > sentinel) and a slow (indicated by the megamorphic sentinel) mode. Now
    > we can only take the fast path when the feedback slot says it hasn't
    > seen any funky inputs and nothing funky appeared in the prototype chain.
    > In the TurboFan code we also deoptimize whenever we see a funky object
    > (i.e. a proxy or an object that requires access checks) in the prototype
    > chain (similar to what Crankshaft already did).
    >
    > Drive-by-fix: Also make Crankshaft respect the mode and therefore
    > address the deopt loop in Crankshaft around instanceof.
    >
    > We might want to introduce an InstanceOfIC mechanism at some point and
    > track the map of the right-hand side.
    >
    > BUG=v8:5267
    > R=mvstanton@chromium.org
    >
    > Committed: https://crrev.com/a0484bc6116ebc2b855de87d862945e2ae07169b
    > Cr-Commit-Position: refs/heads/master@{#39718}
    
    TBR=mvstanton@chromium.org
    # Skipping CQ checks because original CL landed less than 1 days ago.
    NOPRESUBMIT=true
    NOTREECHECKS=true
    NOTRY=true
    BUG=v8:5267
    
    Review-Url: https://codereview.chromium.org/2365223003
    Cr-Commit-Position: refs/heads/master@{#39736}
    b9cdb630
Name
Last commit
Last update
..
OWNERS Loading commit data...
bytecode-array-builder.cc Loading commit data...
bytecode-array-builder.h Loading commit data...
bytecode-array-iterator.cc Loading commit data...
bytecode-array-iterator.h Loading commit data...
bytecode-array-writer.cc Loading commit data...
bytecode-array-writer.h Loading commit data...
bytecode-dead-code-optimizer.cc Loading commit data...
bytecode-dead-code-optimizer.h Loading commit data...
bytecode-decoder.cc Loading commit data...
bytecode-decoder.h Loading commit data...
bytecode-flags.cc Loading commit data...
bytecode-flags.h Loading commit data...
bytecode-generator.cc Loading commit data...
bytecode-generator.h Loading commit data...
bytecode-label.cc Loading commit data...
bytecode-label.h Loading commit data...
bytecode-operands.cc Loading commit data...
bytecode-operands.h Loading commit data...
bytecode-peephole-optimizer.cc Loading commit data...
bytecode-peephole-optimizer.h Loading commit data...
bytecode-peephole-table.h Loading commit data...
bytecode-pipeline.cc Loading commit data...
bytecode-pipeline.h Loading commit data...
bytecode-register-allocator.cc Loading commit data...
bytecode-register-allocator.h Loading commit data...
bytecode-register-optimizer.cc Loading commit data...
bytecode-register-optimizer.h Loading commit data...
bytecode-register.cc Loading commit data...
bytecode-register.h Loading commit data...
bytecode-traits.h Loading commit data...
bytecodes.cc Loading commit data...
bytecodes.h Loading commit data...
constant-array-builder.cc Loading commit data...
constant-array-builder.h Loading commit data...
control-flow-builders.cc Loading commit data...
control-flow-builders.h Loading commit data...
handler-table-builder.cc Loading commit data...
handler-table-builder.h Loading commit data...
interpreter-assembler.cc Loading commit data...
interpreter-assembler.h Loading commit data...
interpreter-intrinsics.cc Loading commit data...
interpreter-intrinsics.h Loading commit data...
interpreter.cc Loading commit data...
interpreter.h Loading commit data...
mkpeephole.cc Loading commit data...