michael@0: // register allocation involving doubles. michael@0: michael@0: function foo(a,b) { michael@0: var c; michael@0: if (a < b) { michael@0: c = a + 1; michael@0: } else { michael@0: c = 0.5; michael@0: } michael@0: return c; michael@0: } michael@0: assertEq(foo(0, 1), 1);