Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/classFileParser.cpp @ 6940:18fb7da42534
8000725: NPG: method_holder() and pool_holder() and pool_holder field should be InstanceKlass
Summary: Change types of above methods and field to InstanceKlass and remove unneeded casts from the source files.
Reviewed-by: dholmes, coleenp, zgu
Contributed-by: harold.seigel@oracle.com
author | coleenp |
---|---|
date | Tue, 06 Nov 2012 15:09:37 -0500 |
parents | 4735d2c84362 |
children | 070d523b96a7 |
comparison
equal
deleted
inserted
replaced
6939:c284cf4781f0 | 6940:18fb7da42534 |
---|---|
4191 ); | 4191 ); |
4192 return; | 4192 return; |
4193 } | 4193 } |
4194 | 4194 |
4195 // continue to look from super_m's holder's super. | 4195 // continue to look from super_m's holder's super. |
4196 k = InstanceKlass::cast(super_m->method_holder())->super(); | 4196 k = super_m->method_holder()->super(); |
4197 continue; | 4197 continue; |
4198 } | 4198 } |
4199 | 4199 |
4200 k = k->super(); | 4200 k = k->super(); |
4201 } | 4201 } |