summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-06-16 21:19:23 +0000
committerNirav Dave <niravd@google.com>2016-06-16 21:19:23 +0000
commit280ecf6ff0858e31ff0073dd3e43b7403d9ccd8e (patch)
tree437092926a4858c251406db57cb565f223c9337f /llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
parent01e062f5c667296ba7e6558572b9de516bf141f1 (diff)
downloadbcm5719-llvm-280ecf6ff0858e31ff0073dd3e43b7403d9ccd8e.tar.gz
bcm5719-llvm-280ecf6ff0858e31ff0073dd3e43b7403d9ccd8e.zip
Revert "Refactor and cleanup Assembly Parsing / Lexing"
Reverting for unexpected crashes on various platforms. This reverts commit r272953. llvm-svn: 272957
Diffstat (limited to 'llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp')
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index b3b0dffb6c9..281c3fab61c 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -10072,7 +10072,7 @@ bool ARMAsmParser::parseDirectiveObjectArch(SMLoc L) {
StringRef Arch = Parser.getTok().getString();
SMLoc ArchLoc = Parser.getTok().getLoc();
- Lex();
+ getLexer().Lex();
unsigned ID = ARM::parseArch(Arch);
@@ -10195,7 +10195,7 @@ bool ARMAsmParser::parseDirectiveArchExtension(SMLoc L) {
StringRef Name = Parser.getTok().getString();
SMLoc ExtLoc = Parser.getTok().getLoc();
- Lex();
+ getLexer().Lex();
bool EnableFeature = true;
if (Name.startswith_lower("no")) {
OpenPOWER on IntegriCloud