8133625: src/share/vm/opto/compile.hpp:96: error: integer constant is too large for ‘long’ type

Wrap constant causing the failure into into CONST64(). Update comments.

Reviewed-by: kvn
This commit is contained in:
Zoltan Majo 2015-08-19 11:59:00 +02:00
parent 6d858b63cb
commit 0d7ee212ea
5 changed files with 6 additions and 6 deletions

View file

@ -148,9 +148,9 @@ inline int g_isfinite(jfloat f) { return _finite(f); }
inline int g_isfinite(jdouble f) { return _finite(f); }
//----------------------------------------------------------------------------------------------------
// Constant for jlong (specifying an long long constant is C++ compiler specific)
// Constant for jlong (specifying a long long constant is C++ compiler specific)
// Build a 64bit integer constant on with Visual C++
// Build a 64bit integer constant with Visual C++
#define CONST64(x) (x ## i64)
#define UCONST64(x) (x ## ui64)