projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[AsmParser] Backends can parameterize ASM tokenization.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARM.td
diff --git
a/lib/Target/ARM/ARM.td
b/lib/Target/ARM/ARM.td
index e7423c3dcf8bb82b521afe468e9f4023221da634..855b41c03c95c6bdd68f755b8d4b1602f68d9f62 100644
(file)
--- a/
lib/Target/ARM/ARM.td
+++ b/
lib/Target/ARM/ARM.td
@@
-511,8
+511,15
@@
def ARMAsmWriter : AsmWriter {
bit isMCAsmWriter = 1;
}
bit isMCAsmWriter = 1;
}
+def ARMAsmParserVariant : AsmParserVariant {
+ int Variant = 0;
+ string Name = "ARM";
+ string BreakCharacters = ".";
+}
+
def ARM : Target {
// Pull in Instruction Info:
let InstructionSet = ARMInstrInfo;
let AssemblyWriters = [ARMAsmWriter];
def ARM : Target {
// Pull in Instruction Info:
let InstructionSet = ARMInstrInfo;
let AssemblyWriters = [ARMAsmWriter];
+ let AssemblyParserVariants = [ARMAsmParserVariant];
}
}