summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug1291887.js
blob: 7632f0bf3b80f6f59083424ce3fc9c3143f84317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(function(stdlib) {
        "use asm"
        var log = stdlib.Math.log

        function f(x) {
            x = +x
            var y = 3.
            return 0, y
            return +log(x) + y
        }

        return f
})(this)