[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstrBuilder.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 6 12:27:01 PST 2003
Changes in directory llvm/include/llvm/CodeGen:
MachineInstrBuilder.h updated: 1.10 -> 1.11
---
Log message:
* Add support for ConstantPool indices.
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/MachineInstrBuilder.h
diff -u llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.10 llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.11
--- llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.10 Tue Dec 24 23:01:18 2002
+++ llvm/include/llvm/CodeGen/MachineInstrBuilder.h Mon Jan 6 12:26:03 2003
@@ -91,6 +91,11 @@
MI->addFrameIndexOperand(Idx);
return *this;
}
+
+ const MachineInstrBuilder &addConstantPoolIndex(unsigned Idx) const {
+ MI->addConstantPoolIndexOperand(Idx);
+ return *this;
+ }
};
/// BuildMI - Builder interface. Specify how to create the initial instruction
More information about the llvm-commits
mailing list