Closed Bug 1592973 Opened 5 years ago Closed 5 years ago

Fix WebAssembly ABIResultIter for stack arguments

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, 1 obsolete file)

Iterating in prev() order would barf when it would reach register results, as settleRegister() assumed forward iteration.

Test case (part of an uncommitted patch):

wasmFullPass(`
  (module
    (func (export "run") (result i32)
      (i32.const 32) (i32.const 10)
      (loop (param i32 i32) (result i32 i32))
      (i32.add)))`,
             42);
Attachment #9105540 - Attachment is obsolete: true
Priority: -- → P3
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a9d567f16757 Fix WebAssembly ABIResultIter for stack arguments 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: