summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/regalloc-muli64.js
blob: 991ceeb3bae5000c33e6b9cc4f77347a63cc2b4a (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);