[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp

Misha Brukman brukman at cs.uiuc.edu
Wed Sep 17 16:34:08 PDT 2003


Changes in directory llvm/lib/CodeGen:

MachineInstr.cpp updated: 1.78 -> 1.79

---
Log message:

Fixed spelling.


---
Diffs of the changes:

Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.78 llvm/lib/CodeGen/MachineInstr.cpp:1.79
--- llvm/lib/CodeGen/MachineInstr.cpp:1.78	Thu Aug  7 10:01:48 2003
+++ llvm/lib/CodeGen/MachineInstr.cpp	Wed Sep 17 16:32:50 2003
@@ -127,7 +127,7 @@
 }
 
 
-// Subsitute all occurrences of Value* oldVal with newVal in all operands
+// Substitute all occurrences of Value* oldVal with newVal in all operands
 // and all implicit refs.
 // If defsOnly == true, substitute defs only.
 unsigned
@@ -140,7 +140,7 @@
   
   unsigned numSubst = 0;
 
-  // Subsitute operands
+  // Substitute operands
   for (MachineInstr::val_op_iterator O = begin(), E = end(); O != E; ++O)
     if (*O == oldVal)
       if (!defsOnly ||
@@ -153,7 +153,7 @@
       else
         someArgsWereIgnored = true;
 
-  // Subsitute implicit refs
+  // Substitute implicit refs
   for (unsigned i=0, N=getNumImplicitRefs(); i < N; ++i)
     if (getImplicitRef(i) == oldVal)
       if (!defsOnly ||
@@ -301,7 +301,7 @@
       OS << "<def>";
   }
     
-  // code for printing implict references
+  // code for printing implicit references
   if (getNumImplicitRefs()) {
     OS << "\tImplicitRefs: ";
     for(unsigned i = 0, e = getNumImplicitRefs(); i != e; ++i) {
@@ -330,7 +330,7 @@
       os << "<d&u>";
   }
   
-  // code for printing implict references
+  // code for printing implicit references
   unsigned NumOfImpRefs = MI.getNumImplicitRefs();
   if (NumOfImpRefs > 0) {
     os << "\tImplicit: ";





More information about the llvm-commits mailing list