chromium-browser: version bump to 92.0.4515.131
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
diff --git a/components/cast_channel/enum_table.h b/components/cast_channel/enum_table.h
|
||||
index e3130c7..2ad16ea 100644
|
||||
--- a/components/cast_channel/enum_table.h
|
||||
+++ b/components/cast_channel/enum_table.h
|
||||
@@ -212,7 +212,7 @@ class
|
||||
|
||||
template <typename E>
|
||||
friend class EnumTable;
|
||||
- DISALLOW_COPY_AND_ASSIGN(GenericEnumTableEntry);
|
||||
+ DISALLOW_ASSIGN(GenericEnumTableEntry);
|
||||
};
|
||||
|
||||
// Yes, these constructors really needs to be inlined. Even though they look
|
||||
@@ -250,8 +250,7 @@ class EnumTable {
|
||||
// Constructor for regular entries.
|
||||
constexpr Entry(E value, base::StringPiece str)
|
||||
: GenericEnumTableEntry(static_cast<int32_t>(value), str) {}
|
||||
-
|
||||
- DISALLOW_COPY_AND_ASSIGN(Entry);
|
||||
+ DISALLOW_ASSIGN(Entry);
|
||||
};
|
||||
|
||||
static_assert(sizeof(E) <= sizeof(int32_t),
|
||||
@@ -306,15 +305,14 @@ class EnumTable {
|
||||
if (is_sorted_) {
|
||||
const std::size_t index = static_cast<std::size_t>(value);
|
||||
if (ANALYZER_ASSUME_TRUE(index < data_.size())) {
|
||||
- const auto& entry = data_.begin()[index];
|
||||
+ const auto& entry = data_[index];
|
||||
if (ANALYZER_ASSUME_TRUE(entry.has_str()))
|
||||
return entry.str();
|
||||
}
|
||||
return absl::nullopt;
|
||||
}
|
||||
return GenericEnumTableEntry::FindByValue(
|
||||
- reinterpret_cast<const GenericEnumTableEntry*>(data_.begin()),
|
||||
- data_.size(), static_cast<int32_t>(value));
|
||||
+ &data_[0], data_.size(), static_cast<int32_t>(value));
|
||||
}
|
||||
|
||||
// This overload of GetString is designed for cases where the argument is a
|
||||
@@ -342,8 +340,7 @@ class EnumTable {
|
||||
// enum value directly.
|
||||
absl::optional<E> GetEnum(base::StringPiece str) const {
|
||||
auto* entry = GenericEnumTableEntry::FindByString(
|
||||
- reinterpret_cast<const GenericEnumTableEntry*>(data_.begin()),
|
||||
- data_.size(), str);
|
||||
+ &data_[0], data_.size(), str);
|
||||
return entry ? static_cast<E>(entry->value) : absl::optional<E>();
|
||||
}
|
||||
|
||||
@@ -358,7 +355,7 @@ class EnumTable {
|
||||
// Align the data on a cache line boundary.
|
||||
alignas(64)
|
||||
#endif
|
||||
- std::initializer_list<Entry> data_;
|
||||
+ const std::vector<Entry> data_;
|
||||
bool is_sorted_;
|
||||
|
||||
constexpr EnumTable(std::initializer_list<Entry> data, bool is_sorted)
|
||||
@@ -370,8 +367,8 @@ class EnumTable {
|
||||
|
||||
for (std::size_t i = 0; i < data.size(); i++) {
|
||||
for (std::size_t j = i + 1; j < data.size(); j++) {
|
||||
- const Entry& ei = data.begin()[i];
|
||||
- const Entry& ej = data.begin()[j];
|
||||
+ const Entry& ei = data[i];
|
||||
+ const Entry& ej = data[j];
|
||||
DCHECK(ei.value != ej.value)
|
||||
<< "Found duplicate enum values at indices " << i << " and " << j;
|
||||
DCHECK(!(ei.has_str() && ej.has_str() && ei.str() == ej.str()))
|
||||
@@ -2,13 +2,12 @@ Index: chromium-73.0.3683.27/components/version_ui_strings.grdp
|
||||
===================================================================
|
||||
--- chromium-73.0.3683.27.orig/components/version_ui_strings.grdp
|
||||
+++ chromium-73.0.3683.27/components/version_ui_strings.grdp
|
||||
@@ -7,7 +7,7 @@
|
||||
Official Build
|
||||
@@ -4,7 +4,7 @@
|
||||
About Version
|
||||
</message>
|
||||
<message name="IDS_VERSION_UI_UNOFFICIAL" desc="unofficial build on the about:version page">
|
||||
- Developer Build
|
||||
<message name="IDS_VERSION_UI_OFFICIAL" desc="official build on the about:version page">
|
||||
- Official Build
|
||||
+ PisiLinux Build
|
||||
</message>
|
||||
<message name="IDS_VERSION_UI_32BIT" desc="32-bit on the chrome://version page">
|
||||
(32-bit)
|
||||
|
||||
<message name="IDS_VERSION_UI_UNOFFICIAL" desc="unofficial build on the about:version page">
|
||||
Developer Build
|
||||
@@ -1,47 +0,0 @@
|
||||
From 429e6f78a88473208e96689afa2f6e91f07a4f8c Mon Sep 17 00:00:00 2001
|
||||
From: Stephan Hartmann <stha09@googlemail.com>
|
||||
Date: Sat, 10 Apr 2021 17:02:49 +0000
|
||||
Subject: [PATCH] GCC: fix vector types in pcscan
|
||||
|
||||
* _mm_cmpeq_epi64 result is __m128i
|
||||
* maybe_ptrs is __m128i already and doesn't require cast
|
||||
|
||||
Bug: 819294
|
||||
Change-Id: I3f8c6cc327191827838e80aea1431ac09315fe88
|
||||
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2817544
|
||||
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
|
||||
Commit-Queue: Stephan Hartmann <stha09@googlemail.com>
|
||||
Cr-Commit-Position: refs/heads/master@{#871265}
|
||||
---
|
||||
|
||||
diff --git a/base/allocator/partition_allocator/starscan/pcscan.cc b/base/allocator/partition_allocator/starscan/pcscan.cc
|
||||
index c7854ff..d5c0aea 100644
|
||||
--- a/base/allocator/partition_allocator/starscan/pcscan.cc
|
||||
+++ b/base/allocator/partition_allocator/starscan/pcscan.cc
|
||||
@@ -1143,7 +1143,7 @@
|
||||
const __m128i maybe_ptrs =
|
||||
_mm_loadu_si128(reinterpret_cast<__m128i*>(payload));
|
||||
const __m128i vand = _mm_and_si128(maybe_ptrs, cage_mask);
|
||||
- const __m128d vcmp = _mm_cmpeq_epi64(vand, vbase);
|
||||
+ const __m128i vcmp = _mm_cmpeq_epi64(vand, vbase);
|
||||
const int mask = _mm_movemask_pd(_mm_castsi128_pd(vcmp));
|
||||
if (LIKELY(!mask))
|
||||
continue;
|
||||
@@ -1153,15 +1153,14 @@
|
||||
if (mask & 0b01) {
|
||||
quarantine_size +=
|
||||
pcscan_task_.TryMarkObjectInNormalBuckets<GigaCageLookupPolicy>(
|
||||
- _mm_cvtsi128_si64(_mm_castpd_si128(maybe_ptrs)));
|
||||
+ _mm_cvtsi128_si64(maybe_ptrs));
|
||||
}
|
||||
if (mask & 0b10) {
|
||||
// Extraction intrinsics for qwords are only supported in SSE4.1, so
|
||||
// instead we reshuffle dwords with pshufd. The mask is used to move the
|
||||
// 4th and 3rd dwords into the second and first position.
|
||||
static constexpr int kSecondWordMask = (3 << 2) | (2 << 0);
|
||||
- const __m128i shuffled =
|
||||
- _mm_shuffle_epi32(_mm_castpd_si128(maybe_ptrs), kSecondWordMask);
|
||||
+ const __m128i shuffled = _mm_shuffle_epi32(maybe_ptrs, kSecondWordMask);
|
||||
quarantine_size +=
|
||||
pcscan_task_.TryMarkObjectInNormalBuckets<GigaCageLookupPolicy>(
|
||||
_mm_cvtsi128_si64(shuffled));
|
||||
@@ -0,0 +1,17 @@
|
||||
GCC: make VRegister::from_code() constexpr on aarch64
|
||||
|
||||
LiftoffRegister::gp() and LiftoffRegister::fp() are constexpr.
|
||||
Therefore, VRegister::from_code() needs to be constexpr as well.
|
||||
diff --git a/v8/src/codegen/arm64/register-arm64.h b/v8/src/codegen/arm64/register-arm64.h
|
||||
index 1150daf..21007a5 100644
|
||||
--- a/v8/src/codegen/arm64/register-arm64.h
|
||||
+++ b/v8/src/codegen/arm64/register-arm64.h
|
||||
@@ -413,7 +413,7 @@ class VRegister : public CPURegister {
|
||||
static constexpr int kMaxNumRegisters = kNumberOfVRegisters;
|
||||
STATIC_ASSERT(kMaxNumRegisters == kDoubleAfterLast);
|
||||
|
||||
- static VRegister from_code(int code) {
|
||||
+ static constexpr VRegister from_code(int code) {
|
||||
// Always return a D register.
|
||||
return VRegister::Create(code, kDRegSizeInBits);
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
diff --git a/third_party/swiftshader/src/OpenGL/libEGL/BUILD.gn b/third_party/swiftshader/src/OpenGL/libEGL/BUILD.gn
|
||||
index 1421911..cf86974 100644
|
||||
--- a/third_party/swiftshader/src/OpenGL/libEGL/BUILD.gn
|
||||
+++ b/third_party/swiftshader/src/OpenGL/libEGL/BUILD.gn
|
||||
@@ -42,7 +42,7 @@ config("swiftshader_libEGL_private_config") {
|
||||
} else if (is_clang) {
|
||||
defines += [ "EGLAPI=__attribute__((visibility(\"protected\"))) __attribute__((no_sanitize(\"function\")))" ]
|
||||
} else {
|
||||
- defines += [ "EGLAPI= " ]
|
||||
+ defines += [ "EGLAPI=__attribute__((visibility(\"protected\")))" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
diff --git a/third_party/swiftshader/src/OpenGL/libGLESv2/BUILD.gn b/third_party/swiftshader/src/OpenGL/libGLESv2/BUILD.gn
|
||||
index f71dc68..fc3ba3a 100644
|
||||
--- a/third_party/swiftshader/src/OpenGL/libGLESv2/BUILD.gn
|
||||
+++ b/third_party/swiftshader/src/OpenGL/libGLESv2/BUILD.gn
|
||||
@@ -57,7 +57,7 @@ config("swiftshader_libGLESv2_private_config") {
|
||||
} else if (is_clang) {
|
||||
defines += [ "GL_APICALL=__attribute__((visibility(\"protected\"))) __attribute__((no_sanitize(\"function\")))" ]
|
||||
} else {
|
||||
- defines += [ "GL_APICALL= " ]
|
||||
+ defines += [ "GL_APICALL=__attribute__((visibility(\"protected\")))" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user