[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h
Tanya Brethour
tbrethou at cs.uiuc.edu
Sun May 23 22:16:01 PDT 2004
Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.148 -> 1.149
---
Log message:
Changed clone to be const.
Changed copy constructor to set parent, prev, and next pointers to null.
---
Diffs of the changes: (+1 -1)
Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.148 llvm/include/llvm/CodeGen/MachineInstr.h:1.149
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.148 Sun May 23 15:58:02 2004
+++ llvm/include/llvm/CodeGen/MachineInstr.h Sun May 23 22:14:18 2004
@@ -460,7 +460,7 @@
/// clone - Create a copy of 'this' instruction that is identical in
/// all ways except the the instruction has no parent, prev, or next.
- MachineInstr* clone();
+ MachineInstr* clone() const;
//
// Debugging support
More information about the llvm-commits
mailing list