From 33247d537ddce29e65bc324bf8d40a15d2d88c01 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 17 Nov 2006 01:36:01 +0000 Subject: [PATCH] Add opcode to TargetInstrDescriptor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31802 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetInstrInfo.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index db3b813d70a..596afd69c3b 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -110,8 +110,9 @@ public: class TargetInstrDescriptor { public: + MachineOpCode Opcode; // The opcode. + unsigned short numOperands; // Num of args (may be more if variable_ops). const char * Name; // Assembly language mnemonic for the opcode. - unsigned numOperands; // Num of args (may be more if variable_ops). InstrSchedClass schedClass; // enum identifying instr sched class unsigned Flags; // flags identifying machine instr class unsigned TSFlags; // Target Specific Flag values