X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FTarget%2FMachineFrameInfo.cpp;h=4d2fab230e53d309fc539cc3ad1ca4ceee642593;hb=b0f99b90df9a44d9b4a96c99774bc28ab08b56eb;hp=be7feee5eec1adedd09bc571d3feca560c683c7a;hpb=a4a943dd5a5af56bb6d050a0a47f947d4b179420;p=oota-llvm.git diff --git a/lib/Target/MachineFrameInfo.cpp b/lib/Target/MachineFrameInfo.cpp index be7feee5eec..4d2fab230e5 100644 --- a/lib/Target/MachineFrameInfo.cpp +++ b/lib/Target/MachineFrameInfo.cpp @@ -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());