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

Issue 2472653002: [compiler] Sanitize IC counts for vector based ICs. (Closed)

Created:
4 years, 1 month ago by Benedikt Meurer
Modified:
4 years, 1 month ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-x87-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[compiler] Sanitize IC counts for vector based ICs. All vector ICs use the TypeFeedbackVector::ComputeCounts method now, while the remaining patching ICs still use the traditional way of counting on the TypeFeedbackInfo hanging off the fullcodegen code object. This fixes the problem that counts were sometimes off. Drive-by-fix: Move FullCodeGenerator::CallIC to fullcodegen.cc. R=yangguo@chromium.org Committed: https://crrev.com/5ef1bddf80d176c3f882b699e65f48fba1af3da5 Cr-Commit-Position: refs/heads/master@{#40690}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix compile. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -135 lines) Patch
M src/full-codegen/arm/full-codegen-arm.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M src/full-codegen/arm64/full-codegen-arm64.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M src/full-codegen/full-codegen.h View 1 chunk +2 lines, -4 lines 0 comments Download
M src/full-codegen/full-codegen.cc View 5 chunks +18 lines, -13 lines 0 comments Download
M src/full-codegen/ia32/full-codegen-ia32.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M src/full-codegen/mips/full-codegen-mips.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M src/full-codegen/mips64/full-codegen-mips64.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M src/full-codegen/ppc/full-codegen-ppc.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M src/full-codegen/s390/full-codegen-s390.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M src/full-codegen/x64/full-codegen-x64.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M src/full-codegen/x87/full-codegen-x87.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M src/ia32/macro-assembler-ia32.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M src/runtime-profiler.cc View 1 chunk +1 line, -4 lines 0 comments Download
M src/type-feedback-vector-inl.h View 1 2 chunks +49 lines, -40 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Benedikt Meurer
4 years, 1 month ago (2016-11-02 04:57:15 UTC) #1
Benedikt Meurer
Hey Yang, Here's a simple fix for the IC counts. Please take a look. Thanks, ...
4 years, 1 month ago (2016-11-02 04:58:05 UTC) #4
Yang
lgtm https://codereview.chromium.org/2472653002/diff/1/src/type-feedback-vector-inl.h File src/type-feedback-vector-inl.h (right): https://codereview.chromium.org/2472653002/diff/1/src/type-feedback-vector-inl.h#newcode187 src/type-feedback-vector-inl.h:187: total++; Can't we just compute total = gen ...
4 years, 1 month ago (2016-11-02 05:20:12 UTC) #7
Benedikt Meurer
https://codereview.chromium.org/2472653002/diff/1/src/type-feedback-vector-inl.h File src/type-feedback-vector-inl.h (right): https://codereview.chromium.org/2472653002/diff/1/src/type-feedback-vector-inl.h#newcode187 src/type-feedback-vector-inl.h:187: total++; No, because total is the total number of ...
4 years, 1 month ago (2016-11-02 05:24:13 UTC) #8
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/2472653002/20001
4 years, 1 month ago (2016-11-02 05:42:17 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-02 06:00:32 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:18:57 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5ef1bddf80d176c3f882b699e65f48fba1af3da5
Cr-Commit-Position: refs/heads/master@{#40690}

Powered by Google App Engine
This is Rietveld 408576698