summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2013-12-18 02:53:03 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2013-12-18 02:53:03 +0000
commit88186c49c5d6b7e8aba75d422746db729893777f (patch)
tree4855d20ec13d2fc735d1ae18c07baf79f206cf10 /llvm/lib/Target/Sparc
parent6b32f1ec181c7ddeea6ee62fd612b7cfd794280e (diff)
downloadbcm5719-llvm-88186c49c5d6b7e8aba75d422746db729893777f.tar.gz
bcm5719-llvm-88186c49c5d6b7e8aba75d422746db729893777f.zip
AsmParser: add support for .end directive
The .end directive indicates the end of the file. No further instructions are processed after a .end directive is encountered. One potential (glaringly obvious) optimisation that could be pursued here is to extend MCAsmParser with a DiscardRemainder method to avoid processing lexemes to the end of the file. It was unclear at this point if that would be worth adding, and could easily be added in a follow on change. Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org> llvm-svn: 197547
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud