[llvm-commits] [llvm] r117927 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Jim Grosbach
grosbach at apple.com
Mon Nov 1 09:44:21 PDT 2010
Author: grosbach
Date: Mon Nov 1 11:44:21 2010
New Revision: 117927
URL: http://llvm.org/viewvc/llvm-project?rev=117927&view=rev
Log:
trailing whitespace
Modified:
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=117927&r1=117926&r2=117927&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Mon Nov 1 11:44:21 2010
@@ -369,7 +369,7 @@
int ARMAsmParser::TryParseRegister() {
const AsmToken &Tok = Parser.getTok();
assert(Tok.is(AsmToken::Identifier) && "Token is not an Identifier");
-
+
// FIXME: Validate register for the current architecture; we have to do
// validation later, so maybe there is no need for this here.
int RegNum = MatchRegisterName(Tok.getString());
@@ -378,8 +378,8 @@
Parser.Lex(); // Eat identifier token.
return RegNum;
}
-
-
+
+
/// Try to parse a register name. The token must be an Identifier when called,
/// and if it is a register name the token is eaten and the register number is
/// returned. Otherwise return -1.
@@ -390,7 +390,7 @@
SMLoc S = Parser.getTok().getLoc();
int RegNo = TryParseRegister();
if (RegNo == -1) return 0;
-
+
SMLoc E = Parser.getTok().getLoc();
bool Writeback = false;
@@ -602,7 +602,7 @@
E = CurLoc;
}
}
-
+
// If we parsed a register as the offset then their can be a shift after that
if (OffsetRegNum != -1) {
// Look for a comma then a shift
More information about the llvm-commits
mailing list