Revision: 124325 Author: echeng Date: 2007-02-26 13:23:54 -0800 (Mon, 26 Feb 2007)
Log Message: ----------- llvm_get_type cannot be extern inline since it's externally referenced. Modified Paths: -------------- apple-local/branches/llvm/gcc/llvm-types.cpp Modified: apple-local/branches/llvm/gcc/llvm-types.cpp =================================================================== --- apple-local/branches/llvm/gcc/llvm-types.cpp 2007-02-26 19:41:31 UTC (rev 124324) +++ apple-local/branches/llvm/gcc/llvm-types.cpp 2007-02-26 21:23:54 UTC (rev 124325) @@ -91,8 +91,7 @@ // Get LLVM Type for the GCC tree node based on LTypes vector index. // When GCC tree node is initialized, it has 0 as the index value. This is // why all recorded indexes are offset by 1. -extern "C" inline const Type *llvm_get_type(unsigned Index) { - +extern "C" const Type *llvm_get_type(unsigned Index) { if (Index == 0) return NULL; assert ((Index - 1) < LTypes.size() && "Invalid LLVM Type index"); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits