• mbrandy's avatar
    PPC: [for-in] Sanitize for-in optimizations and fix bailout points. · cbc05640
    mbrandy authored
    Port f48bf12f
    
    Original commit message:
        The PrepareId bailout location was used incorrectly in Crankshaft and,
        as it turns out, is not required anyway (once you do it right). Also
        there was some premature optimization going on with the CheckEnumCache
        (trying to load null from roots only once), plus we can be smarter about
        the null/undefined check anyway.
    
        The idea behind this changes is to prepare unification of the two
        different ForInPrepare implementations that we now have, with the end
        result being that we only use the new implementation that was recently
        added for the interpreter.
    
    R=bmeurer@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=v8:3650
    LOG=n
    
    Review URL: https://codereview.chromium.org/1619643004
    
    Cr-Commit-Position: refs/heads/master@{#33447}
    cbc05640
macro-assembler-ppc.h 65.9 KB