summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/regalloc-muli64.js
blob: c90cd40e0705654f2cdcb21cc8e883b092a31a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
load(libdir + "wasm.js");

// Bug 1298808.
assertEq(wasmEvalText(`(module
    (func
        (result i32)
        (i32.wrap/i64
            (i64.mul
                ;; Conditions: rhs == lhs, rhs is not a constant.
                (i64.add (i64.const 1) (i64.const 10))
                (i64.add (i64.const 1) (i64.const 10))
            )
        )
    )
    (export "" 0)
)`).exports[""](), 121);