[llvm-commits] [llvm-gcc-4.2] r64602 - /llvm-gcc-4.2/trunk/gcc/cgraphunit.c
Bill Wendling
isanbard at gmail.com
Sun Feb 15 12:58:03 PST 2009
Author: void
Date: Sun Feb 15 14:58:02 2009
New Revision: 64602
URL: http://llvm.org/viewvc/llvm-project?rev=64602&view=rev
Log:
Don't change behavior of non-llvm builds -- even though this difference didn't. It makes merging a bit simpler.
Modified:
llvm-gcc-4.2/trunk/gcc/cgraphunit.c
Modified: llvm-gcc-4.2/trunk/gcc/cgraphunit.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/cgraphunit.c?rev=64602&r1=64601&r2=64602&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/cgraphunit.c (original)
+++ llvm-gcc-4.2/trunk/gcc/cgraphunit.c Sun Feb 15 14:58:02 2009
@@ -1329,12 +1329,16 @@
internal_error ("failed to reclaim unneeded function");
}
#endif
+ /* LLVM LOCAL begin - extern inline */
+#ifdef ENABLE_LLVM
gcc_assert (node->global.inlined_to || !DECL_SAVED_TREE (decl)
- /* LLVM LOCAL begin - extern inline */
|| IS_EXTERN_INLINE (decl));
- /* LLVM LOCAL end - extern inline */
+#else
+ gcc_assert (node->global.inlined_to || !DECL_SAVED_TREE (decl)
+ || DECL_EXTERNAL (decl));
+#endif
+ /* LLVM LOCAL end - extern inline */
}
-
}
}
More information about the llvm-commits
mailing list