Status: Assigned
Owner: [email protected]
Labels: Type-Bug Priority-High

New issue 1020 by [email protected]: Optimized instanceof can return 0
http://code.google.com/p/v8/issues/detail?id=1020

The optimized instanceof in r6173 can return 0 instead of true/false. The following code has the result 0 when run with --always-opt

function isObject(o) {
  return o instanceof Object;
}

isObject(Object)

This is causing the following Mozilla tests to fail

mozilla/ecma_3/Object/class-001
mozilla/ecma_3/Object/class-002
mozilla/ecma_3/Object/class-004


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

Reply via email to