mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
look up instructions by record, not by name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -138,6 +138,12 @@ Record *CodeGenTarget::getInstructionSet() const {
|
||||
return TargetRec->getValueAsDef("InstructionSet");
|
||||
}
|
||||
|
||||
|
||||
CodeGenInstruction &CodeGenTarget::getInstruction(const Record *InstRec) const {
|
||||
return getInstruction(InstRec->getName());
|
||||
}
|
||||
|
||||
|
||||
/// getAsmParser - Return the AssemblyParser definition for this target.
|
||||
///
|
||||
Record *CodeGenTarget::getAsmParser() const {
|
||||
|
||||
Reference in New Issue
Block a user