[Hexagon] Separating statement to match what clang-format would do.

llvm-svn: 252513
This commit is contained in:
Colin LeMahieu 2015-11-09 21:06:28 +00:00
parent 64b003f05d
commit 9d851f0435
1 changed files with 4 additions and 2 deletions

View File

@ -1189,7 +1189,8 @@ bool HexagonAsmParser::isLabel(AsmToken &Token) {
return true; return true;
if (!MatchRegisterName(String.lower())) if (!MatchRegisterName(String.lower()))
return true; return true;
assert(Second.is(AsmToken::Colon)); (void)Second; (void)Second;
assert(Second.is(AsmToken::Colon));
StringRef Raw (String.data(), Third.getString().data() - String.data() + StringRef Raw (String.data(), Third.getString().data() - String.data() +
Third.getString().size()); Third.getString().size());
std::string Collapsed = Raw; std::string Collapsed = Raw;
@ -1565,7 +1566,8 @@ int HexagonAsmParser::processInstruction(MCInst &Inst,
MCOperand &MO = Inst.getOperand(2); MCOperand &MO = Inst.getOperand(2);
int64_t Value; int64_t Value;
bool Success = MO.getExpr()->evaluateAsAbsolute(Value); bool Success = MO.getExpr()->evaluateAsAbsolute(Value);
assert(Success && "Assured by matcher"); (void)Success; (void)Success;
assert(Success && "Assured by matcher");
if (Value == 0) { if (Value == 0) {
MCInst TmpInst; MCInst TmpInst;
MCOperand &Pd = Inst.getOperand(0); MCOperand &Pd = Inst.getOperand(0);