1.1 --- a/src/share/vm/code/relocInfo.hpp Fri Jul 26 00:59:18 2013 +0200 1.2 +++ b/src/share/vm/code/relocInfo.hpp Thu Aug 22 09:39:54 2013 -0700 1.3 @@ -365,7 +365,7 @@ 1.4 // "immediate" in the prefix header word itself. This optimization 1.5 // is invisible outside this module.) 1.6 1.7 - inline friend relocInfo prefix_relocInfo(int datalen = 0); 1.8 + inline friend relocInfo prefix_relocInfo(int datalen); 1.9 1.10 protected: 1.11 // an immediate relocInfo optimizes a prefix with one 10-bit unsigned value 1.12 @@ -460,7 +460,7 @@ 1.13 return relocInfo(relocInfo::none, relocInfo::offset_limit() - relocInfo::offset_unit); 1.14 } 1.15 1.16 -inline relocInfo prefix_relocInfo(int datalen) { 1.17 +inline relocInfo prefix_relocInfo(int datalen = 0) { 1.18 assert(relocInfo::fits_into_immediate(datalen), "datalen in limits"); 1.19 return relocInfo(relocInfo::data_prefix_tag, relocInfo::RAW_BITS, relocInfo::datalen_tag | datalen); 1.20 }