• rmcilroy's avatar
    Only treat possible eval calls going through 'with' as special. · be9b820c
    rmcilroy authored
    This removes the POSSIBLY_EVAL_CALL call type, and instead uses OTHER_CALL
    or WITH_CALL to decide whether to do the special LOOKUP_SLOT_CALL runtime
    call to find the callee and possibly update the receiver with the with-object.
    This means that eval calls out of 'with' blocks can now just do a normal
    LdaLookupGlobalSlot operation, which can check the context chain for eval
    extentions and fast-path the lookup if none exist.
    
    BUG=661556
    
    Review-Url: https://codereview.chromium.org/2487483004
    Cr-Commit-Position: refs/heads/master@{#40965}
    be9b820c
ast.h 121 KB