Revert r110396 to fix buildbots.
[oota-llvm.git] / lib / CodeGen / RegAllocLinearScan.cpp
index c9c51b361d3685faa972e4dd3d47c1db526019c3..d10b5d630682a9205c4146455f74098b16e74ebe 100644 (file)
@@ -90,7 +90,7 @@ namespace {
  
   struct RALinScan : public MachineFunctionPass {
     static char ID;
-    RALinScan() : MachineFunctionPass(ID) {
+    RALinScan() : MachineFunctionPass(&ID) {
       // Initialize the queue to record recently-used registers.
       if (NumRecentlyUsedRegs > 0)
         RecentRegs.resize(NumRecentlyUsedRegs, 0);