Index: test/cctest/test-utils-arm64.h |
diff --git a/test/cctest/test-utils-arm64.h b/test/cctest/test-utils-arm64.h |
index d00ad5e78cda419be593e4019762b1142daab06e..a091bf39328ee3a99af3e062bea0903bc38082c9 100644 |
--- a/test/cctest/test-utils-arm64.h |
+++ b/test/cctest/test-utils-arm64.h |
@@ -96,13 +96,13 @@ class RegisterDump { |
return dump_.sp_; |
} |
- inline int64_t wspreg() const { |
+ inline int32_t wspreg() const { |
DCHECK(SPRegAliasesMatch()); |
- return dump_.wsp_; |
+ return static_cast<int32_t>(dump_.wsp_); |
} |
// Flags accessors. |
- inline uint64_t flags_nzcv() const { |
+ inline uint32_t flags_nzcv() const { |
DCHECK(IsComplete()); |
DCHECK((dump_.flags_ & ~Flags_mask) == 0); |
return dump_.flags_ & Flags_mask; |