Mercurial > hg > truffle
comparison src/share/vm/oops/method.hpp @ 10265:92ef81e2f571
8003557: NPG: Klass* const k should be const Klass* k.
Summary: With NPG, const KlassOop klass which is in fact a definition converted to Klass* const, which is not the original intention. The right usage is converting them to const Klass*.
Reviewed-by: coleenp, kvn
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Fri, 10 May 2013 08:27:30 -0700 |
parents | 8df6ddda8090 |
children | 8b40495b9381 |
comparison
equal
deleted
inserted
replaced
10262:c272092594bd | 10265:92ef81e2f571 |
---|---|
994 private: | 994 private: |
995 ExceptionTableElement* _table; | 995 ExceptionTableElement* _table; |
996 u2 _length; | 996 u2 _length; |
997 | 997 |
998 public: | 998 public: |
999 ExceptionTable(Method* m) { | 999 ExceptionTable(const Method* m) { |
1000 if (m->has_exception_handler()) { | 1000 if (m->has_exception_handler()) { |
1001 _table = m->exception_table_start(); | 1001 _table = m->exception_table_start(); |
1002 _length = m->exception_table_length(); | 1002 _length = m->exception_table_length(); |
1003 } else { | 1003 } else { |
1004 _table = NULL; | 1004 _table = NULL; |