[llvm-commits] llvm-gcc patch
Chris Lattner
clattner at apple.com
Thu Sep 28 17:01:51 PDT 2006
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;
}
More information about the llvm-commits
mailing list