comparison src/share/vm/code/relocInfo.hpp @ 14411:bdd155477289

8023033: PPC64 (part 13): basic changes for AIX Summary: Added AIX includes alpha-sorted before BSD. Fix compilation issues with xlC in shared code. Basic shared platform dependend adaption (vm_version etc.). Reviewed-by: kvn, dholmes, stefank
author goetz
date Thu, 22 Aug 2013 09:39:54 -0700
parents 53fa76359eb1
children 2b8e28fdf503
comparison
equal deleted inserted replaced
14410:f42f2e2a1518 14411:bdd155477289
363 // many bits are required to represent the value. (In addition, 363 // many bits are required to represent the value. (In addition,
364 // if the sole halfword is a 10-bit unsigned number, it is made 364 // if the sole halfword is a 10-bit unsigned number, it is made
365 // "immediate" in the prefix header word itself. This optimization 365 // "immediate" in the prefix header word itself. This optimization
366 // is invisible outside this module.) 366 // is invisible outside this module.)
367 367
368 inline friend relocInfo prefix_relocInfo(int datalen = 0); 368 inline friend relocInfo prefix_relocInfo(int datalen);
369 369
370 protected: 370 protected:
371 // an immediate relocInfo optimizes a prefix with one 10-bit unsigned value 371 // an immediate relocInfo optimizes a prefix with one 10-bit unsigned value
372 static relocInfo immediate_relocInfo(int data0) { 372 static relocInfo immediate_relocInfo(int data0) {
373 assert(fits_into_immediate(data0), "data0 in limits"); 373 assert(fits_into_immediate(data0), "data0 in limits");
458 458
459 inline relocInfo filler_relocInfo() { 459 inline relocInfo filler_relocInfo() {
460 return relocInfo(relocInfo::none, relocInfo::offset_limit() - relocInfo::offset_unit); 460 return relocInfo(relocInfo::none, relocInfo::offset_limit() - relocInfo::offset_unit);
461 } 461 }
462 462
463 inline relocInfo prefix_relocInfo(int datalen) { 463 inline relocInfo prefix_relocInfo(int datalen = 0) {
464 assert(relocInfo::fits_into_immediate(datalen), "datalen in limits"); 464 assert(relocInfo::fits_into_immediate(datalen), "datalen in limits");
465 return relocInfo(relocInfo::data_prefix_tag, relocInfo::RAW_BITS, relocInfo::datalen_tag | datalen); 465 return relocInfo(relocInfo::data_prefix_tag, relocInfo::RAW_BITS, relocInfo::datalen_tag | datalen);
466 } 466 }
467 467
468 468