[WebAssembly] Optimize JS to Wasm call by using pointer of Signature as SignatureIndex
Created attachment 349131 [details] Patch
Created attachment 349134 [details] Patch
Created attachment 349136 [details] Patch
Created attachment 349137 [details] Patch
Created attachment 349138 [details] Patch
Created attachment 349139 [details] Patch
Created attachment 349140 [details] Patch
Created attachment 349143 [details] Patch
Comment on attachment 349143 [details] Patch r=me. I think you should remove Signature::firstValidIndex since it is no longer used.
(In reply to Mark Lam from comment #9) > Comment on attachment 349143 [details] > Patch > > r=me. I think you should remove Signature::firstValidIndex since it is no > longer used. Right! Thanks. Fixed.
Committed r235786: <https://trac.webkit.org/changeset/235786>
<rdar://problem/44228602>
Comment on attachment 349143 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=349143&action=review Nice change. The only thing that's weird to me is that we're still calling it an index. We should revise the name since the old name indicated an implementation style. But we're no longer using it as an index. Maybe we could call it something like UniqueSignature. > Source/JavaScriptCore/ChangeLog:20 > + This change significantly optimizes JS to wasm calls (1e7 times) from 600ms to 320ms. Our wasm entry is so slow :(