--- old/src/share/vm/shark/sharkFunction.hpp 2012-11-23 18:09:21.006981875 +0100 +++ new/src/share/vm/shark/sharkFunction.hpp 2012-11-23 18:09:20.875982028 +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