Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Issue 162903004: Add a premonomorphic state to the call target cache.

Created:
6 years, 10 months ago by kasperl
Modified:
6 years, 10 months ago
Reviewers:
mvstanton
CC:
v8-dev
Visibility:
Public.

Description

Add a premonomorphic state to the call target cache. This allows access to lazily initialized constructors and functions fetched through the context chain to remain monomorphic. (function() { var fn = function() { fn = function() { return 42; }; return fn(); } for (var i = 0; i < 100; i++) { fn(); } })();

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -5 lines) Patch
src/ia32/code-stubs-ia32.cc View 1 chunk +18 lines, -2 lines 0 comments Download
src/objects.h View 1 chunk +3 lines, -0 lines 0 comments Download
src/objects-inl.h View 1 chunk +5 lines, -0 lines 0 comments Download
src/runtime.cc View 1 chunk +1 line, -0 lines 0 comments Download
src/x64/code-stubs-x64.cc View 1 chunk +17 lines, -2 lines 0 comments Download
test/cctest/test-heap.cc View 1 chunk +3 lines, -1 line 0 comments Download
test/mjsunit/allocation-site-info.js View 17 chunks +17 lines, -0 lines 0 comments Download
test/mjsunit/array-constructor-feedback.js View 4 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
kasperl
6 years, 10 months ago (2014-02-13 10:37:40 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698