• Adam Klein's avatar
    Remove "calls eval" bit from ParseInfo and PreParseData · 9b512732
    Adam Klein authored
    There's no reason to keep track, for a preparsed function itself,
    whether that function calls eval. All that matters is that the ancestor
    scopes are marked as having an inner scope which calls eval. The function
    will have its "calls eval" bit persisted if/when it's fully parsed.
    
    The only "behavioral" change in this patch is the removal of a DCHECK.
    
    Bug: v8:6092
    Change-Id: I17e396c8a265030fe0ad941707e4a97972e6650b
    Reviewed-on: https://chromium-review.googlesource.com/481223
    Commit-Queue: Adam Klein <adamk@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#44732}
    9b512732
parse-info.cc 5.78 KB