https://codereview.chromium.org/13844009/diff/1/src/hydrogen.cc
File src/hydrogen.cc (right):
https://codereview.chromium.org/13844009/diff/1/src/hydrogen.cc#newcode10974
src/hydrogen.cc:10974: return ast_context()->ReturnInstruction(result,
call->id());
On 2013/04/16 01:23:19, tfarina wrote:
why you return here, if the return type of GenerateMathSqrt is void?
There is no deep reason, just for consistency with the other GenerateFoo
functions in the vicinity. OTOH, in C++ 'void' is not really special
(because of templates), and this is a good thing IMHO: 'void' is just
another type with a single value, just like Haskell's 0-tuple '()'.
https://codereview.chromium.org/13844009/
--
--
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.