Summary: | WebAssembly: topEntryFrame on Wasm::Instance | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | JF Bastien <jfbastien> | ||||||
Component: | WebAssembly | Assignee: | JF Bastien <jfbastien> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, fpizlo, jfbastien, keith_miller, mark.lam, msaboff, rmorisset, saam, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Bug Depends on: | 178699 | ||||||||
Bug Blocks: | 177472 | ||||||||
Attachments: |
|
Description
JF Bastien
2017-10-23 16:37:09 PDT
Created attachment 324611 [details]
patch
Comment on attachment 324611 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=324611&action=review > Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h:137 > + EntryFrame** m_topEntryFramePointer { nullptr }; Why have this in both JSWebAssemblyInstance and WasmInstance? (In reply to Saam Barati from comment #2) > Comment on attachment 324611 [details] > patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=324611&action=review > > > Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h:137 > > + EntryFrame** m_topEntryFramePointer { nullptr }; > > Why have this in both JSWebAssemblyInstance and WasmInstance? JSWebAssemblyInstance copies a bunch of things from Wasm::Instance for now, because the goal I'm driving towards is having Wasm::Context be Wasm::Instance (not JSWebAssemblyInstance), and I want the swap to be as trivial as possible (i.e. change one line to do that swap, then delete all the copies from JSWebAssemblyInstance). If I do it right everything else will be the same. Created attachment 324613 [details]
patch
Comment on attachment 324613 [details] patch Clearing flags on attachment: 324613 Committed r223866: <https://trac.webkit.org/changeset/223866> All reviewed patches have been landed. Closing bug. I think this broke the windows build? https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/5466/steps/compile-webkit/logs/stdio Re-opened since this is blocked by bug 178699 Committed r223875: <https://trac.webkit.org/changeset/223875> (In reply to Keith Miller from comment #7) > I think this broke the windows build? > https://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29/builds/ > 5466/steps/compile-webkit/logs/stdio lolwut? |