Index: src/arm64/debug-arm64.cc |
diff --git a/src/arm64/debug-arm64.cc b/src/arm64/debug-arm64.cc |
index 43684d5157e1b6020daf1083c000bf3c6cdf1018..157845213856b1a2f5fcdcc54272af45a93266c8 100644 |
--- a/src/arm64/debug-arm64.cc |
+++ b/src/arm64/debug-arm64.cc |
@@ -171,7 +171,8 @@ static void Generate_DebugBreakCallHelper(MacroAssembler* masm, |
// jssp[8]: 0x00000000 (SMI tag & padding) |
// jssp[4]: reg[31:0] |
// jssp[0]: 0x00000000 (SMI tag & padding) |
- STATIC_ASSERT((kSmiTag == 0) && (kSmiShift == 32)); |
+ STATIC_ASSERT(kSmiTag == 0); |
+ STATIC_ASSERT(static_cast<unsigned>(kSmiShift) == kWRegSizeInBits); |
} |
if (object_regs != 0) { |