Oops.

Hm, the test failing simply checks

Object.getPrototypeOf(Math) === Object.prototype

Previously, getProtoypeOf(o) just delivered o.__proto__. After my
change, it now returns the prototype found in the object's map (except
for the global proxy, which requires an extra indirection). This seems
to work in all other cases. Is there something special about how the
prototype or the __proto__ property is handled for builtin objects
like Math?

/Andreas

On 2 June 2011 12:11,  <[email protected]> wrote:
> http://codereview.chromium.org/7109004/
>

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

Reply via email to