diff mbox

[committed] Fix couple of typos and outdated function reference in comment

Message ID 5342A5E2.9020502@arm.com
State New
Headers show

Commit Message

Kyrylo Tkachov April 7, 2014, 1:19 p.m. UTC
Hi all,

I've committed the attached patch to the introductory comment in haifa-sched.c 
as obvious with r209184.
The function compute_block_backward_dependences was renamed to 
compute_block_dependences in 2007but the comment was not updated.

Kyrill

2014-04-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     * haifa-sched.c: Fix outdated function reference and minor
     grammar errors in introductory comment.
diff mbox

Patch

diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index e0d4674..2d66e5c 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -20,7 +20,7 @@  along with GCC; see the file COPYING3.  If not see
 <http://www.gnu.org/licenses/>.  */
 
 /* Instruction scheduling pass.  This file, along with sched-deps.c,
-   contains the generic parts.  The actual entry point is found for
+   contains the generic parts.  The actual entry point for
    the normal instruction scheduling pass is found in sched-rgn.c.
 
    We compute insn priorities based on data dependencies.  Flow
@@ -77,12 +77,12 @@  along with GCC; see the file COPYING3.  If not see
 
    Before reload, an extended analysis of interblock data dependences
    is required for interblock scheduling.  This is performed in
-   compute_block_backward_dependences ().
+   compute_block_dependences ().
 
    Dependencies set up by memory references are treated in exactly the
    same way as other dependencies, by using insn backward dependences
    INSN_BACK_DEPS.  INSN_BACK_DEPS are translated into forward dependences
-   INSN_FORW_DEPS the purpose of forward list scheduling.
+   INSN_FORW_DEPS for the purpose of forward list scheduling.
 
    Having optimized the critical path, we may have also unduly
    extended the lifetimes of some registers.  If an operation requires