LookupSlot is dynamic. We still don't enable context change: Only if neither of both function have their own local context, all variables are equally far up in the context chain.
We still can't inline if the caller or the callee has its own context since that would require adjusting the context chain length properly inside the inlined body. Den 15. sep. 2011 02.07 skrev <[email protected]>: > I'm not sure that you test the case that f.run has an inner context here. > Does > !Lookup cover both the static lookup and dynamic lookup of context slots? > If > not, will a statically computed lookup in the context chain be compiled > correctly if a function is inlined? Exactly what inlining cases do we > allow? > When the context of the inlining function equals the context of the inlined > function, even if the inlining function has context slots, and thus a new > inner > context? > > > > > http://codereview.chromium.**org/7887038/<http://codereview.chromium.org/7887038/> > -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
