diff --git a/lib/CodeGen/MachineFunction.cpp b/lib/CodeGen/MachineFunction.cpp index 1f9a4148836..ee3884288f4 100644 --- a/lib/CodeGen/MachineFunction.cpp +++ b/lib/CodeGen/MachineFunction.cpp @@ -278,8 +278,7 @@ MachineCodeForMethod::dump() const for (Function::const_iterator BB = method->begin(); BB != method->end(); ++BB) { - std::cerr << "\n" << BB->getName() << " (" << (const void*) BB << ")" << ":\n"; - + std::cerr << endl << (*BB).getName() << " (" << (const void*) BB << ")" << ":" << endl; MachineCodeForBasicBlock& mvec = MachineCodeForBasicBlock::get(BB); for (unsigned i=0; i < mvec.size(); i++) std::cerr << "\t" << *mvec[i];