[llvm-commits] CVS: reopt/include/reopt/VirtualMem.h
Brian Gaeke
gaeke at cs.uiuc.edu
Fri Apr 23 16:26:02 PDT 2004
Changes in directory reopt/include/reopt:
VirtualMem.h updated: 1.12 -> 1.13
---
Log message:
copyToVM has been renamed to writeTraceToVM. Its arguments have been reordered
for consistency with writeInstToVM.
Document writeInstToVM and writeTraceToVM.
---
Diffs of the changes: (+8 -4)
Index: reopt/include/reopt/VirtualMem.h
diff -u reopt/include/reopt/VirtualMem.h:1.12 reopt/include/reopt/VirtualMem.h:1.13
--- reopt/include/reopt/VirtualMem.h:1.12 Wed Nov 19 16:51:42 2003
+++ reopt/include/reopt/VirtualMem.h Fri Apr 23 16:25:11 2004
@@ -26,9 +26,6 @@
public:
//constructor
VirtualMem();
- //reading/modifying process space VM
- void copyToVM(std::vector<unsigned> &trace,
- uint64_t traceStartAddr);
void changeBranchTarget(uint64_t frm, uint64_t to);
uint64_t getBranchTarget(const std::pair<uint64_t, uint64_t> &n);
@@ -37,7 +34,14 @@
unsigned int readInstrFrmVm(uint64_t frm, TraceCache *tr);
unsigned int readInstrFrmVm(uint64_t frm, TraceCache *tr, TraceCache *tr2);
- void writeInstToVM(uint64_t dest, unsigned newInstr);
+ /// writeInstToVM - Emit the word newInstr to memory at address destAddr.
+ ///
+ void writeInstToVM (uint64_t destAddr, unsigned int newInstr);
+
+ /// writeTraceToVM - Emit the words in newInstrs to memory starting at
+ /// address destAddr.
+ ///
+ void writeTraceToVM (uint64_t destAddr, std::vector<unsigned int> &newInstrs);
void writeBranchInstruction(uint64_t location, uint64_t target);
More information about the llvm-commits
mailing list