diff src/share/vm/asm/assembler.hpp @ 8883:b9a918201d47

Merge with hsx25
author Gilles Duboscq <duboscq@ssw.jku.at>
date Sat, 06 Apr 2013 20:04:06 +0200
parents a5de0cc2f91c
children de6a9e811145 15120a36272d
line wrap: on
line diff
--- a/src/share/vm/asm/assembler.hpp	Fri Apr 05 18:53:57 2013 +0200
+++ b/src/share/vm/asm/assembler.hpp	Sat Apr 06 20:04:06 2013 +0200
@@ -336,6 +336,8 @@
   // along with the disassembly when printing nmethods.  Currently
   // only supported in the instruction section of the code buffer.
   void block_comment(const char* comment);
+  // Copy str to a buffer that has the same lifetime as the CodeBuffer
+  const char* code_string(const char* str);
 
   // Label functions
   void bind(Label& L); // binds an unbound label L to the current code position