X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FARM%2FAsmParser%2FARMAsmParser.cpp;h=9bb1cf2b4c2d9fb865727eecde9edc9d06b0aa8f;hb=b4702e215e2771ce9f09095e1415a80827d495cd;hp=7c0dcd6c7d260835a378765b4ada8f7cf8b057fa;hpb=ec1c80576d63ac4114d3d43380700117c340b9dc;p=oota-llvm.git diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 7c0dcd6c7d2..9bb1cf2b4c2 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -321,7 +321,7 @@ class ARMAsmParser : public MCTargetAsmParser { const SmallVectorImpl &); void cvtThumbBranches(MCInst &Inst, const SmallVectorImpl &); - + bool validateInstruction(MCInst &Inst, const SmallVectorImpl &Ops); bool processInstruction(MCInst &Inst, @@ -3598,7 +3598,7 @@ parseMemBarrierOptOperand(SmallVectorImpl &Operands) { Error(Loc, "illegal expression"); return MatchOperand_ParseFail; } - + const MCConstantExpr *CE = dyn_cast(MemBarrierID); if (!CE) { Error(Loc, "constant expression expected"); @@ -4197,7 +4197,7 @@ parseAM3Offset(SmallVectorImpl &Operands) { isAdd = false; haveEaten = true; } - + Tok = Parser.getTok(); int Reg = tryParseRegister(); if (Reg == -1) { @@ -4270,7 +4270,7 @@ cvtThumbBranches(MCInst &Inst, break; } } - + // now decide on encoding size based on branch target range switch(Inst.getOpcode()) { // classify tB as either t2B or t1B based on range of immediate operand