From: Peter Johnson Date: Thu, 4 Oct 2001 06:03:29 +0000 (-0000) Subject: Change comment to include im_ptr in list of things that cannot be reused or X-Git-Tag: v0.1.0~263 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e4b87ab4684002515823d791767cdee62344f56;p=yasm Change comment to include im_ptr in list of things that cannot be reused or changed after calling bytecode_new_insn(). svn path=/trunk/yasm/; revision=267 --- diff --git a/libyasm/bytecode.h b/libyasm/bytecode.h index c2c2a63a..32ffa963 100644 --- a/libyasm/bytecode.h +++ b/libyasm/bytecode.h @@ -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, diff --git a/src/bytecode.h b/src/bytecode.h index c2c2a63a..32ffa963 100644 --- a/src/bytecode.h +++ b/src/bytecode.h @@ -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,