R600: Fix bug detected by GCC warning.
[oota-llvm.git] / lib / Target / R600 / R600TextureIntrinsicsReplacer.cpp
index 938bd51f742da0a72bc1d09d26ddf53bcd770986..518a4766aec2dbe6d8638956ba99bcc52ba93acc 100644 (file)
@@ -229,7 +229,7 @@ public:
       Int32Type,
       Int32Type,
     };
-    TexSign = FunctionType::get(V4f32Type, ArgsType);
+    TexSign = FunctionType::get(V4f32Type, ArgsType, /*isVarArg=*/false);
     Type *ArgsQType[] = {
       V4i32Type,
       Int32Type,
@@ -242,7 +242,7 @@ public:
       Int32Type,
       Int32Type,
     };
-    TexQSign = FunctionType::get(V4f32Type, ArgsQType);
+    TexQSign = FunctionType::get(V4f32Type, ArgsQType, /*isVarArg=*/false);
     return false;
   }