Mercurial > hg > truffle
comparison src/share/vm/opto/type.hpp @ 17776:9ab9f254cfe2
6653795: C2 intrinsic for Unsafe.getAddress performs pointer sign extension on 32-bit systems
Summary: Native pointers less than 64 bits wide should be extended as an unsigned number.
Reviewed-by: kvn, kevinw
author | poonam |
---|---|
date | Mon, 24 Mar 2014 08:43:10 -0700 |
parents | 62825ea7e51f |
children | 62c54fcc0a35 |
comparison
equal
deleted
inserted
replaced
17772:7d175751ef7f | 17776:9ab9f254cfe2 |
---|---|
1711 // conversions | 1711 // conversions |
1712 #define ConvI2X(x) ConvI2L(x) | 1712 #define ConvI2X(x) ConvI2L(x) |
1713 #define ConvL2X(x) (x) | 1713 #define ConvL2X(x) (x) |
1714 #define ConvX2I(x) ConvL2I(x) | 1714 #define ConvX2I(x) ConvL2I(x) |
1715 #define ConvX2L(x) (x) | 1715 #define ConvX2L(x) (x) |
1716 #define ConvX2UL(x) (x) | |
1716 | 1717 |
1717 #else | 1718 #else |
1718 | 1719 |
1719 // For type queries and asserts | 1720 // For type queries and asserts |
1720 #define is_intptr_t is_int | 1721 #define is_intptr_t is_int |
1755 // conversions | 1756 // conversions |
1756 #define ConvI2X(x) (x) | 1757 #define ConvI2X(x) (x) |
1757 #define ConvL2X(x) ConvL2I(x) | 1758 #define ConvL2X(x) ConvL2I(x) |
1758 #define ConvX2I(x) (x) | 1759 #define ConvX2I(x) (x) |
1759 #define ConvX2L(x) ConvI2L(x) | 1760 #define ConvX2L(x) ConvI2L(x) |
1761 #define ConvX2UL(x) ConvI2UL(x) | |
1760 | 1762 |
1761 #endif | 1763 #endif |
1762 | 1764 |
1763 #endif // SHARE_VM_OPTO_TYPE_HPP | 1765 #endif // SHARE_VM_OPTO_TYPE_HPP |