]> granicus.if.org Git - yasm/commitdiff
Change comment to include im_ptr in list of things that cannot be reused or
authorPeter Johnson <peter@tortall.net>
Thu, 4 Oct 2001 06:03:29 +0000 (06:03 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 4 Oct 2001 06:03:29 +0000 (06:03 -0000)
changed after calling bytecode_new_insn().

svn path=/trunk/yasm/; revision=267

libyasm/bytecode.h
src/bytecode.h

index c2c2a63a289808fe5f276f493b8877a66d9e434d..32ffa963b778617aad9db2ff928d152aff834a88 100644 (file)
@@ -81,8 +81,8 @@ void SetInsnShiftFlag(bytecode *bc);
 
 void SetOpcodeSel(jmprel_opcode_sel *old_sel, jmprel_opcode_sel new_sel);
 
-/* IMPORTANT: ea_ptr cannot be reused or freed after calling this function
- * (it doesn't make a copy).  im_ptr, on the other hand, can be.
+/* IMPORTANT: ea_ptr and im_ptr cannot be reused or freed after calling this
+ * function (it doesn't make a copy).
  */
 bytecode *bytecode_new_insn(unsigned char  opersize,
                            unsigned char  opcode_len,
index c2c2a63a289808fe5f276f493b8877a66d9e434d..32ffa963b778617aad9db2ff928d152aff834a88 100644 (file)
@@ -81,8 +81,8 @@ void SetInsnShiftFlag(bytecode *bc);
 
 void SetOpcodeSel(jmprel_opcode_sel *old_sel, jmprel_opcode_sel new_sel);
 
-/* IMPORTANT: ea_ptr cannot be reused or freed after calling this function
- * (it doesn't make a copy).  im_ptr, on the other hand, can be.
+/* IMPORTANT: ea_ptr and im_ptr cannot be reused or freed after calling this
+ * function (it doesn't make a copy).
  */
 bytecode *bytecode_new_insn(unsigned char  opersize,
                            unsigned char  opcode_len,