[llvm-commits] CVS: poolalloc/include/poolalloc/PoolAllocate.h
Dinakar Dhurjati
dhurjati at cs.uiuc.edu
Fri May 14 17:42:01 PDT 2004
Changes in directory poolalloc/include/poolalloc:
PoolAllocate.h updated: 1.21 -> 1.22
---
Log message:
Changed OneCalledFunction to take DSNode
---
Diffs of the changes: (+5 -1)
Index: poolalloc/include/poolalloc/PoolAllocate.h
diff -u poolalloc/include/poolalloc/PoolAllocate.h:1.21 poolalloc/include/poolalloc/PoolAllocate.h:1.22
--- poolalloc/include/poolalloc/PoolAllocate.h:1.21 Tue Mar 2 22:01:15 2004
+++ poolalloc/include/poolalloc/PoolAllocate.h Fri May 14 17:41:35 2004
@@ -60,6 +60,10 @@
/// indirect function calls that are not used in the function.
std::map<DSNode*, Value*> PoolDescriptors;
+ //This is a map from Old to New Value Map reverse of the one above
+ //Useful in SAFECode for check insertion
+ std::map<const Value*, Value*> ValueMap;
+
/// NewToOldValueMap - When and if a function needs to be cloned, this map
/// contains a mapping from all of the values in the new function back to
/// the values they correspond to in the old function.
@@ -111,7 +115,7 @@
/// OneCalledFunction - For each indirect function call, we keep track of one
/// target of the call. This is used to find the equivalence class called by
/// a call site.
- std::map<Instruction*, Function *> OneCalledFunction;
+ std::map<DSNode*, Function *> OneCalledFunction;
public:
More information about the llvm-commits
mailing list