mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-19 08:35:45 +00:00
Rename FunctionFrameInfo to MachineFrameInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5200 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#include "llvm/CodeGen/MachineCodeForInstruction.h"
|
||||
#include "llvm/CodeGen/SSARegMap.h"
|
||||
#include "llvm/CodeGen/MachineFunctionInfo.h"
|
||||
#include "llvm/CodeGen/FunctionFrameInfo.h"
|
||||
#include "llvm/CodeGen/MachineFrameInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetFrameInfo.h"
|
||||
#include "llvm/Target/MachineCacheInfo.h"
|
||||
@@ -101,7 +101,7 @@ MachineFunction::MachineFunction(const Function *F,
|
||||
: Annotation(MF_AID), Fn(F), Target(TM) {
|
||||
SSARegMapping = new SSARegMap();
|
||||
MFInfo = new MachineFunctionInfo(*this);
|
||||
FrameInfo = new FunctionFrameInfo();
|
||||
FrameInfo = new MachineFrameInfo();
|
||||
}
|
||||
|
||||
MachineFunction::~MachineFunction() {
|
||||
@@ -168,10 +168,10 @@ void MachineFunction::clearSSARegMap() {
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// FunctionFrameInfo implementation
|
||||
// MachineFrameInfo implementation
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
void FunctionFrameInfo::print(std::ostream &OS) const {
|
||||
void MachineFrameInfo::print(std::ostream &OS) const {
|
||||
for (unsigned i = 0, e = Objects.size(); i != e; ++i) {
|
||||
const StackObject &SO = Objects[i];
|
||||
OS << " <fi# " << (int)(i-NumFixedObjects) << "> is ";
|
||||
@@ -197,7 +197,7 @@ void FunctionFrameInfo::print(std::ostream &OS) const {
|
||||
OS << " Stack frame contains variable sized objects\n";
|
||||
}
|
||||
|
||||
void FunctionFrameInfo::dump() const { print(std::cerr); }
|
||||
void MachineFrameInfo::dump() const { print(std::cerr); }
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
Reference in New Issue
Block a user