Feedback addressed, landed.
https://codereview.chromium.org/16925008/diff/114001/src/objects.cc
File src/objects.cc (right):
https://codereview.chromium.org/16925008/diff/114001/src/objects.cc#newcode15862
src/objects.cc:15862: Type* new_type = static_cast<Type*>(maybe_type);
On 2013/07/05 10:00:33, rossberg wrote:
Nit: you can combine the cast with the failure check by doing
if (!maybe_type->To(&new_type)) return maybe_type;
That doesn't work, unfortunately, since Type doesn't subclass from
Object :-/
https://codereview.chromium.org/16925008/
--
--
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.