LGTM with nits.

https://codereview.chromium.org/25478003/diff/1/src/isolate.h
File src/isolate.h (right):

https://codereview.chromium.org/25478003/diff/1/src/isolate.h#newcode757
src/isolate.h:757: bool MayNamedAccessWrapper(Handle<JSObject> receiver,
At some point we want these functions to be the default implementations,
right? So I thing we should overload the name, otherwise we need to
rename all call-sites to drop the "wrapper" suffix again.

https://codereview.chromium.org/25478003/diff/1/src/runtime.cc
File src/runtime.cc (right):

https://codereview.chromium.org/25478003/diff/1/src/runtime.cc#newcode1574
src/runtime.cc:1574: !isolate->MayNamedAccess(JSObject::cast(*obj),
We could use the handlified version here by using
Handle<JSObject>::cast(obj) and isolate->factory()->proto_string()
instead.

https://codereview.chromium.org/25478003/diff/1/src/runtime.cc#newcode1742
src/runtime.cc:1742: obj->GetIsolate()->ReportFailedAccessCheck(*obj,
access_type);
nit: s/obj->GetIsolate()/isolate/

https://codereview.chromium.org/25478003/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to