Closed Bug 1593015 Opened 5 years ago Closed 5 years ago

Fix WebAssembly baseline codegen for if/then/else with parameters

Categories

(Core :: JavaScript: WebAssembly, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: wingo, Assigned: wingo)

References

Details

Attachments

(1 file)

Test case (to be committed):

  (module
    (func (export "run") (result i32)
      (i32.const 32)
      (i32.const 10)
      (i32.const 1)
      (if (param i32 i32) (result i32)
          (then (i32.add))
          (else (i32.sub)))))

Basically there were some invariants of internal BaseCompiler APIs that we weren't quite respecting, which manifested as not being able to allocate the registers we needed.

Priority: -- → P3
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5bfb9d257c44
Fix WebAssembly baseline codegen for if/then/else with parameters r=lth
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: