On Fri, Sep 9, 2016 at 11:37 AM, Dmitriy - <[email protected]> wrote: > For example: > > d8> print(1) > > Fullcodegen call EmitCallWithLoadIC. > > print is a global function. Why v8 emit IC for this case? And how IC works > in this case?
'print' is looked up on the global object. Your example is equivalent to `this.print(1)`. -- -- 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/d/optout.
