• vabr's avatar
    Fix typeof optimization for undetectable · 6302753e
    vabr authored
    Currently, typeof o, where o is an undetectable
    callable object (such as document.all), returns 'function' if
    optimised. It should, however, return 'undefined'.
    
    This CL excludes undetectable objects from the optimization
    resulting in type 'function' and renames the related code to
    reflect that.
    
    BUG=v8:5972
    R=bmeurer@chromium.org
    
    Review-Url: https://codereview.chromium.org/2697063002
    Cr-Commit-Position: refs/heads/master@{#43298}
    6302753e
effect-control-linearizer.h 6.41 KB