diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-02-20 15:45:52 +0100 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-02-22 15:32:53 +0000 |
commit | 10e54a075e08cac2267d43dcd0e092019f91c83f (patch) | |
tree | 79411d30f9b3f67b784ae2480ff78eb1ba74a10d | |
parent | 7338fd6c9f9293c290101be457fb0c59cc36408e (diff) | |
download | qtwebengine-chromium-10e54a075e08cac2267d43dcd0e092019f91c83f.tar.gz |
FIXUP: Fixes for building with MSVC
Change-Id: I2aec8caffeebadc9feed34e64769149ffcb42172
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/461405
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/base/task/common/task_annotator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/base/task/common/task_annotator.cc b/chromium/base/task/common/task_annotator.cc index 4c6e9117e28..9c63fff608e 100644 --- a/chromium/base/task/common/task_annotator.cc +++ b/chromium/base/task/common/task_annotator.cc @@ -132,7 +132,7 @@ void TaskAnnotator::RunTaskImpl(PendingTask& pending_task) { if (g_task_annotator_observer) g_task_annotator_observer->BeforeRunTask(&pending_task); std::move(pending_task.task).Run(); -#if BUILDFLAG(IS_WIN) && defined(ARCH_CPU_X86_FAMILY) +#if BUILDFLAG(IS_WIN) && defined(ARCH_CPU_X86_FAMILY) && defined(__clang__) // Some tasks on some machines clobber the non-volatile XMM registers in // violation of the Windows ABI. This empty assembly language block with // clobber directives tells the compiler to assume that these registers |