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

Issue 219313002: Monomorphic prototype failures should be reserved for already-seen keys. (Closed)

Created:
6 years, 8 months ago by mvstanton
Modified:
6 years, 8 months ago
Reviewers:
Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

Monomorphic prototype failures should be reserved for already-seen keys. We incorrectly mark a KeyedStoreIC miss as a monomorphic prototype failure even though it's the first time a particular (string) key has been seen. BUG=358088 R=verwaest@chromium.org LOG=N Committed: https://code.google.com/p/v8/source/detail?r=20407

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments. #

Patch Set 3 : Nit. #

Total comments: 2

Patch Set 4 : Fixed nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -11 lines) Patch
M src/ic.h View 1 1 chunk +8 lines, -2 lines 0 comments Download
M src/ic.cc View 1 2 3 4 chunks +18 lines, -9 lines 0 comments Download
A test/mjsunit/regress/regress-358088.js View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mvstanton
Hi Toon, here is the fix we discussed, have a look, thanks! --Michael
6 years, 8 months ago (2014-03-31 12:27:52 UTC) #1
Toon Verwaest
https://codereview.chromium.org/219313002/diff/1/src/ic.cc File src/ic.cc (right): https://codereview.chromium.org/219313002/diff/1/src/ic.cc#newcode1187 src/ic.cc:1187: if (!ic->IsNameCompatibleWithMonomorphicPrototypeFailure(name)) return false; This is not exactly the ...
6 years, 8 months ago (2014-03-31 12:34:44 UTC) #2
mvstanton
Hello, PTAL, thanks, --Michael https://codereview.chromium.org/219313002/diff/1/src/ic.cc File src/ic.cc (right): https://codereview.chromium.org/219313002/diff/1/src/ic.cc#newcode1187 src/ic.cc:1187: if (!ic->IsNameCompatibleWithMonomorphicPrototypeFailure(name)) return false; On ...
6 years, 8 months ago (2014-03-31 13:30:56 UTC) #3
Toon Verwaest
lgtm with nit https://codereview.chromium.org/219313002/diff/40001/src/ic.cc File src/ic.cc (right): https://codereview.chromium.org/219313002/diff/40001/src/ic.cc#newcode362 src/ic.cc:362: receiver, Handle<String>::cast(name))) { && TryMarkMono...
6 years, 8 months ago (2014-03-31 15:15:53 UTC) #4
mvstanton
Right on, thank you for the review, best, --Michael https://codereview.chromium.org/219313002/diff/40001/src/ic.cc File src/ic.cc (right): https://codereview.chromium.org/219313002/diff/40001/src/ic.cc#newcode362 src/ic.cc:362: ...
6 years, 8 months ago (2014-04-01 14:14:18 UTC) #5
mvstanton
6 years, 8 months ago (2014-04-01 14:17:02 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r20407 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698