Status: New
Owner: ----
Labels: Type-Bug Priority-Medium

New issue 1434 by [email protected]: Crankshafted === specialized for doubles doesn't handle undefined correctly
http://code.google.com/p/v8/issues/detail?id=1434

The following code fails on the assert, but shouldn't. If crankshaft is disabled, the code works properly without an assert:

function compare(a, b) {
  if (a === b) {
    return true;
  } else {
    return false;
  }
}

compare(1.5, 2.5);
%OptimizeFunctionOnNextCall(compare);
assertTrue(compare(undefined, undefined));


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to