equal
deleted
inserted
replaced
1967 |
1967 |
1968 // Verification |
1968 // Verification |
1969 |
1969 |
1970 void Method::verify_on(outputStream* st) { |
1970 void Method::verify_on(outputStream* st) { |
1971 guarantee(is_method(), "object must be method"); |
1971 guarantee(is_method(), "object must be method"); |
1972 guarantee(is_metadata(), "should be metadata"); |
|
1973 guarantee(constants()->is_constantPool(), "should be constant pool"); |
1972 guarantee(constants()->is_constantPool(), "should be constant pool"); |
1974 guarantee(constants()->is_metadata(), "should be metadata"); |
|
1975 guarantee(constMethod()->is_constMethod(), "should be ConstMethod*"); |
1973 guarantee(constMethod()->is_constMethod(), "should be ConstMethod*"); |
1976 guarantee(constMethod()->is_metadata(), "should be metadata"); |
|
1977 MethodData* md = method_data(); |
1974 MethodData* md = method_data(); |
1978 guarantee(md == NULL || |
1975 guarantee(md == NULL || |
1979 md->is_metadata(), "should be metadata"); |
|
1980 guarantee(md == NULL || |
|
1981 md->is_methodData(), "should be method data"); |
1976 md->is_methodData(), "should be method data"); |
1982 } |
1977 } |