mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Convert to the new MachineFunctionInfo interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//===-- MachineFunctionInfo.h -----------------------------------*- C++ -*-===//
|
||||
//===-- SparcV9FunctionInfo.h -----------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
@@ -29,7 +29,7 @@ class MachineFunction;
|
||||
class Constant;
|
||||
class Type;
|
||||
|
||||
class MachineFunctionInfo : public MachineFunctionInfoBase {
|
||||
class SparcV9FunctionInfo : public MachineFunctionInfo {
|
||||
hash_set<const Constant*> constantsForConstPool;
|
||||
hash_map<const Value*, int> offsets;
|
||||
|
||||
@@ -48,7 +48,7 @@ class MachineFunctionInfo : public MachineFunctionInfoBase {
|
||||
public:
|
||||
hash_map<const Instruction*, MachineCodeForInstruction> MCFIEntries;
|
||||
|
||||
MachineFunctionInfo(MachineFunction &mf) : MF(mf) {
|
||||
SparcV9FunctionInfo(MachineFunction &mf) : MF(mf) {
|
||||
staticStackSize = automaticVarsSize = regSpillsSize = 0;
|
||||
maxOptionalArgsSize = maxOptionalNumArgs = currentTmpValuesSize = 0;
|
||||
maxTmpValuesSize = 0;
|
||||
|
Reference in New Issue
Block a user