comparison src/share/vm/shark/sharkCodeBuffer.hpp @ 7195:2cd5e15048e6

8003868: fix shark for latest HotSpot and LLVM Reviewed-by: twisti Contributed-by: Roman Kennke <rkennke@redhat.com>
author twisti
date Tue, 27 Nov 2012 12:48:52 -0800
parents f95d63e2154a
children
comparison
equal deleted inserted replaced
7194:beebba0acc11 7195:2cd5e15048e6
79 int offset = masm()->offset(); 79 int offset = masm()->offset();
80 masm()->store_oop(object); 80 masm()->store_oop(object);
81 return offset; 81 return offset;
82 } 82 }
83 83
84 int inline_Metadata(Metadata* metadata) const {
85 masm()->align(BytesPerWord);
86 int offset = masm()->offset();
87 masm()->store_Metadata(metadata);
88 return offset;
89 }
90
84 // Inline a block of non-oop data into the buffer and return its offset. 91 // Inline a block of non-oop data into the buffer and return its offset.
85 public: 92 public:
86 int inline_data(void *src, size_t size) const { 93 int inline_data(void *src, size_t size) const {
87 masm()->align(BytesPerWord); 94 masm()->align(BytesPerWord);
88 int offset = masm()->offset(); 95 int offset = masm()->offset();