src/share/vm/shark/sharkFunction.hpp

Print this page
rev 3810 : [mq]: shark.patch

@@ -89,11 +89,11 @@
   // On-stack replacement
  private:
   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
       return SharkType::entry_point_type();
   }