RESOLVED FIXED 166411
WebAssembly: The validator should not allow unused stack entries at the end of a block
https://bugs.webkit.org/show_bug.cgi?id=166411
Summary WebAssembly: The validator should not allow unused stack entries at the end o...
Keith Miller
Reported 2016-12-21 21:20:04 PST
WebAssembly: The validator should not allow unused stack entries at the end of a block
Attachments
Patch (10.84 KB, patch)
2016-12-21 21:21 PST, Keith Miller
no flags
Keith Miller
Comment 1 2016-12-21 21:21:04 PST
Radar WebKit Bug Importer
Comment 2 2016-12-22 12:25:15 PST
Saam Barati
Comment 3 2016-12-22 12:28:49 PST
Comment on attachment 297647 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297647&action=review r=me with a comment > Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:202 > + void dump(const Vector<ControlEntry>& controlStack, const ExpressionList* expressionStack); Why make this change if we assume that it's always a valid pointer?
Keith Miller
Comment 4 2016-12-22 13:55:34 PST
(In reply to comment #3) > Comment on attachment 297647 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=297647&action=review > > r=me with a comment > > > Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:202 > > + void dump(const Vector<ControlEntry>& controlStack, const ExpressionList* expressionStack); > > Why make this change if we assume that it's always a valid pointer? You cannot assign a new value to a ref. It makes the code a little shorter.
WebKit Commit Bot
Comment 5 2016-12-22 14:20:25 PST
Comment on attachment 297647 [details] Patch Clearing flags on attachment: 297647 Committed r210111: <http://trac.webkit.org/changeset/210111>
WebKit Commit Bot
Comment 6 2016-12-22 14:20:29 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.