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

Issue 2052763003: [ic] [stubs] Remove InlineCacheState field from the code flags. (Closed)

Created:
4 years, 6 months ago by Igor Sheludko
Modified:
4 years, 6 months ago
Reviewers:
Toon Verwaest
CC:
v8-reviews_googlegroups.com, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] [stubs] Remove InlineCacheState field from the code flags. There are no ICs left that store their state in this field: vector based ICs use feedback vector and the rest three (BinaryOpIC, CompareIC and ToBooleanIC) reconstruct their state from the ExtraICState field. This CL also removes unused InlineCacheState::DEBUG_STUB which was used mostly in Code::is_debug_stub(). The latter now checks if the code is one of the debug builtins instead. BUG=chromium:618701 LOG=Y Committed: https://crrev.com/9dc62d2721bb35178d60d10c52d4f84daff03c78 Cr-Commit-Position: refs/heads/master@{#36871}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Addressed comments, removed Code::Kind::DEBUG_STUB #

Patch Set 3 : Rebasing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -296 lines) Patch
M src/builtins.h View 1 2 5 chunks +130 lines, -145 lines 0 comments Download
M src/builtins.cc View 2 chunks +23 lines, -25 lines 0 comments Download
M src/code-stubs.h View 1 2 23 chunks +14 lines, -32 lines 0 comments Download
M src/code-stubs.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M src/debug/arm/debug-arm.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/debug/arm64/debug-arm64.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/debug/ia32/debug-ia32.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/debug/mips/debug-mips.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/debug/mips64/debug-mips64.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/debug/ppc/debug-ppc.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/debug/s390/debug-s390.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/debug/x64/debug-x64.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/debug/x87/debug-x87.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/disassembler.cc View 1 2 chunks +6 lines, -3 lines 0 comments Download
M src/external-reference-table.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/globals.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/ic/ic.h View 1 2 chunks +2 lines, -5 lines 0 comments Download
M src/ic/ic.cc View 1 2 5 chunks +24 lines, -12 lines 0 comments Download
M src/ic/stub-cache.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/objects.h View 1 4 chunks +5 lines, -14 lines 0 comments Download
M src/objects.cc View 1 3 chunks +4 lines, -3 lines 0 comments Download
M src/objects-inl.h View 1 6 chunks +17 lines, -36 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M test/cctest/test-code-cache.cc View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 42 (25 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052763003/60001
4 years, 6 months ago (2016-06-09 09:39:57 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/2874) v8_linux64_rel_ng on ...
4 years, 6 months ago (2016-06-09 09:43:08 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052763003/80001
4 years, 6 months ago (2016-06-09 11:29:38 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: v8_linux64_avx2_rel_ng on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/2886) v8_linux_arm64_rel_ng on ...
4 years, 6 months ago (2016-06-09 11:33:26 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052763003/120001
4 years, 6 months ago (2016-06-09 11:49:45 UTC) #17
Igor Sheludko
PTAL
4 years, 6 months ago (2016-06-09 11:50:18 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-09 12:22:07 UTC) #22
Toon Verwaest
awesome cleanup! https://codereview.chromium.org/2052763003/diff/120001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2052763003/diff/120001/src/objects.cc#newcode13961 src/objects.cc:13961: return UNINITIALIZED; This looks weird, this case ...
4 years, 6 months ago (2016-06-09 13:49:12 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052763003/140001
4 years, 6 months ago (2016-06-09 15:14:02 UTC) #26
Igor Sheludko
Addressed comments https://codereview.chromium.org/2052763003/diff/120001/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2052763003/diff/120001/src/objects.cc#newcode13961 src/objects.cc:13961: return UNINITIALIZED; On 2016/06/09 13:49:12, Toon Verwaest ...
4 years, 6 months ago (2016-06-09 15:18:21 UTC) #27
Toon Verwaest
Even better, lgtm
4 years, 6 months ago (2016-06-09 15:29:09 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-09 15:45:02 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052763003/140001
4 years, 6 months ago (2016-06-09 15:48:11 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/16887)
4 years, 6 months ago (2016-06-09 15:50:42 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2052763003/160001
4 years, 6 months ago (2016-06-09 16:16:33 UTC) #38
commit-bot: I haz the power
Committed patchset #3 (id:160001)
4 years, 6 months ago (2016-06-09 16:46:26 UTC) #40
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 16:49:11 UTC) #42
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9dc62d2721bb35178d60d10c52d4f84daff03c78
Cr-Commit-Position: refs/heads/master@{#36871}

Powered by Google App Engine
This is Rietveld 408576698