Index: src/arm64/constants-arm64.h |
diff --git a/src/arm64/constants-arm64.h b/src/arm64/constants-arm64.h |
index 1ce4c42088a41a5cf681da8f0972f70b9ad0461c..7ee22760d82e8987f1fb62fe6863b9707b5385a4 100644 |
--- a/src/arm64/constants-arm64.h |
+++ b/src/arm64/constants-arm64.h |
@@ -89,6 +89,8 @@ const unsigned kZeroRegCode = 31; |
const unsigned kJSSPCode = 28; |
const unsigned kSPRegInternalCode = 63; |
const unsigned kRegCodeMask = 0x1f; |
+const unsigned kShiftAmountWRegMask = 0x1f; |
+const unsigned kShiftAmountXRegMask = 0x3f; |
// Standard machine types defined by AAPCS64. |
const unsigned kByteSize = 8; |
const unsigned kByteSizeInBytes = kByteSize >> 3; |