Index: src/x64/assembler-x64.h |
diff --git a/src/x64/assembler-x64.h b/src/x64/assembler-x64.h |
index 06aa17d6caba9a1078dc3afe995eaacc08c575e5..ba3dbd7613b93181f0a0762c347d10d4a8f7bd4b 100644 |
--- a/src/x64/assembler-x64.h |
+++ b/src/x64/assembler-x64.h |
@@ -44,27 +44,6 @@ namespace internal { |
// Utility functions |
-// Test whether a 64-bit value is in a specific range. |
-inline bool is_uint32(int64_t x) { |
- static const uint64_t kMaxUInt32 = V8_UINT64_C(0xffffffff); |
- return static_cast<uint64_t>(x) <= kMaxUInt32; |
-} |
- |
-inline bool is_int32(int64_t x) { |
- static const int64_t kMinInt32 = -V8_INT64_C(0x80000000); |
- return is_uint32(x - kMinInt32); |
-} |
- |
-inline bool uint_is_int32(uint64_t x) { |
- static const uint64_t kMaxInt32 = V8_UINT64_C(0x7fffffff); |
- return x <= kMaxInt32; |
-} |
- |
-inline bool is_uint32(uint64_t x) { |
- static const uint64_t kMaxUInt32 = V8_UINT64_C(0xffffffff); |
- return x <= kMaxUInt32; |
-} |
- |
// CPU Registers. |
// |
// 1) We would prefer to use an enum, but enum values are assignment- |