Thanks for the answer.
I know about inline cache, but I'm more curious about "polymorphism type" 
variables within one function.
For example, there is a variable changes its type in a function. 
Is there any type inference applied on the above scenario?

McClane

Ben Noordhuis於 2016年3月20日星期日 UTC+8下午4時28分33秒寫道:
>
> On Sun, Mar 20, 2016 at 9:14 AM,  <[email protected] <javascript:>> 
> wrote: 
> > Hi, 
> > I want to do some researches about type inference system and related 
> > optimizations for dynamic types in V8. 
> > Can someone give me some hints about where or which file I should start 
> > looking for? 
> > Thanks, 
> > 
> > Best Regards, 
> > 
> > Bekket McClane 
>
> Perhaps src/ic/ic.cc and follow the code from there?  ICs (inline 
> caches) record information about types seen at call sites. 
>

-- 
-- 
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.

Reply via email to