[llvm-commits] [llvm] r134764 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Evan Cheng
evan.cheng at apple.com
Fri Jul 8 15:49:55 PDT 2011
Author: evancheng
Date: Fri Jul 8 17:49:55 2011
New Revision: 134764
URL: http://llvm.org/viewvc/llvm-project?rev=134764&view=rev
Log:
Fix indentation.
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=134764&r1=134763&r2=134764&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Fri Jul 8 17:49:55 2011
@@ -2050,7 +2050,7 @@
// that updates the condition codes if it ends in 's'. So see if the
// mnemonic ends in 's' and if so try removing the 's' and adding a CCOut
// operand with a value of CPSR.
- else if(MatchResult == Match_MnemonicFail) {
+ else if (MatchResult == Match_MnemonicFail) {
// Get the instruction mnemonic, which is the first token.
StringRef Mnemonic = ((ARMOperand*)Operands[0])->getToken();
if (Mnemonic.substr(Mnemonic.size()-1) == "s") {
@@ -2242,7 +2242,7 @@
} else {
if (isThumb()) SwitchMode();
getParser().getStreamer().EmitAssemblerFlag(MCAF_Code32);
- }
+ }
return false;
}
More information about the llvm-commits
mailing list