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

Issue 91803003: Move responsibility for definition of ExtraICState bits into the ICs. (Closed)

Created:
7 years ago by mvstanton
Modified:
7 years ago
Reviewers:
Toon Verwaest
CC:
v8-dev
Visibility:
Public.

Description

Move responsibility for definition of ExtraICState bits into the ICs. Currently it's in the Code object for some ICs and in ICs for other ICs. This should make it easier to alter bits as needed. 2) Recover an extra bit in the code object to give us 6 bits for the extra ic state. We'll need it soon to store contextual state. 3) Cleanup code that treated StrictMode enum and ExtraICState enum as interchangeble. R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18136

Patch Set 1 #

Patch Set 2 : Comment response #

Total comments: 4

Patch Set 3 : Comment response. #

Patch Set 4 : Missed a nit. #

Patch Set 5 : REBASE #

Patch Set 6 : A couple more nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+283 lines, -231 lines) Patch
M src/arm/ic-arm.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M src/builtins.h View 1 2 2 chunks +60 lines, -60 lines 0 comments Download
M src/builtins.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/code-stubs.h View 1 2 11 chunks +13 lines, -13 lines 0 comments Download
M src/ia32/ic-ia32.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M src/ia32/stub-cache-ia32.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M src/ic.h View 1 2 3 4 5 11 chunks +62 lines, -18 lines 0 comments Download
M src/ic.cc View 1 2 11 chunks +17 lines, -12 lines 0 comments Download
M src/ic-inl.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/mips/ic-mips.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M src/mips/stub-cache-mips.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M src/objects.h View 1 2 5 chunks +17 lines, -30 lines 0 comments Download
M src/objects-inl.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M src/stub-cache.h View 1 2 12 chunks +19 lines, -17 lines 0 comments Download
M src/stub-cache.cc View 1 2 3 27 chunks +50 lines, -39 lines 0 comments Download
M src/type-info.cc View 1 2 4 chunks +8 lines, -5 lines 0 comments Download
M src/x64/ic-x64.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mvstanton
Hi Toon, PTAL, --Michael
7 years ago (2013-11-27 16:08:08 UTC) #1
mvstanton
Hi Toon, here are my updates in response to your comments. Moving Code::kNoExtraICState to IC::kNoExtraICState ...
7 years ago (2013-11-27 21:34:37 UTC) #2
Toon Verwaest
I wouldn't move kNoExtraICState to IC unless you can remove it fully from Code. As ...
7 years ago (2013-11-28 09:58:47 UTC) #3
mvstanton
Hi Toon, Okay, comments addressed. The big change though here is moving ExtraICState to a ...
7 years ago (2013-11-28 11:23:10 UTC) #4
Toon Verwaest
lgtm
7 years ago (2013-11-28 15:15:04 UTC) #5
mvstanton
7 years ago (2013-11-28 15:33:08 UTC) #6
Message was sent while issue was closed.
Committed patchset #6 manually as r18136 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698