[llvm-commits] CVS: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Aug 25 11:43:29 PDT 2004



Changes in directory reopt/lib/LightWtProfiling:

UnpackTraceFunction.cpp updated: 1.108 -> 1.109
---
Log message:

do the header file shuffle


---
Diffs of the changes:  (+4 -4)

Index: reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp
diff -u reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.108 reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.109
--- reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp:1.108	Sun Aug 22 22:10:31 2004
+++ reopt/lib/LightWtProfiling/UnpackTraceFunction.cpp	Wed Aug 25 13:43:18 2004
@@ -15,9 +15,9 @@
 
 #include "reopt/UnpackTraceFunction.h"
 #include "reopt/TraceToFunction.h"
-#include "reopt/MappingInfo.h"                      // for getBasicBlockInfo()
-#include "llvm/CodeGen/MachineFunctionInfo.h"       // for getStaticStackSize()
-#include "llvm/CodeGen/MachineCodeForInstruction.h"
+#include "reopt/MappingInfo.h"
+#include "../../../../lib/Target/SparcV9/MachineFunctionInfo.h"
+#include "../../../../lib/Target/SparcV9/MachineCodeForInstruction.h"
 #include "llvm/Support/CFG.h"
 #include "llvm/Module.h"
 #include "llvm/Instructions.h"
@@ -35,7 +35,7 @@
 // Ripped off from SparcV9PrologEpilogInserter
 static unsigned getStaticStackSize (MachineFunction &MF) {
   const TargetFrameInfo& frameInfo = *MF.getTarget().getFrameInfo();
-  unsigned staticStackSize = MF.getInfo()->getStaticStackSize();
+  unsigned staticStackSize = MF.getInfo<SparcV9FunctionInfo>()->getStaticStackSize();
   if (staticStackSize < (unsigned)SparcV9FrameInfo::MinStackFrameSize)
     staticStackSize = SparcV9FrameInfo::MinStackFrameSize;
   if (unsigned padsz = staticStackSize % 






More information about the llvm-commits mailing list