equal
deleted
inserted
replaced
190 return location_type(addr, index > 0); |
190 return location_type(addr, index > 0); |
191 } |
191 } |
192 |
192 |
193 // Writer helper |
193 // Writer helper |
194 protected: |
194 protected: |
195 void write_value_to_frame(const llvm::Type* type, |
195 void write_value_to_frame(llvm::Type* type, |
196 llvm::Value* value, |
196 llvm::Value* value, |
197 int offset); |
197 int offset); |
198 }; |
198 }; |
199 |
199 |
200 class SharkJavaCallDecacher : public SharkDecacher { |
200 class SharkJavaCallDecacher : public SharkDecacher { |
319 return value && value->is_jobject(); |
319 return value && value->is_jobject(); |
320 } |
320 } |
321 |
321 |
322 // Writer helper |
322 // Writer helper |
323 protected: |
323 protected: |
324 llvm::Value* read_value_from_frame(const llvm::Type* type, int offset); |
324 llvm::Value* read_value_from_frame(llvm::Type* type, int offset); |
325 }; |
325 }; |
326 |
326 |
327 class SharkJavaCallCacher : public SharkCacher { |
327 class SharkJavaCallCacher : public SharkCacher { |
328 public: |
328 public: |
329 SharkJavaCallCacher(SharkFunction* function, ciMethod* callee) |
329 SharkJavaCallCacher(SharkFunction* function, ciMethod* callee) |
420 void process_monitor(int index, int box_offset, int obj_offset); |
420 void process_monitor(int index, int box_offset, int obj_offset); |
421 void process_local_slot(int index, SharkValue** value, int offset); |
421 void process_local_slot(int index, SharkValue** value, int offset); |
422 |
422 |
423 // Helper |
423 // Helper |
424 private: |
424 private: |
425 llvm::Value* CreateAddressOfOSRBufEntry(int offset, const llvm::Type* type); |
425 llvm::Value* CreateAddressOfOSRBufEntry(int offset, llvm::Type* type); |
426 }; |
426 }; |
427 |
427 |
428 #endif // SHARE_VM_SHARK_SHARKCACHEDECACHE_HPP |
428 #endif // SHARE_VM_SHARK_SHARKCACHEDECACHE_HPP |