[llvm-commits] CVS: llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp
Anand Shukla
ashukla at cs.uiuc.edu
Fri Feb 14 14:47:01 PST 2003
Changes in directory llvm/lib/Reoptimizer/TraceCache:
MemoryManager.cpp updated: 1.2 -> 1.3
---
Log message:
Changes to runtime framework
---
Diffs of the changes:
Index: llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp
diff -u llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp:1.2 llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp:1.3
--- llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp:1.2 Mon Jan 27 17:41:43 2003
+++ llvm/lib/Reoptimizer/TraceCache/MemoryManager.cpp Fri Feb 14 14:45:53 2003
@@ -32,9 +32,9 @@
int dummyFunction(int i); //the function that provides memory!
MemoryManager::MemoryManager(){
- memStart = (intptr_t)&dummyFunction;
- memEnd = (intptr_t)&dummyFunction+globalMemSize*4;
- std::cerr<<"Dummy address :"<<(void *)(intptr_t)memStart<<"\n";
+ memStart = (uint64_t)&dummyFunction;
+ memEnd = (uint64_t)&dummyFunction+globalMemSize*4;
+ //std::cerr<<"Dummy address :"<<(void *)memStart<<"\n";
freeMemList.push_back(std::make_pair(memStart, memEnd));
}
More information about the llvm-commits
mailing list