Bug 163422 - WebAssembly testing: allow inline code as well as stack machine
Summary: WebAssembly testing: allow inline code as well as stack machine
Status: NEW
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: 163267
Blocks: 162706
  Show dependency treegraph
 
Reported: 2016-10-13 17:28 PDT by JF Bastien
Modified: 2016-10-13 17:29 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description JF Bastien 2016-10-13 17:28:57 PDT
The current testing infrastructure consumes code in a stack machine-like form. This is neat because it's the WebAssembly format, but it's a PITA because it's not natural to write.

It's actually pretty easy to support both, mixed, by being clever in how the builder objects consume parameters passed to them: when they're passed a builder then they need to consume whatever the prior invocations produced.

This isn't super important, but it's nice, and I like nice.