[llvm-commits] [127041] Fix PR1400
dpatel at apple.com
dpatel at apple.com
Tue May 8 11:09:28 PDT 2007
Revision: 127041
Author: dpatel
Date: 2007-05-08 11:09:27 -0700 (Tue, 08 May 2007)
Log Message:
-----------
Fix PR1400
Test case
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070507/049420.html
Modified Paths:
--------------
apple-local/branches/llvm/gcc/llvm-convert.cpp
Modified: apple-local/branches/llvm/gcc/llvm-convert.cpp
===================================================================
--- apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-05-08 10:44:37 UTC (rev 127040)
+++ apple-local/branches/llvm/gcc/llvm-convert.cpp 2007-05-08 18:09:27 UTC (rev 127041)
@@ -203,7 +203,7 @@
else
// Non constant values, e.g. arguments, are not at global scope.
// When PCH is read, only global scope values are used.
- ValuesForPCH.push_back(NULL);
+ ValuesForPCH.push_back(Constant::getNullValue(Type::Int32Ty));
}
// Create string table.
More information about the llvm-commits
mailing list