[llvm-commits] CVS: reopt/lib/TraceCache/TraceCache.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Fri Apr 23 16:26:09 PDT 2004
Changes in directory reopt/lib/TraceCache:
TraceCache.cpp updated: 1.19 -> 1.20
---
Log message:
copyToVM has been renamed to writeTraceToVM. Its arguments have been reordered
for consistency with writeInstToVM.
---
Diffs of the changes: (+4 -4)
Index: reopt/lib/TraceCache/TraceCache.cpp
diff -u reopt/lib/TraceCache/TraceCache.cpp:1.19 reopt/lib/TraceCache/TraceCache.cpp:1.20
--- reopt/lib/TraceCache/TraceCache.cpp:1.19 Wed Nov 19 16:51:52 2003
+++ reopt/lib/TraceCache/TraceCache.cpp Fri Apr 23 16:25:12 2004
@@ -158,7 +158,7 @@
if(traceStartAddr == 0) return false; //could not allocate space!
//copy trace to the memory
- vm->copyToVM(trace, traceStartAddr);
+ vm->writeTraceToVM(traceStartAddr, trace);
traces[instAddr] = traceStartAddr;
endAddress[instAddr] = endAddr;
@@ -307,8 +307,8 @@
if(traceStartAddr == 0) return false; //could not allocate space!
//copy trace to the memory
- vm->copyToVM(*exitStubs, traceStartAddr);
- vm->copyToVM(trace, traceStartAddr+exitStubs->size()*4);
+ vm->writeTraceToVM(traceStartAddr, *exitStubs);
+ vm->writeTraceToVM(traceStartAddr+exitStubs->size()*4, trace);
traces[instAddr] = traceStartAddr;
traceId[traceUniqId] = traceStartAddr;
@@ -470,7 +470,7 @@
if(traceStartAddr == 0) return false; //could not allocate space!
//copy trace to the memory
- vm->copyToVM(trace, traceStartAddr);
+ vm->writeTraceToVM(traceStartAddr, trace);
traces[instAddr] = traceStartAddr;
endAddress[instAddr] = endAddr;
More information about the llvm-commits
mailing list