hotspot/src/share/vm/shark/sharkCodeBuffer.hpp
changeset 14622 8e94e4186d35
parent 7397 5b173b4ca846
--- a/hotspot/src/share/vm/shark/sharkCodeBuffer.hpp	Mon Nov 26 17:25:11 2012 -0800
+++ b/hotspot/src/share/vm/shark/sharkCodeBuffer.hpp	Tue Nov 27 12:48:52 2012 -0800
@@ -81,6 +81,13 @@
     return offset;
   }
 
+  int inline_Metadata(Metadata* metadata) const {
+    masm()->align(BytesPerWord);
+    int offset = masm()->offset();
+    masm()->store_Metadata(metadata);
+    return offset;
+  }
+
   // Inline a block of non-oop data into the buffer and return its offset.
  public:
   int inline_data(void *src, size_t size) const {