src/share/vm/shark/sharkCacheDecache.hpp

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

@@ -190,11 +190,11 @@
     return location_type(addr, index > 0);
   }
 
   // Writer helper
  protected:
-  void write_value_to_frame(const llvm::Type* type,
+  void write_value_to_frame(llvm::Type* type,
                             llvm::Value*      value,
                             int               offset);
 };
 
 class SharkJavaCallDecacher : public SharkDecacher {

@@ -319,11 +319,11 @@
     return value && value->is_jobject();
   }
 
   // Writer helper
  protected:
-  llvm::Value* read_value_from_frame(const llvm::Type* type, int offset);
+  llvm::Value* read_value_from_frame(llvm::Type* type, int offset);
 };
 
 class SharkJavaCallCacher : public SharkCacher {
  public:
   SharkJavaCallCacher(SharkFunction* function, ciMethod* callee)

@@ -420,9 +420,9 @@
   void process_monitor(int index, int box_offset, int obj_offset);
   void process_local_slot(int index, SharkValue** value, int offset);
 
   // Helper
  private:
-  llvm::Value* CreateAddressOfOSRBufEntry(int offset, const llvm::Type* type);
+  llvm::Value* CreateAddressOfOSRBufEntry(int offset, llvm::Type* type);
 };
 
 #endif // SHARE_VM_SHARK_SHARKCACHEDECACHE_HPP