http://codereview.chromium.org/7067017/diff/1/src/bootstrapper.cc
File src/bootstrapper.cc (right):

http://codereview.chromium.org/7067017/diff/1/src/bootstrapper.cc#newcode557
src/bootstrapper.cc:557: factory()->NewFunctionWithoutPrototype(name,
kStrictMode);
That *sounds* incorrect. It should have the standard built-in Function
prototype as [[Prototype]], and it does when I check it in the current
version:
  Object.GetOwnPropertyDescriptor(foo, "arguments").get.__proto__ ==
Function.prototype // => true.
where foo is a strict function.

(But I misread, it should have a .prototype property).

I.e., I think it's correct.

http://codereview.chromium.org/7067017/

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

Reply via email to