• mtrofin's avatar
    [wasm] Embedder can control what buffers wasm compilation works on. · d9bc0ffb
    mtrofin authored
    Two controls, one for instantiation and one for compilation. They allow
    the embedder (e.g. Chrome) check properties of the parameters of those
    two operations, and decide if they are allowed to continue.
    
    For example, Chrome may now decline compilation of certain size buffers,
    in synchronous cases; same for instantiation (where the buffer size
    refers to the size of the buffer containing wasm wire bytes)
    
    BUG=v8:5981
    
    Review-Url: https://codereview.chromium.org/2699843003
    Cr-Commit-Position: refs/heads/master@{#43295}
    d9bc0ffb
isolate.h 58.4 KB