equal
deleted
inserted
replaced
438 |
438 |
439 // Verification |
439 // Verification |
440 |
440 |
441 void ConstMethod::verify_on(outputStream* st) { |
441 void ConstMethod::verify_on(outputStream* st) { |
442 guarantee(is_constMethod(), "object must be constMethod"); |
442 guarantee(is_constMethod(), "object must be constMethod"); |
443 guarantee(is_metadata(), err_msg("Should be metadata " PTR_FORMAT, this)); |
|
444 |
443 |
445 // Verification can occur during oop construction before the method or |
444 // Verification can occur during oop construction before the method or |
446 // other fields have been initialized. |
445 // other fields have been initialized. |
447 guarantee(method()->is_method(), "should be method"); |
446 guarantee(method()->is_method(), "should be method"); |
448 |
447 |