• Mircea Trofin's avatar
    [wasm] Explicit opt-out of stack checks and traps · be915fd7
    Mircea Trofin authored
    We've been passing a context to the compiler, which turns out to be
    solely used to determine if we're executing in a specific cctest configuration.
    
    This change adds a configuration to the graph builder that we can use to
    explicitly opt out of stack checks and traps. CcTests default to opting out,
    except for the few that don't.
    
    Bug: 
    Change-Id: I4724e31c2a62e9b3ab4feadb788287c374b39f53
    Reviewed-on: https://chromium-review.googlesource.com/585779Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Commit-Queue: Mircea Trofin <mtrofin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#46943}
    be915fd7
module-compiler.cc 96.3 KB