summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocLocal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/RegAllocLocal.cpp')
-rw-r--r--lib/CodeGen/RegAllocLocal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp
index 4494552c9f..500ed87018 100644
--- a/lib/CodeGen/RegAllocLocal.cpp
+++ b/lib/CodeGen/RegAllocLocal.cpp
@@ -44,7 +44,7 @@ namespace {
class VISIBILITY_HIDDEN RA : public MachineFunctionPass {
public:
- static const int ID;
+ static const char ID;
RA() : MachineFunctionPass((intptr_t)&ID) {}
private:
const TargetMachine *TM;
@@ -228,7 +228,7 @@ namespace {
void reloadPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator &I,
unsigned PhysReg);
};
- const int RA::ID = 0;
+ const char RA::ID = 0;
}
/// getStackSpaceFor - This allocates space for the specified virtual register