class VISIBILITY_HIDDEN RegAllocSimple : public MachineFunctionPass {
public:
- static const int ID;
+ static char ID;
RegAllocSimple() : MachineFunctionPass((intptr_t)&ID) {}
private:
MachineFunction *MF;
void spillVirtReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
unsigned VirtReg, unsigned PhysReg);
};
- const int RegAllocSimple::ID = 0;
+ char RegAllocSimple::ID = 0;
}
/// getStackSpaceFor - This allocates space for the specified virtual