[llvm-commits] CVS: reopt/lib/LightWtProfiling/Initialization.cpp TraceOptEmitter.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Fri Apr 23 16:42:05 PDT 2004
Changes in directory reopt/lib/LightWtProfiling:
Initialization.cpp updated: 1.15 -> 1.16
TraceOptEmitter.cpp updated: 1.5 -> 1.6
---
Log message:
dummyFunction2 has been renamed to OptimizedTraceTextArea.
---
Diffs of the changes: (+2 -2)
Index: reopt/lib/LightWtProfiling/Initialization.cpp
diff -u reopt/lib/LightWtProfiling/Initialization.cpp:1.15 reopt/lib/LightWtProfiling/Initialization.cpp:1.16
--- reopt/lib/LightWtProfiling/Initialization.cpp:1.15 Fri Jan 16 11:02:00 2004
+++ reopt/lib/LightWtProfiling/Initialization.cpp Fri Apr 23 16:40:57 2004
@@ -77,7 +77,7 @@
" llvm dynamic optimizer");
vm = new VirtualMem();
tr = new TraceCache(InstTraceCacheSize, vm);
- tr2 = new TraceCache(dummyFunction2, OptTraceCacheSize, vm);
+ tr2 = new TraceCache(OptimizedTraceTextArea, OptTraceCacheSize, vm);
LEVEL_TWO_EXITS = THRESHOLD_LEVEL_2/3;
Index: reopt/lib/LightWtProfiling/TraceOptEmitter.cpp
diff -u reopt/lib/LightWtProfiling/TraceOptEmitter.cpp:1.5 reopt/lib/LightWtProfiling/TraceOptEmitter.cpp:1.6
--- reopt/lib/LightWtProfiling/TraceOptEmitter.cpp:1.5 Fri Apr 23 14:42:30 2004
+++ reopt/lib/LightWtProfiling/TraceOptEmitter.cpp Fri Apr 23 16:40:57 2004
@@ -54,7 +54,7 @@
TraceOptEmitter (const TargetData &_TD) : TD (_TD) {
// Re-use the existing DummyFunction area for code emission in the
// Reoptimizer. No memory is reserved for stubs.
- FunctionBase = (unsigned char *) dummyFunction2;
+ FunctionBase = (unsigned char *) OptimizedTraceTextArea;
// Allocate functions forward from the function base.
CurFunctionPtr = FunctionBase;
}
More information about the llvm-commits
mailing list