[llvm-commits] CVS: reopt/lib/LightWtProfiling/SLI.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Sun May 23 02:48:01 PDT 2004
Changes in directory reopt/lib/LightWtProfiling:
SLI.cpp updated: 1.19 -> 1.20
---
Log message:
By the time we get to doInlining(), we have certainly called
initModules(), so just assert that, instead of trying to clean up
if we haven't.
---
Diffs of the changes: (+1 -2)
Index: reopt/lib/LightWtProfiling/SLI.cpp
diff -u reopt/lib/LightWtProfiling/SLI.cpp:1.19 reopt/lib/LightWtProfiling/SLI.cpp:1.20
--- reopt/lib/LightWtProfiling/SLI.cpp:1.19 Sun May 16 00:12:14 2004
+++ reopt/lib/LightWtProfiling/SLI.cpp Sun May 23 02:46:25 2004
@@ -451,8 +451,7 @@
void doInlining(uint64_t addr1, std::vector<Function *> &stack, VirtualMem *vm){
// Make sure we have already parsed the LLVM bytecode and have the
// resulting LLVM Module handy.
- if (!M)
- initModules();
+ assert (M);
Function *F = getRevFunction(M, addr1);
More information about the llvm-commits
mailing list