Description[wasm] Embedder can control what buffers wasm compilation works on.
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-Original-Commit-Position: refs/heads/master@{#43295}
Committed: https://chromium.googlesource.com/v8/v8/+/d9bc0ffb16e633d52d7bcfd547a6125f0e4dfb87
Review-Url: https://codereview.chromium.org/2699843003
Cr-Commit-Position: refs/heads/master@{#43336}
Committed: https://chromium.googlesource.com/v8/v8/+/b40d44ecc1ea662ea6d30d703cf1820cea9ee190
Patch Set 1 #Patch Set 2 : RangeError #
Total comments: 10
Patch Set 3 : Feedback #Patch Set 4 : Post refactoring; passing isolate to fix flakes #Patch Set 5 : Post refactoring; passing isolate to fix flakes #Patch Set 6 : static initializers #
Messages
Total messages: 37 (28 generated)
|