...
Working on this now.
Created attachment 306034 [details] patch
Comment on attachment 306034 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=306034&action=review r=me. > Source/JavaScriptCore/wasm/js/JSWebAssemblyCodeBlock.h:120 > + static ptrdiff_t offsetOfImportWasmToJSStub(unsigned calleeCount, unsigned importIndex) > + { > + return offsetOfCallees() > + + (sizeof(WriteBarrier<JSWebAssemblyCallee>) * calleeCount * 2) > + + (sizeof(void*) * importIndex); > + } > + oh man, this is brutal.
Comment on attachment 306034 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=306034&action=review >> Source/JavaScriptCore/wasm/js/JSWebAssemblyCodeBlock.h:120 >> + > > oh man, this is brutal. Glorious object layout 🎉
Comment on attachment 306034 [details] patch Clearing flags on attachment: 306034 Committed r214711: <http://trac.webkit.org/changeset/214711>
All reviewed patches have been landed. Closing bug.