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

Issue 2390043003: Remove unnecessary duplication of FunctionKind enums in CompilerHints (Closed)

Created:
4 years, 2 months ago by adamk
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com, neis
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Remove unnecessary duplication of FunctionKind enums in CompilerHints The duplicated enum values are only used by the FastNewClosureStub, so inline them there, with the help of one new constant (kFunctionKindShift) in SharedFunctionInfo. Committed: https://crrev.com/7a82be3d0d7d3f0a3aa2d2dfdbe64f495a93245b Cr-Commit-Position: refs/heads/master@{#40005}

Patch Set 1 #

Patch Set 2 : Fix arm64 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -56 lines) Patch
M src/builtins/arm64/builtins-arm64.cc View 1 1 chunk +3 lines, -5 lines 0 comments Download
M src/code-stubs.cc View 1 chunk +13 lines, -8 lines 0 comments Download
M src/objects.h View 3 chunks +8 lines, -43 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
adamk
Hi Benedikt, I noticed this enum duplication while doing some modules work. Let me know ...
4 years, 2 months ago (2016-10-04 17:08:01 UTC) #10
adamk
+mstarzinger (originally sent to bmeurer since he suggested the approach used in code-stubs.cc).
4 years, 2 months ago (2016-10-04 18:13:44 UTC) #12
Benedikt Meurer
Very nice. LGTM.
4 years, 2 months ago (2016-10-05 03:08:09 UTC) #13
Michael Starzinger
LGTM. I like it! I tried to think of a way to make sure the ...
4 years, 2 months ago (2016-10-05 08:12:06 UTC) #14
adamk
On 2016/10/05 08:12:06, Michael Starzinger wrote: > LGTM. I like it! I tried to think ...
4 years, 2 months ago (2016-10-05 17:07:01 UTC) #15
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/2390043003/20001
4 years, 2 months ago (2016-10-05 17:07:16 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-05 17:54:24 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 17:54:51 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7a82be3d0d7d3f0a3aa2d2dfdbe64f495a93245b
Cr-Commit-Position: refs/heads/master@{#40005}

Powered by Google App Engine
This is Rietveld 408576698