FYI, this updates llvm-gcc to work with recent llvm cvs changes.

-Chris

Index: llvm-backend.cpp
===================================================================
--- llvm-backend.cpp    (revision 118395)
+++ llvm-backend.cpp    (working copy)
@@ -575,10 +575,10 @@ bool ValidateRegisterVariable(tree decl)
      if (TREE_THIS_VOLATILE(decl))
        warning("volatile register variables don%'t work as you might  
wish");

-    SET_DECL_LLVM(decl, ConstantBool::False);
+    SET_DECL_LLVM(decl, ConstantBool::getFalse());
      return false;  // Everything ok.
    }
-  SET_DECL_LLVM(decl, ConstantBool::True);
+  SET_DECL_LLVM(decl, ConstantBool::getTrue());
    return true;
}

_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to