Summary: | WebAssembly builder: don't throw when checker not implemented | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | JF Bastien <jfbastien> | ||||||
Component: | JavaScriptCore | Assignee: | JF Bastien <jfbastien> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, jfbastien, keith_miller | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 163421 | ||||||||
Attachments: |
|
Description
JF Bastien
2016-11-30 13:54:41 PST
Created attachment 295762 [details]
patch
Comment on attachment 295762 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=295762&action=review r=me with fixes. > JSTests/ChangeLog:6 > + Reviewed by Keith Miller. Did Keith already review this? > JSTests/wasm/function-tests/br-if-loop-less-than.js:51 > - ]); > \ No newline at end of file > + ]); What's with the "\ No newline at end of file"? Can you add a newline at the end and remove this? Same for the other instances of this below. > JSTests/wasm/self-test/test_BuilderJSON.js:414 > + assertOpThrows(f => f.I32Const(), `Not the same: "0" and "1": "i32.const" expects exactly 1 immediates, got 0`); /immediates/immediate/? Created attachment 295784 [details] patch (In reply to comment #2) > Comment on attachment 295762 [details] > patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=295762&action=review > > r=me with fixes. ty! > > JSTests/ChangeLog:6 > > + Reviewed by Keith Miller. > > Did Keith already review this? I was optimistic, changed to you :-) > > JSTests/wasm/function-tests/br-if-loop-less-than.js:51 > > - ]); > > \ No newline at end of file > > + ]); > > What's with the "\ No newline at end of file"? Can you add a newline at the > end and remove this? Same for the other instances of this below. Super weird. I think the original file didn't have it, and now the diff tool is trying to be helpful because my editor adds the newlines automatically, and it's just being confusing. > > JSTests/wasm/self-test/test_BuilderJSON.js:414 > > + assertOpThrows(f => f.I32Const(), `Not the same: "0" and "1": "i32.const" expects exactly 1 immediates, got 0`); > > /immediates/immediate/? Done (I pluralized all non-1 things including 0). Comment on attachment 295784 [details] patch Clearing flags on attachment: 295784 Committed r209165: <http://trac.webkit.org/changeset/209165> All reviewed patches have been landed. Closing bug. |