Bug 165547 - WebAssembly JS stubs: don't generate too much code
Summary: WebAssembly JS stubs: don't generate too much code
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: JF Bastien
URL:
Keywords:
Depends on: 165118
Blocks: 161709
  Show dependency treegraph
 
Reported: 2016-12-07 13:47 PST by JF Bastien
Modified: 2016-12-07 13:47 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JF Bastien 2016-12-07 13:47:50 PST
WasmBindings.cpp will generate a bunch of code for huge signatures. Don't do that. At some point we'll have all the registers saved, and copied some of the stack args, and the rest should just be a loop. This means we'll share the inline cache but whatever it's better than code explosion!