hotspot/src/share/vm/aot/aotCompiledMethod.hpp
changeset 46364 00a21c0ff97e
parent 46329 53ccc37bda19
--- a/hotspot/src/share/vm/aot/aotCompiledMethod.hpp	Wed Apr 05 01:11:25 2017 +0000
+++ b/hotspot/src/share/vm/aot/aotCompiledMethod.hpp	Wed Apr 05 13:15:44 2017 -0700
@@ -176,7 +176,7 @@
   virtual bool is_alive() const { return _is_alive(); }
   virtual bool is_in_use() const { return state() == in_use; }
 
-  address exception_begin() { return (address) _code + _meta->exception_handler_offset(); }
+  address exception_begin() const { return (address) _code + _meta->exception_handler_offset(); }
 
   virtual const char* name() const { return _name; }