]> granicus.if.org Git - yasm/commitdiff
Correct optimize() comment.
authorPeter Johnson <peter@tortall.net>
Wed, 20 Feb 2002 07:40:13 +0000 (07:40 -0000)
committerPeter Johnson <peter@tortall.net>
Wed, 20 Feb 2002 07:40:13 +0000 (07:40 -0000)
svn path=/trunk/yasm/; revision=470

libyasm/optimizer.h
src/optimizer.h

index c39e6648e3156cf0891eb422bf3afd3092ebabec..b5136cb00e35c43d8e8448f71155e631bef8eab1 100644 (file)
@@ -32,8 +32,10 @@ struct optimizer {
 
     /* Main entrance point for the optimizer.
      *
-     * This function takes the unoptimized linked list of sections and returns
-     * an optimized linked list of sections ready for output to an object file.
+     * This function takes the unoptimized linked list of sections and
+     * optimizes it.  If successful, the sections are ready for output to an
+     * object file.  (A failure is indicated by calling ErrorAt() from within
+     * this function).
      */
     void (*optimize) (sectionhead *sections);
 };
index c39e6648e3156cf0891eb422bf3afd3092ebabec..b5136cb00e35c43d8e8448f71155e631bef8eab1 100644 (file)
@@ -32,8 +32,10 @@ struct optimizer {
 
     /* Main entrance point for the optimizer.
      *
-     * This function takes the unoptimized linked list of sections and returns
-     * an optimized linked list of sections ready for output to an object file.
+     * This function takes the unoptimized linked list of sections and
+     * optimizes it.  If successful, the sections are ready for output to an
+     * object file.  (A failure is indicated by calling ErrorAt() from within
+     * this function).
      */
     void (*optimize) (sectionhead *sections);
 };