diff options
author | Chris Lattner <sabre@nondot.org> | 2008-01-07 04:57:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-01-07 04:57:31 +0000 |
commit | af3eb7c7583555ea5fd08e99f28b0042811e4dc2 (patch) | |
tree | c66390dce32f5f54ceff5671a4c981902a2a8d6f /utils/TableGen/CodeGenInstruction.h | |
parent | 7358c193fd2c7e6cc844f72e2203cbdb7692759f (diff) | |
download | llvm-af3eb7c7583555ea5fd08e99f28b0042811e4dc2.tar.gz llvm-af3eb7c7583555ea5fd08e99f28b0042811e4dc2.tar.bz2 llvm-af3eb7c7583555ea5fd08e99f28b0042811e4dc2.tar.xz |
the name field of instructions is never set to a non-empty string,
just unconditionally use the def name of the instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.h')
-rw-r--r-- | utils/TableGen/CodeGenInstruction.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/utils/TableGen/CodeGenInstruction.h b/utils/TableGen/CodeGenInstruction.h index 5c435524f4..351a880165 100644 --- a/utils/TableGen/CodeGenInstruction.h +++ b/utils/TableGen/CodeGenInstruction.h @@ -26,17 +26,12 @@ namespace llvm { class CodeGenInstruction { public: Record *TheDef; // The actual record defining this instruction. - std::string Name; // Contents of the 'Name' field. std::string Namespace; // The namespace the instruction is in. /// AsmString - The format string used to emit a .s file for the /// instruction. std::string AsmString; - /// getName - Return the contents of the instruction Name field if set, - /// otherwise return the name of the def. - std::string getName() const; - /// OperandInfo - The information we keep track of for each operand in the /// operand list for a tablegen instruction. struct OperandInfo { |