[llvm-commits] [llvm-gcc-4.2] r111690 - in /llvm-gcc-4.2/trunk/gcc: llvm-debug.cpp llvm-debug.h
Dan Gohman
gohman at apple.com
Fri Aug 20 15:43:00 PDT 2010
Author: djg
Date: Fri Aug 20 17:43:00 2010
New Revision: 111690
URL: http://llvm.org/viewvc/llvm-project?rev=111690&view=rev
Log:
FwdTypeCount is no longer used.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
llvm-gcc-4.2/trunk/gcc/llvm-debug.h
Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=111690&r1=111689&r2=111690&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Fri Aug 20 17:43:00 2010
@@ -210,7 +210,6 @@
, PrevLineNo(0)
, PrevBB(NULL)
, CurrentGCCLexicalBlock(NULL)
-, FwdTypeCount(0)
, RegionStack()
{}
Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.h?rev=111690&r1=111689&r2=111690&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.h (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.h Fri Aug 20 17:43:00 2010
@@ -67,11 +67,6 @@
// Current GCC lexical block (or enclosing FUNCTION_DECL).
tree_node *CurrentGCCLexicalBlock;
- // This counter counts debug info for forward referenced subroutine types.
- // This counter is used to create unique name for such types so that their
- // debug info (through MDNodes) is not shared accidently.
- unsigned FwdTypeCount;
-
std::map<tree_node *, WeakVH > TypeCache;
// Cache of previously constructed
// Types.
More information about the llvm-commits
mailing list