On Thu, Oct 6, 2016 at 12:17 PM, Dmitriy - <dima00...@gmail.com> wrote:
> For example d8 has "print" function.
>
> I know that all bootstrapping business is in bootstrapper.cc
>
> Where v8 adds "print" function to global script context so that it can call
> it?

print() is defined in d8.cc, it's not part of the engine proper.  The
unit tests in test/cctest have a separate implementation.

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to