eliminate the old InstFormatName which is always "AsmString",
simplify CodeGenInstruction. No functionality change.
llvm-svn: 117891
diff --git a/llvm/utils/TableGen/CodeGenInstruction.h b/llvm/utils/TableGen/CodeGenInstruction.h
index 93d1ce1..33701ec 100644
--- a/llvm/utils/TableGen/CodeGenInstruction.h
+++ b/llvm/utils/TableGen/CodeGenInstruction.h
@@ -185,7 +185,7 @@
return false;
}
- CodeGenInstruction(Record *R, const std::string &AsmStr);
+ CodeGenInstruction(Record *R);
/// getOperandNamed - Return the index of the operand with the specified
/// non-empty name. If the instruction does not have an operand with the