Expose explicit type
[oota-llvm.git] / lib / Target / MachineFrameInfo.cpp
index be7feee5eec1adedd09bc571d3feca560c683c7a..4d2fab230e53d309fc539cc3ad1ca4ceee642593 100644 (file)
@@ -1,24 +1,16 @@
-// $Id$ -*-c++-*-
-//***************************************************************************
-// File:
-//     MachineFrameInfo.cpp
+//===-- MachineFrameInfo.cpp-----------------------------------------------===//
 // 
-// Purpose:
-//     Interface to layout of stack frame on target machine.
-//      Most functions of class MachineFrameInfo have to be machine-specific
-//      so there is little code here.
+// Interface to layout of stack frame on target machine.  Most functions of
+// class MachineFrameInfo have to be machine-specific so there is little code
+// here.
 // 
-// History:
-//      4/17/02         -  Vikram Adve  -  Created
-//**************************************************************************/
-
+//===----------------------------------------------------------------------===//
 
 #include "llvm/Target/MachineFrameInfo.h"
-#include "llvm/CodeGen/MachineCodeForMethod.h"
-
+#include "llvm/CodeGen/MachineFunction.h"
 
 int
-MachineFrameInfo::getIncomingArgOffset(MachineCodeForMethod& mcInfo,
+MachineFrameInfo::getIncomingArgOffset(MachineFunction& mcInfo,
                                        unsigned argNum) const
 {
   assert(argsOnStackHaveFixedSize()); 
@@ -33,7 +25,7 @@ MachineFrameInfo::getIncomingArgOffset(MachineCodeForMethod& mcInfo,
 
 
 int
-MachineFrameInfo::getOutgoingArgOffset(MachineCodeForMethod& mcInfo,
+MachineFrameInfo::getOutgoingArgOffset(MachineFunction& mcInfo,
                                        unsigned argNum) const
 {
   assert(argsOnStackHaveFixedSize());