another missed SSE optimization
[oota-llvm.git] / lib / Target / X86 / X86CodeEmitter.cpp
index 244ddc0a9e5fa0c7bbf8f2068b8737744618c891..8b22634bd429d9159c90ae4b371f908de71e24b5 100644 (file)
@@ -39,7 +39,7 @@ namespace {
     MachineCodeEmitter  &MCE;
     bool Is64BitMode;
   public:
-    static const char ID;
+    static char ID;
     explicit Emitter(TargetMachine &tm, MachineCodeEmitter &mce)
       : MachineFunctionPass((intptr_t)&ID), II(0), TD(0), TM(tm), 
       MCE(mce), Is64BitMode(false) {}
@@ -82,7 +82,7 @@ namespace {
     bool isX86_64ExtendedReg(const MachineOperand &MO);
     unsigned determineREX(const MachineInstr &MI);
   };
-  const char Emitter::ID = 0;
+  char Emitter::ID = 0;
 }
 
 /// createX86CodeEmitterPass - Return a pass that emits the collected X86 code