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

Issue 2708593004: Define illegal zone_allocator constructor only for MSVS (Closed)

Created:
3 years, 10 months ago by Clemens Hammacher
Modified:
3 years, 10 months ago
Reviewers:
bbudge
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Define illegal zone_allocator constructor only for MSVS It turns out that the default constructor of allocators used in standard containers is still needed in MSVS 2015. This CL defines the constructor only when compiling on windows. R=bbudge@chromium.org Review-Url: https://codereview.chromium.org/2708593004 Cr-Commit-Position: refs/heads/master@{#43341} Committed: https://chromium.googlesource.com/v8/v8/+/a182f8d510983e22cc05e16ae4ce7c43a6ecb07d

Patch Set 1 #

Patch Set 2 : Add ifdef to still define the constructor on windows #

Total comments: 2

Patch Set 3 : Use V8_CC_MSVC instead of V8_OS_WIN #

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

Messages

Total messages: 23 (17 generated)
Clemens Hammacher
I ran into this UNREACHABLE, so I tried removing the obsolete constructor. Unfortunately, MSVS 2015 ...
3 years, 10 months ago (2017-02-20 19:21:52 UTC) #8
bbudge
lgtm
3 years, 10 months ago (2017-02-20 19:24:02 UTC) #9
bbudge
One comment. https://codereview.chromium.org/2708593004/diff/20001/src/zone/zone-allocator.h File src/zone/zone-allocator.h (right): https://codereview.chromium.org/2708593004/diff/20001/src/zone/zone-allocator.h#newcode29 src/zone/zone-allocator.h:29: #ifdef V8_OS_WIN Perhaps V8_CC_MSVC would be a ...
3 years, 10 months ago (2017-02-20 19:43:05 UTC) #10
Clemens Hammacher
https://codereview.chromium.org/2708593004/diff/20001/src/zone/zone-allocator.h File src/zone/zone-allocator.h (right): https://codereview.chromium.org/2708593004/diff/20001/src/zone/zone-allocator.h#newcode29 src/zone/zone-allocator.h:29: #ifdef V8_OS_WIN On 2017/02/20 at 19:43:05, bbudge wrote: > ...
3 years, 10 months ago (2017-02-21 09:48:20 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/2708593004/40001
3 years, 10 months ago (2017-02-21 10:15:27 UTC) #20
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 10:18:51 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/a182f8d510983e22cc05e16ae4ce7c43a6e...

Powered by Google App Engine
This is Rietveld 408576698