[llvm-commits] CVS: llvm/lib/Reoptimizer/Inst/ElfReader.cpp InstManip.cpp InstManip.h Phases.cpp
Joel Stanley
jstanley at cs.uiuc.edu
Thu Apr 10 18:23:01 PDT 2003
Changes in directory llvm/lib/Reoptimizer/Inst:
ElfReader.cpp updated: 1.3 -> 1.4
InstManip.cpp updated: 1.3 -> 1.4
InstManip.h updated: 1.3 -> 1.4
Phases.cpp updated: 1.6 -> 1.7
---
Log message:
Changed source to reflect movement of {bitmath,sparc9,sparcdis}.h [BinInterface
dependences] to include directory.
---
Diffs of the changes:
Index: llvm/lib/Reoptimizer/Inst/ElfReader.cpp
diff -u llvm/lib/Reoptimizer/Inst/ElfReader.cpp:1.3 llvm/lib/Reoptimizer/Inst/ElfReader.cpp:1.4
--- llvm/lib/Reoptimizer/Inst/ElfReader.cpp:1.3 Tue Apr 8 22:35:57 2003
+++ llvm/lib/Reoptimizer/Inst/ElfReader.cpp Thu Apr 10 18:23:58 2003
@@ -6,8 +6,8 @@
//
// TODO:
//
-// Replace the primitive read-and-raw-FD mechanism with C++-stream-based code.
-// The version of libg++ we're using doesn't seem to have a mechanism for
+// Replace the primitive raw-FD read()-based mechanism with C++-stream-based
+// code. The version of libg++ we're using doesn't seem to have a mechanism for
// obtaining the file descriptor associated with an open ifstream. (rdbuf() will
// yield the file buffer object, but there's no way to get the associated file
// and therefore the FD from that. :(
Index: llvm/lib/Reoptimizer/Inst/InstManip.cpp
diff -u llvm/lib/Reoptimizer/Inst/InstManip.cpp:1.3 llvm/lib/Reoptimizer/Inst/InstManip.cpp:1.4
--- llvm/lib/Reoptimizer/Inst/InstManip.cpp:1.3 Thu Apr 10 15:33:31 2003
+++ llvm/lib/Reoptimizer/Inst/InstManip.cpp Thu Apr 10 18:23:58 2003
@@ -7,8 +7,8 @@
#include <iostream>
#include <iomanip>
#include "llvm/Reoptimizer/VirtualMem.h"
-#include "../BinInterface/sparc9.h" // TODO: Move to proper include directory
-#include "../BinInterface/bitmath.h" // TODO: Move to proper include directory
+#include "llvm/Reoptimizer/BinInterface/sparc9.h"
+#include "llvm/Reoptimizer/BinInterface/bitmath.h"
#include "InstManip.h"
void InstManip::printRange(unsigned* start, unsigned* end) const
Index: llvm/lib/Reoptimizer/Inst/InstManip.h
diff -u llvm/lib/Reoptimizer/Inst/InstManip.h:1.3 llvm/lib/Reoptimizer/Inst/InstManip.h:1.4
--- llvm/lib/Reoptimizer/Inst/InstManip.h:1.3 Thu Apr 10 15:33:32 2003
+++ llvm/lib/Reoptimizer/Inst/InstManip.h Thu Apr 10 18:23:58 2003
@@ -14,7 +14,7 @@
#define _INCLUDED_INSTMANIP_H
#include <vector>
-#include "../BinInterface/sparcdis.h" // TODO: Move to proper include directory
+#include "llvm/Reoptimizer/BinInterface/sparcdis.h"
#include "llvm/Reoptimizer/InstrUtils.h"
class VirtualMem;
Index: llvm/lib/Reoptimizer/Inst/Phases.cpp
diff -u llvm/lib/Reoptimizer/Inst/Phases.cpp:1.6 llvm/lib/Reoptimizer/Inst/Phases.cpp:1.7
--- llvm/lib/Reoptimizer/Inst/Phases.cpp:1.6 Thu Apr 10 17:34:16 2003
+++ llvm/lib/Reoptimizer/Inst/Phases.cpp Thu Apr 10 18:23:58 2003
@@ -1,9 +1,11 @@
////////////////
// programmer: Joel Stanley
// date: Fri Apr 4 16:59:48 CST 2003
-// fileid: Phase2.cpp
-// purpose: Implements phase 2 of the peformance-oriented language extensions.
+// fileid: Phases.cpp
+// purpose: Implements various runtime phases of the peformance-oriented language
+// extensions.
//
+// PHASE 2:
// On program startup ("phase 2" function called from main()):
//
// 1. Read the neccessary ELF data associated with the executable image.
@@ -20,6 +22,10 @@
//
// 2d. Write code to call phase 3 into the heap region, etc.
//
+// PHASE 3:
+//
+// PHASE 4:
+//
#include <stdlib.h>
#include <iostream>
@@ -28,7 +34,7 @@
#include "llvm/Reoptimizer/TraceCache.h"
#include "llvm/Reoptimizer/VirtualMem.h"
-#include "../TraceCache/MemoryManager.h" // TODO: Move to proper include directory
+#include "llvm/Reoptimizer/MemoryManager.h"
#include "ElfReader.h"
#include "InstManip.h"
More information about the llvm-commits
mailing list