[llvm-commits] [gcc-plugin] r76875 - in /gcc-plugin/trunk: llvm-backend.cpp llvm-convert.cpp
Duncan Sands
baldrick at free.fr
Thu Jul 23 05:50:43 PDT 2009
Author: baldrick
Date: Thu Jul 23 07:49:57 2009
New Revision: 76875
URL: http://llvm.org/viewvc/llvm-project?rev=76875&view=rev
Log:
Compile fixes due to changes in the context ABI.
Modified:
gcc-plugin/trunk/llvm-backend.cpp
gcc-plugin/trunk/llvm-convert.cpp
Modified: gcc-plugin/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-backend.cpp?rev=76875&r1=76874&r2=76875&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-backend.cpp (original)
+++ gcc-plugin/trunk/llvm-backend.cpp Thu Jul 23 07:49:57 2009
@@ -1480,10 +1480,10 @@
if (TREE_THIS_VOLATILE(decl))
warning(0, "volatile register variables don%'t work as you might wish");
- SET_DECL_LLVM(decl, Context.getConstantIntFalse());
+ SET_DECL_LLVM(decl, Context.getFalse());
return false; // Everything ok.
}
- SET_DECL_LLVM(decl, Context.getConstantIntTrue());
+ SET_DECL_LLVM(decl, Context.getTrue());
return true;
}
Modified: gcc-plugin/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-convert.cpp?rev=76875&r1=76874&r2=76875&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Thu Jul 23 07:49:57 2009
@@ -7992,7 +7992,7 @@
FieldPtr = ConstantFoldInstOperands(Instruction::GetElementPtr,
FieldPtr->getType(), Ops,
- 3, &Context, &TD);
+ 3, Context, &TD);
// Now that we did an offset from the start of the struct, subtract off
// the offset from BitStart.
More information about the llvm-commits
mailing list