aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-11 18:10:50 +0000
committerChris Lattner <sabre@nondot.org>2008-01-11 18:10:50 +0000
commit5080f4d9919d39b367891dc51e739c571a66036c (patch)
tree06b044e30429c53461ddb9c1845c55f799394b85 /include
parentf9b3f37abc25375be2ada0f88da7eca863095ad3 (diff)
downloadexternal_llvm-5080f4d9919d39b367891dc51e739c571a66036c.zip
external_llvm-5080f4d9919d39b367891dc51e739c571a66036c.tar.gz
external_llvm-5080f4d9919d39b367891dc51e739c571a66036c.tar.bz2
rename MachineInstr::setInstrDescriptor -> setDesc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 72463f9..749d1f9 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -163,10 +163,10 @@ public:
/// (before the first implicit operand).
void addOperand(const MachineOperand &Op);
- /// setInstrDescriptor - Replace the instruction descriptor (thus opcode) of
+ /// setDesc - Replace the instruction descriptor (thus opcode) of
/// the current instruction with a new one.
///
- void setInstrDescriptor(const TargetInstrDesc &tid) { TID = &tid; }
+ void setDesc(const TargetInstrDesc &tid) { TID = &tid; }
/// RemoveOperand - Erase an operand from an instruction, leaving it with one
/// fewer operand than it started with.