https://codereview.chromium.org/663683006/diff/160001/src/parser.cc
File src/parser.cc (right):
https://codereview.chromium.org/663683006/diff/160001/src/parser.cc#newcode5029
src/parser.cc:5029:
So when it comes to caching the callSiteObj, something that I've tried
to do here is create a new INTERNAL mode variable with
scope_->NewInternal(), attach it to a VariableProxy, and pass the
VariableProxy as a third argument to GetTemplateCallSite() --- and
finally, assign the result of GetTemplateCallSite() to the INTERNAL
variable.
I've tried a couple of different approaches, but weirdly I can't seem to
get a real assignment happening, and the internal variable is always
undefined.
I think this is the simplest caching mechanism until there's a better
way for this to work, but I might need some pointers on getting it to
actually "work".
https://codereview.chromium.org/663683006/
--
--
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.