aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.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/PowerPC/AsmParser/PPCAsmParser.cpp
parent01e062f5c667296ba7e6558572b9de516bf141f1 (diff)
downloadllvm-280ecf6ff0858e31ff0073dd3e43b7403d9ccd8e.zip
llvm-280ecf6ff0858e31ff0073dd3e43b7403d9ccd8e.tar.gz
llvm-280ecf6ff0858e31ff0073dd3e43b7403d9ccd8e.tar.bz2
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/PowerPC/AsmParser/PPCAsmParser.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp b/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
index 4181775..da48422 100644
--- a/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
+++ b/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
@@ -1710,7 +1710,7 @@ bool PPCAsmParser::ParseInstruction(ParseInstructionInfo &Info, StringRef Name,
while (getLexer().isNot(AsmToken::EndOfStatement) &&
getLexer().is(AsmToken::Comma)) {
// Consume the comma token
- Lex();
+ getLexer().Lex();
// Parse the next operand
if (ParseOperand(Operands))