diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h index 65d82019dc4..55b867181dc 100644 --- a/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/include/llvm/CodeGen/MachineInstrBuilder.h @@ -109,8 +109,8 @@ public: } const MachineInstrBuilder &addMetadata(MDNode *N, - int64_t Offset = 0, - unsigned char TargetFlags = 0) const { + int64_t Offset = 0, + unsigned char TargetFlags = 0) const { MI->addOperand(MachineOperand::CreateMDNode(N, Offset, TargetFlags)); return *this; } @@ -191,7 +191,7 @@ inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB, /// BuildMI - This version of the builder inserts the newly-built /// instruction at the end of the given MachineBasicBlock, and sets up the first -/// operand as a destination virtual register. +/// operand as a destination virtual register. /// inline MachineInstrBuilder BuildMI(MachineBasicBlock *BB, DebugLoc DL, diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index d5f2e741daf..bd3fcea1102 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/Support/GraphWriter.h @@ -45,7 +45,7 @@ namespace GraphProgram { CIRCO }; } - + void DisplayGraph(const sys::Path& Filename, bool wait=true, GraphProgram::Name program = GraphProgram::DOT); template @@ -223,9 +223,9 @@ public: O << " -> Node" << DestNodeID; if (DestNodePort >= 0) { if (DOTTraits::hasEdgeDestLabels()) - O << ":d" << DestNodePort; + O << ":d" << DestNodePort; else - O << ":s" << DestNodePort; + O << ":s" << DestNodePort; } if (!Attrs.empty())