Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:16837
chromium.openSUSE_Backports_SLE-15-SP3_Update
chromium-92-v8-constexpr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-92-v8-constexpr.patch of Package chromium.openSUSE_Backports_SLE-15-SP3_Update
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); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor