[llvm-commits] [124325] llvm_get_type cannot be extern inline since it' s externally referenced.
echeng at apple.com
echeng at apple.com
Mon Feb 26 13:23:57 PST 2007
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");
More information about the llvm-commits
mailing list