mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
11 lines
424 B
Diff
11 lines
424 B
Diff
--- ./v8/src/codegen/arm64/register-arm64.h.orig
|
|
+++ ./v8/src/codegen/arm64/register-arm64.h
|
|
@@ -413,7 +413,7 @@
|
|
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);
|
|
}
|