Chromium Code Reviews
DescriptionIncrease eval compilation cache hits.
This CL introduces two changes to the eval compilation cache. Firstly,
instead of checking for SharedFunctionInfo equivalence to ensure
equivalence of direct eval call sites we now check for Script and
scope start position equivalence.
Furthermore, we increase the cache hits by allowing to share global
eval code for direct and indirect call sites, e.g. in the case
var x = eval; x("12"); eval("12");
Patch from Steven Keuchel <keuchel@chromium.org>
Original CL: http://codereview.chromium.org/8879010/
BUG=v8:1854
TEST=existing tests in mjsunit
R=vegorov@chromium.org
Patch Set 1 : #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||||||||||||||||||||