equal
deleted
inserted
replaced
436 } |
436 } |
437 |
437 |
438 void Relocation::const_verify_data_value(address x) { |
438 void Relocation::const_verify_data_value(address x) { |
439 #ifdef _LP64 |
439 #ifdef _LP64 |
440 if (format() == relocInfo::narrow_oop_in_const) { |
440 if (format() == relocInfo::narrow_oop_in_const) { |
441 assert(*(narrowOop*)addr() == oopDesc::encode_heap_oop((oop) x), "must agree"); |
441 guarantee(*(narrowOop*)addr() == oopDesc::encode_heap_oop((oop) x), "must agree"); |
442 } else { |
442 } else { |
443 #endif |
443 #endif |
444 assert(*(address*)addr() == x, "must agree"); |
444 guarantee(*(address*)addr() == x, "must agree"); |
445 #ifdef _LP64 |
445 #ifdef _LP64 |
446 } |
446 } |
447 #endif |
447 #endif |
448 } |
448 } |
449 |
449 |