summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/regalloc-muli64.js
blob: b9ad31dca90abe609adb845282af3826314f11f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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 "" (func 0))
)`).exports[""](), 121);