1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

wrap long lines

llvm-svn: 32254
This commit is contained in:
Chris Lattner 2006-12-06 04:41:52 +00:00
parent 3e2d6cd0d1
commit 74b8045bc5

View File

@ -873,7 +873,8 @@ void AssemblyWriter::printModule(const Module *M) {
// Loop over the symbol table, emitting all named constants. // Loop over the symbol table, emitting all named constants.
printSymbolTable(M->getSymbolTable()); printSymbolTable(M->getSymbolTable());
for (Module::const_global_iterator I = M->global_begin(), E = M->global_end(); I != E; ++I) for (Module::const_global_iterator I = M->global_begin(), E = M->global_end();
I != E; ++I)
printGlobal(I); printGlobal(I);
Out << "\nimplementation ; Functions:\n"; Out << "\nimplementation ; Functions:\n";
@ -1028,7 +1029,8 @@ void AssemblyWriter::printFunction(const Function *F) {
// Loop over the arguments, printing them... // Loop over the arguments, printing them...
const FunctionType *FT = F->getFunctionType(); const FunctionType *FT = F->getFunctionType();
for(Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end(); I != E; ++I) for (Function::const_arg_iterator I = F->arg_begin(), E = F->arg_end();
I != E; ++I)
printArgument(I); printArgument(I);
// Finish printing arguments... // Finish printing arguments...
@ -1504,8 +1506,8 @@ void SlotMachine::processModule() {
SC_DEBUG("begin processModule!\n"); SC_DEBUG("begin processModule!\n");
// Add all of the global variables to the value table... // Add all of the global variables to the value table...
for (Module::const_global_iterator I = TheModule->global_begin(), E = TheModule->global_end(); for (Module::const_global_iterator I = TheModule->global_begin(),
I != E; ++I) E = TheModule->global_end(); I != E; ++I)
createSlot(I); createSlot(I);
// Add all the functions to the table // Add all the functions to the table