[llvm-commits] CVS: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Wed Jan 28 11:59:02 PST 2004
Changes in directory reopt/lib/LightWtProfiling:
UnpackTraceFunction.cpp updated: 1.34 -> 1.35
---
Log message:
Fix over-long lines.
---
Diffs of the changes: (+10 -6)
Index: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
diff -u reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.34 reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.35
--- reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.34 Wed Jan 28 11:54:34 2004
+++ reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp Wed Jan 28 11:58:29 2004
@@ -22,7 +22,7 @@
#include "Support/Debug.h"
#include "reopt/MappingInfo.h"
-///---------------------- SPARC backend-specific code -------------------------///
+///---------------------- SPARC backend-specific code -----------------------///
#include "../../../../lib/Target/Sparc/RegAlloc/AllocInfo.h"
#include "../../../../lib/Target/Sparc/RegAlloc/PhyRegAlloc.h"
@@ -125,9 +125,9 @@
} // end namespace llvm
-///---------------------- End SPARC backend-specific code ---------------------///
+///---------------------- End SPARC backend-specific code -------------------///
-///---------------------- SPARC register allocator-specific code --------------///
+///---------------------- SPARC register allocator-specific code ------------///
namespace llvm {
@@ -155,7 +155,8 @@
extern struct ModuleAllocState _llvm_regAllocState;
};
-/// This global is filled in by PhyRegAlloc's -save-ra-state option in JIT output:
+/// This global is filled in by PhyRegAlloc's -save-ra-state option in JIT
+/// output:
///
extern PhyRegAlloc::SavedStateMapTy ExportedFnAllocState;
@@ -165,7 +166,10 @@
DEBUG(std::cerr << "getSavedStateIndexOfInstruction(F = " << F->getName()
<< "(), I = " << *I << ")\n");
for (const_inst_iterator II=inst_begin (F), IE=inst_end (F); II!=IE; ++II) {
- if (*II == I) { DEBUG(std::cerr << "--> returns " << Key << "\n"); return Key;}
+ if (*II == I) {
+ DEBUG(std::cerr << "--> returns " << Key << "\n");
+ return Key;
+ }
++Key;
}
// By this time we had better have found it, otherwise we are about to do bad
@@ -246,7 +250,7 @@
} // end namespace llvm
-///------------------End SPARC register allocator-specific code ---------------///
+///------------------End SPARC register allocator-specific code -------------///
namespace llvm {
More information about the llvm-commits
mailing list