]> granicus.if.org Git - yasm/commitdiff
Add comment about bc_calc_len() possibly returning -1.
authorPeter Johnson <peter@tortall.net>
Thu, 10 Jan 2002 05:29:22 +0000 (05:29 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 10 Jan 2002 05:29:22 +0000 (05:29 -0000)
svn path=/trunk/yasm/; revision=455

libyasm/bytecode.h
src/bytecode.h

index 2b0d96acab89424d9dea9f5d2cdeedc0905e777e..f4c46927f9689bbb4aaf9317b9624f99ed900757 100644 (file)
@@ -60,6 +60,7 @@ void bc_print(FILE *f, const bytecode *bc);
 
 /* Calculates length of bytecode, saving in bc structure.
  * Returns whether the length is the minimum possible (1=yes, 0=no).
+ * Returns -1 if the length was indeterminate.
  * resolve_label is the function used to determine the value (offset) of a
  *  in-file label (eg, not an EXTERN variable, which is indeterminate).
  * This function does *not* modify bc other than the length/size values (eg
index 2b0d96acab89424d9dea9f5d2cdeedc0905e777e..f4c46927f9689bbb4aaf9317b9624f99ed900757 100644 (file)
@@ -60,6 +60,7 @@ void bc_print(FILE *f, const bytecode *bc);
 
 /* Calculates length of bytecode, saving in bc structure.
  * Returns whether the length is the minimum possible (1=yes, 0=no).
+ * Returns -1 if the length was indeterminate.
  * resolve_label is the function used to determine the value (offset) of a
  *  in-file label (eg, not an EXTERN variable, which is indeterminate).
  * This function does *not* modify bc other than the length/size values (eg