From 6e4b87ab4684002515823d791767cdee62344f56 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Thu, 4 Oct 2001 06:03:29 +0000 Subject: [PATCH] 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 --- libyasm/bytecode.h | 4 ++-- src/bytecode.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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,