mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Add stub methods for mips assembly matcher.
Patch by Vladimir Medic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162124 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2447,7 +2447,9 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
|
||||
emitSubtargetFeatureFlagEnumeration(Info, OS);
|
||||
|
||||
// Emit the function to match a register name to number.
|
||||
emitMatchRegisterName(Target, AsmParser, OS);
|
||||
// This should be omitted for Mips target
|
||||
if (AsmParser->getValueAsBit("ShouldEmitMatchRegisterName"))
|
||||
emitMatchRegisterName(Target, AsmParser, OS);
|
||||
|
||||
OS << "#endif // GET_REGISTER_MATCHER\n\n";
|
||||
|
||||
|
Reference in New Issue
Block a user