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

Issue 1949653002: Work around a clang-cl devirtualization bug. (Closed)

Created:
4 years, 7 months ago by Nico
Modified:
4 years, 7 months ago
CC:
chromium-reviews, blink-reviews, haraken, native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Work around a clang-cl devirtualization bug. clang-cl currently miscompiles calls to virtual methods of base classes of a final class. Since the type is final, it tries to devirtualize the call, but then it forgets to apply the right this adjustment. https://codereview.chromium.org/1938853002 added static_casts to a super class for visibility reasons, exposing this bug. BUG=608705 R=rouslan@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/9306e66e5e680801132688b987fe850f1bb43b7a

Patch Set 1 #

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M third_party/WebKit/Source/modules/payments/PaymentRequest.h View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
Nico
4 years, 7 months ago (2016-05-03 18:12:11 UTC) #2
please use gerrit instead
lgtm
4 years, 7 months ago (2016-05-03 18:24:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1949653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1949653002/20001
4 years, 7 months ago (2016-05-03 18:26:18 UTC) #5
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9306e66e5e680801132688b987fe850f1bb43b7a Cr-Commit-Position: refs/heads/master@{#391307}
4 years, 7 months ago (2016-05-03 18:39:12 UTC) #7
Nico
Committed patchset #2 (id:20001) manually as 9306e66e5e680801132688b987fe850f1bb43b7a (presubmit successful).
4 years, 7 months ago (2016-05-03 18:40:10 UTC) #9
Nico
4 years, 7 months ago (2016-05-09 16:51:42 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1958183002/ by thakis@chromium.org.

The reason for reverting is: We fixed the compiler bug, this should no longer be
needed..

Powered by Google App Engine
This is Rietveld 408576698