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

Issue 2541533002: Move Smi::kZero definition to the header (Closed)

Created:
4 years ago by Clemens Hammacher
Modified:
4 years ago
Reviewers:
Igor Sheludko
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Move Smi::kZero definition to the header Since we don't pass references to this constant to the DCHECKs any more (see http://crrev.com/2524093002), the constant can now be initialized in the header, reducing code size and increasing performance. Before the mentioned change in CHECK/DCHECK, this caused link errors. R=ishell@chromium.org CC=jgruber@chromium.org BUG=v8:5684 Committed: https://crrev.com/34342f312c39374068fbe82e42ca2579e7077710 Cr-Commit-Position: refs/heads/master@{#41450}

Patch Set 1 #

Patch Set 2 : Change "constexpr static" to "static constexpr" for consistency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -4 lines) Patch
M src/objects.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/objects.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (13 generated)
Igor Sheludko
lgtm once we switch to MSVC2015.
4 years ago (2016-11-29 15:28:56 UTC) #10
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/2541533002/20001
4 years ago (2016-12-02 09:38:02 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-02 10:05:48 UTC) #15
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/34342f312c39374068fbe82e42ca2579e7077710 Cr-Commit-Position: refs/heads/master@{#41450}
4 years ago (2016-12-02 10:06:04 UTC) #17
jgruber
4 years ago (2016-12-02 10:08:36 UTC) #18
Message was sent while issue was closed.
On 2016/12/02 10:06:04, commit-bot: I haz the power wrote:
> Patchset 2 (id:??) landed as
> https://crrev.com/34342f312c39374068fbe82e42ca2579e7077710
> Cr-Commit-Position: refs/heads/master@{#41450}

Very nice!

Powered by Google App Engine
This is Rietveld 408576698