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

Issue 2677603004: [ic] Fix StoreIC_SlowSloppy/Strict builtins. (Closed)

Created:
3 years, 10 months ago by Igor Sheludko
Modified:
3 years, 10 months ago
Reviewers:
Jakob Kummerow
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] Fix StoreIC_SlowSloppy/Strict builtins. ... by using KeyedStoreIC_Slow builtin instead. The issue with hard-coded language mode is that the stub can be re-used through megamorphic stub cache for an IC with incompatible language mode. KeyedStoreIC_Slow already does the right thing - it decodes the language mode from the IC slot kind. This CL also fixes the code kinds of the slow IC handlers. The code kind of IC handlers is used only for checking that the handler was added to the right megamorphic stub cache, which expect the handlers' code kinds to be either Code::LOAD_IC or Code::STORE_IC. And the megamorphic builtins are just helper code stubs that are called from IC dispatchers, therefore they should have BUILTIN code kind. Same applies to the other stubs which are neither IC dispatchers nor handlers. BUG=v8:5917 Review-Url: https://codereview.chromium.org/2677603004 Cr-Commit-Position: refs/heads/master@{#42958} Committed: https://chromium.googlesource.com/v8/v8/+/8f2245bf9995d00ea74f9083dca40b08e2e49943

Patch Set 1 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -57 lines) Patch
M src/builtins/builtins.h View 1 chunk +10 lines, -13 lines 0 comments Download
M src/builtins/builtins-handler.cc View 1 chunk +0 lines, -30 lines 0 comments Download
M src/ic/ic.h View 1 chunk +2 lines, -13 lines 0 comments Download
M src/ic/ic.cc View 1 chunk +0 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (18 generated)
Igor Sheludko
PTAL
3 years, 10 months ago (2017-02-03 17:44:00 UTC) #9
Jakob Kummerow
lgtm
3 years, 10 months ago (2017-02-03 20:05:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2677603004/40001
3 years, 10 months ago (2017-02-06 10:10:05 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-06 10:41:17 UTC) #22
Message was sent while issue was closed.
Committed patchset #1 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/8f2245bf9995d00ea74f9083dca40b08e2e...

Powered by Google App Engine
This is Rietveld 408576698