[llvm-commits] CVS: llvm/lib/CodeGen/RegAlloc/IGNode.h

Brian Gaeke gaeke at cs.uiuc.edu
Sat Sep 20 21:32:10 PDT 2003


Changes in directory llvm/lib/CodeGen/RegAlloc:

IGNode.h updated: 1.14 -> 1.15

---
Log message:

Standardize the names of include guards.
Fix typos in file header comment.


---
Diffs of the changes:

Index: llvm/lib/CodeGen/RegAlloc/IGNode.h
diff -u llvm/lib/CodeGen/RegAlloc/IGNode.h:1.14 llvm/lib/CodeGen/RegAlloc/IGNode.h:1.15
--- llvm/lib/CodeGen/RegAlloc/IGNode.h:1.14	Mon Sep  1 15:17:07 2003
+++ llvm/lib/CodeGen/RegAlloc/IGNode.h	Sat Sep 20 21:31:15 2003
@@ -9,21 +9,20 @@
 
    The removal of nodes from IG is simulated by decrementing the CurDegree.
    If this node is put on stack (that is removed from IG), the CurDegree of all
-   the neighbors are decremented and this node is marked OnSack. Hence
+   the neighbors are decremented and this node is marked OnStack. Hence
    the effective neighbors in the AdjList are the ones that do not have the
    OnStack flag set (therefore, they are in the IG).
 
-   The methods that modify/use the CurDegree Must be called only
+   The methods that modify/use the CurDegree must be called only
    after all modifications to the IG are over (i.e., all neighbors are fixed).
 
    The vector representation is the most efficient one for adj list.
-   Though nodes are removed when coalsing is done, we access it in sequence
+   Though nodes are removed when coalescing is done, we access it in sequence
    for far many times when coloring (colorNode()).
-
 */
 
-#ifndef IG_NODE_H
-#define IG_NODE_H
+#ifndef IGNODE_H
+#define IGNODE_H
 
 #include "LiveRange.h"
 class RegClass;





More information about the llvm-commits mailing list