[llvm-commits] CVS: llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp
Anand Shukla
ashukla at cs.uiuc.edu
Thu Jul 10 13:59:24 PDT 2003
Changes in directory llvm/lib/Reoptimizer/TraceCache:
VirtualMem.cpp updated: 1.10 -> 1.11
---
Log message:
Some cleanup, and some additions for new trace framework
---
Diffs of the changes:
Index: llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp
diff -u llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp:1.10 llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp:1.11
--- llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp:1.10 Sat May 31 21:33:18 2003
+++ llvm/lib/Reoptimizer/TraceCache/VirtualMem.cpp Thu Jul 10 13:58:41 2003
@@ -7,7 +7,7 @@
#include "llvm/Reoptimizer/VirtualMem.h"
#include "llvm/Reoptimizer/InstrUtils.h"
#include "llvm/Reoptimizer/TraceCache.h"
-#include "llvm/Reoptimizer/TraceCache2.h"
+//#include "llvm/Reoptimizer/TraceCache2.h"
#include "llvm/Reoptimizer/GetTraceTime.h"
VirtualMem::VirtualMem(){
@@ -51,9 +51,8 @@
return instr;
}
-
-
-unsigned int VirtualMem::readInstrFrmVm(uint64_t frm, TraceCache2 *tr){
+/*
+unsigned int VirtualMem::readInstrFrmVm(uint64_t frm, TraceCache *tr){
unsigned int instr=0;
instr = tr->getAddr(frm);
@@ -65,11 +64,12 @@
read(fp, &instr, 4);
return instr;
}
+*/
-
-unsigned int VirtualMem::readInstrFrmVm(uint64_t frm, TraceCache *tr, TraceCache2 *tr2){
+unsigned int VirtualMem::readInstrFrmVm(uint64_t frm, TraceCache *tr,
+ TraceCache *tr2){
unsigned int instr=0;
-
+
instr = tr->getAddr(frm);
if(instr)
return instr;
More information about the llvm-commits
mailing list