1.1 --- a/src/share/vm/shark/sharkCacheDecache.hpp Mon Nov 26 17:25:11 2012 -0800 1.2 +++ b/src/share/vm/shark/sharkCacheDecache.hpp Tue Nov 27 12:48:52 2012 -0800 1.3 @@ -192,7 +192,7 @@ 1.4 1.5 // Writer helper 1.6 protected: 1.7 - void write_value_to_frame(const llvm::Type* type, 1.8 + void write_value_to_frame(llvm::Type* type, 1.9 llvm::Value* value, 1.10 int offset); 1.11 }; 1.12 @@ -321,7 +321,7 @@ 1.13 1.14 // Writer helper 1.15 protected: 1.16 - llvm::Value* read_value_from_frame(const llvm::Type* type, int offset); 1.17 + llvm::Value* read_value_from_frame(llvm::Type* type, int offset); 1.18 }; 1.19 1.20 class SharkJavaCallCacher : public SharkCacher { 1.21 @@ -422,7 +422,7 @@ 1.22 1.23 // Helper 1.24 private: 1.25 - llvm::Value* CreateAddressOfOSRBufEntry(int offset, const llvm::Type* type); 1.26 + llvm::Value* CreateAddressOfOSRBufEntry(int offset, llvm::Type* type); 1.27 }; 1.28 1.29 #endif // SHARE_VM_SHARK_SHARKCACHEDECACHE_HPP