--- old/src/share/vm/shark/sharkFunction.hpp 2012-11-26 23:53:14.270876860 +0100 +++ new/src/share/vm/shark/sharkFunction.hpp 2012-11-26 23:53:14.082877124 +0100 @@ -91,7 +91,7 @@ bool is_osr() const { return flow()->is_osr_flow(); } - const llvm::FunctionType* entry_point_type() const { + llvm::FunctionType* entry_point_type() const { if (is_osr()) return SharkType::osr_entry_point_type(); else