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

Issue 12082023: Do not try to collect the map if the monomorphic IC stub has no map. (Closed)

Created:
7 years, 10 months ago by Toon Verwaest
Modified:
7 years, 10 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Do not try to collect the map if the monomorphic IC stub has no map. This is necessary for monomorphic stubs that rely on instance types, such as ArrayLength, StringLength and FunctionPrototype. BUG=chromium:172345 Committed: https://code.google.com/p/v8/source/detail?r=13526

Patch Set 1 #

Patch Set 2 : Add regression test, stay monomorphic when no maps are found in original monomorphic stub. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -29 lines) Patch
M src/ic.cc View 1 3 chunks +37 lines, -24 lines 0 comments Download
A + test/mjsunit/regress/regress-crbug-172345.js View 1 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Toon Verwaest
PTAL
7 years, 10 months ago (2013-01-28 11:46:45 UTC) #1
Toon Verwaest
Added regression test and fixed the fix. PTAL now ;)
7 years, 10 months ago (2013-01-28 12:15:41 UTC) #2
Jakob Kummerow
7 years, 10 months ago (2013-01-28 13:10:28 UTC) #3
lgtm

Powered by Google App Engine
This is Rietveld 408576698