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

Issue 2731263003: Allow constexpr function in MSVC (Closed)

Created:
3 years, 9 months ago by rongjie
Modified:
3 years, 9 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Allow constexpr function in MSVC BUG=NO Review-Url: https://codereview.chromium.org/2731263003 Cr-Commit-Position: refs/heads/master@{#43636} Committed: https://chromium.googlesource.com/v8/v8/+/8038f1bd678065e295686c80eb4c394776e75268

Patch Set 1 #

Patch Set 2 : drop globals.h #

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

Messages

Total messages: 28 (15 generated)
rongjie
3 years, 9 months ago (2017-03-07 05:22:22 UTC) #3
vogelheim
Thanks for the patch! The MSVC issue in token.cc seems to be resolved, but several ...
3 years, 9 months ago (2017-03-07 09:44:51 UTC) #8
vogelheim
lgtm for src/parsing/token.cc (only). I'm a bit unsure how to proceed with globals.h. One option ...
3 years, 9 months ago (2017-03-07 10:28:44 UTC) #9
jochen (gone - plz use gerrit)
http://chromium-cpp.appspot.com/ says "Don't go out of the way to convert existing code." about constexpr, so ...
3 years, 9 months ago (2017-03-07 10:32:39 UTC) #11
Clemens Hammacher
On 2017/03/07 at 10:32:39, jochen wrote: > http://chromium-cpp.appspot.com/ says "Don't go out of the way ...
3 years, 9 months ago (2017-03-07 10:50:33 UTC) #12
vogelheim
On 2017/03/07 10:32:39, jochen wrote: > http://chromium-cpp.appspot.com/ says "Don't go out of the way to ...
3 years, 9 months ago (2017-03-07 10:52:01 UTC) #13
jochen (gone - plz use gerrit)
On 2017/03/07 at 10:50:33, clemensh wrote: > On 2017/03/07 at 10:32:39, jochen wrote: > > ...
3 years, 9 months ago (2017-03-07 10:53:50 UTC) #14
rongjie
Dropped src\globals.h , doesn't really matter as a decent compiler should be able to to ...
3 years, 9 months ago (2017-03-07 11:22:55 UTC) #15
vogelheim
lgtm
3 years, 9 months ago (2017-03-07 11:28:23 UTC) #19
Clemens Hammacher
lgtm I think in general it is desirable to transform more code to constexpr, but ...
3 years, 9 months ago (2017-03-07 11:32:33 UTC) #20
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/2731263003/20001
3 years, 9 months ago (2017-03-07 11:54:41 UTC) #24
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/v8/v8/+/8038f1bd678065e295686c80eb4c394776e75268
3 years, 9 months ago (2017-03-07 11:56:25 UTC) #27
rongjie
3 years, 9 months ago (2017-03-08 11:08:59 UTC) #28
Message was sent while issue was closed.
On 2017/03/07 11:56:25, commit-bot: I haz the power wrote:
> Committed patchset #2 (id:20001) as
>
https://chromium.googlesource.com/v8/v8/+/8038f1bd678065e295686c80eb4c394776e...

clemens@ You are right about reinterpret_cast is forbidden for constexpr, VS2017
RTM throws error now.

https://twitter.com/StephanTLavavej/status/839365305310699521

Powered by Google App Engine
This is Rietveld 408576698