From 9cb88aae4023c421901398d319f9526f73564a2f Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Mon, 28 Jun 2004 15:53:27 +0000 Subject: Fix spacing around function arguments. llvm-svn: 14463 --- llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp | 9 ++++----- llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'llvm/lib/Target') diff --git a/llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp index d778550b572..c5825a786f0 100644 --- a/llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp +++ b/llvm/lib/Target/PowerPC/PPC32AsmPrinter.cpp @@ -50,7 +50,7 @@ namespace { /// Name-mangler for global names. /// Mangler *Mang; - std::set< std::string > Stubs; + std::set Stubs; std::set Strings; Printer(std::ostream &o, TargetMachine &tm) : O(o), TM(tm) { } @@ -66,8 +66,7 @@ namespace { } void printMachineInstruction(const MachineInstr *MI); - void printOp(const MachineOperand &MO, - bool elideOffsetKeyword = false); + void printOp(const MachineOperand &MO, bool elideOffsetKeyword = false); void printConstantPool(MachineConstantPool *MCP); bool runOnMachineFunction(MachineFunction &F); bool doInitialization(Module &M); @@ -82,7 +81,7 @@ namespace { /// using the given target machine description. This should work /// regardless of whether the function is in SSA form. /// -FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm){ +FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm) { return new Printer(o, tm); } @@ -428,7 +427,7 @@ void Printer::printOp(const MachineOperand &MO, return; case MachineOperand::MO_GlobalAddress: if (!elideOffsetKeyword) { - if(isa(MO.getGlobal())) { + if (isa(MO.getGlobal())) { Stubs.insert(Mang->getValueName(MO.getGlobal())); O << "L" << Mang->getValueName(MO.getGlobal()) << "$stub"; } else { diff --git a/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp index d778550b572..c5825a786f0 100644 --- a/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp +++ b/llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp @@ -50,7 +50,7 @@ namespace { /// Name-mangler for global names. /// Mangler *Mang; - std::set< std::string > Stubs; + std::set Stubs; std::set Strings; Printer(std::ostream &o, TargetMachine &tm) : O(o), TM(tm) { } @@ -66,8 +66,7 @@ namespace { } void printMachineInstruction(const MachineInstr *MI); - void printOp(const MachineOperand &MO, - bool elideOffsetKeyword = false); + void printOp(const MachineOperand &MO, bool elideOffsetKeyword = false); void printConstantPool(MachineConstantPool *MCP); bool runOnMachineFunction(MachineFunction &F); bool doInitialization(Module &M); @@ -82,7 +81,7 @@ namespace { /// using the given target machine description. This should work /// regardless of whether the function is in SSA form. /// -FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm){ +FunctionPass *createPPCCodePrinterPass(std::ostream &o,TargetMachine &tm) { return new Printer(o, tm); } @@ -428,7 +427,7 @@ void Printer::printOp(const MachineOperand &MO, return; case MachineOperand::MO_GlobalAddress: if (!elideOffsetKeyword) { - if(isa(MO.getGlobal())) { + if (isa(MO.getGlobal())) { Stubs.insert(Mang->getValueName(MO.getGlobal())); O << "L" << Mang->getValueName(MO.getGlobal()) << "$stub"; } else { -- cgit v1.2.3