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

Issue 17636003: Fix compilation error introduced with r15287. (Closed)

Created:
7 years, 6 months ago by Benedikt Meurer
Modified:
7 years, 6 months ago
Reviewers:
Sven Panne, danno
Visibility:
Public.

Description

Fix compilation error introduced with r15287. REGEXP was added to Code::Kind after TO_BOOLEAN_IC, but NUMBER_OF_KINDS, which is used as array size for table[] in ReportCodeKindStatistics, was still TO_BOOLEAN_IC + 1 (indirectly via LAST_IC_KIND). BUG= R=svenpanne@chromium.org Committed: 15315

Patch Set 1 #

Patch Set 2 : Updated fix #

Total comments: 6

Patch Set 3 : Trivial cleanup #

Patch Set 4 : Next try #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -68 lines) Patch
M src/heap.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/objects.h View 1 2 3 2 chunks +27 lines, -25 lines 0 comments Download
M src/objects-inl.h View 1 1 chunk +6 lines, -1 line 0 comments Download
M src/spaces.cc View 1 2 3 4 chunks +10 lines, -40 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Benedikt Meurer
7 years, 6 months ago (2013-06-24 20:18:35 UTC) #1
Sven Panne
Not LGTM. Although this is a workaround, we already managed to break this fragile thing, ...
7 years, 6 months ago (2013-06-25 06:36:04 UTC) #2
danno
Why not just have two lists? NON_IC_CODE_KIND_LIST and IC_CODE_KIND_LIST? Just append the lists together for ...
7 years, 6 months ago (2013-06-25 06:45:56 UTC) #3
Benedikt Meurer
On 2013/06/25 06:36:04, Sven Panne wrote: > * Nuke FIRST_IC_KIND/LAST_IC_KIND and use a switch with ...
7 years, 6 months ago (2013-06-25 07:55:44 UTC) #4
Benedikt Meurer
On 2013/06/25 06:45:56, danno wrote: > Why not just have two lists? NON_IC_CODE_KIND_LIST and IC_CODE_KIND_LIST? ...
7 years, 6 months ago (2013-06-25 07:56:01 UTC) #5
Sven Panne
Almost there... https://codereview.chromium.org/17636003/diff/5001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/17636003/diff/5001/src/objects.h#newcode4474 src/objects.h:4474: LAST_CODE_KIND = -1 CODE_KIND_LIST(COUNT_FLAG) I don't think ...
7 years, 6 months ago (2013-06-25 08:08:10 UTC) #6
Benedikt Meurer
https://codereview.chromium.org/17636003/diff/5001/src/objects.h File src/objects.h (right): https://codereview.chromium.org/17636003/diff/5001/src/objects.h#newcode4474 src/objects.h:4474: LAST_CODE_KIND = -1 CODE_KIND_LIST(COUNT_FLAG) On 2013/06/25 08:08:10, Sven Panne ...
7 years, 6 months ago (2013-06-25 08:48:09 UTC) #7
Sven Panne
lgtm
7 years, 6 months ago (2013-06-25 09:02:00 UTC) #8
Benedikt Meurer
7 years, 6 months ago (2013-06-25 09:09:33 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 manually as r15315 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698