[llvm-commits] [llvm] r50695 - in /llvm/trunk: include/llvm/ include/llvm/Analysis/ include/llvm/CodeGen/ include/llvm/Support/ include/llvm/System/ include/llvm/Transforms/Utils/ lib/Analysis/ lib/Analysis/IPA/ lib/CodeGen/ lib/Support/ lib/System/ lib/Transforms/Utils/ lib/VMCore/

Dan Gohman gohman at apple.com
Mon May 5 18:32:55 PDT 2008


Author: djg
Date: Mon May  5 20:32:53 2008
New Revision: 50695

URL: http://llvm.org/viewvc/llvm-project?rev=50695&view=rev
Log:
Remove uses of llvm/System/IncludeFile.h that are no longer needed.

Modified:
    llvm/trunk/include/llvm/Analysis/CallGraph.h
    llvm/trunk/include/llvm/Analysis/FindUsedTypes.h
    llvm/trunk/include/llvm/Analysis/LoopInfo.h
    llvm/trunk/include/llvm/Analysis/PostDominators.h
    llvm/trunk/include/llvm/Analysis/ValueNumbering.h
    llvm/trunk/include/llvm/CodeGen/MachineLoopInfo.h
    llvm/trunk/include/llvm/IntrinsicInst.h
    llvm/trunk/include/llvm/PassSupport.h
    llvm/trunk/include/llvm/Support/Dwarf.h
    llvm/trunk/include/llvm/Support/Mangler.h
    llvm/trunk/include/llvm/System/Alarm.h
    llvm/trunk/include/llvm/System/DynamicLibrary.h
    llvm/trunk/include/llvm/System/Memory.h
    llvm/trunk/include/llvm/System/Process.h
    llvm/trunk/include/llvm/System/Program.h
    llvm/trunk/include/llvm/System/Signals.h
    llvm/trunk/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
    llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp
    llvm/trunk/lib/Analysis/LoopInfo.cpp
    llvm/trunk/lib/Analysis/PostDominators.cpp
    llvm/trunk/lib/CodeGen/MachineLoopInfo.cpp
    llvm/trunk/lib/Support/Dwarf.cpp
    llvm/trunk/lib/System/Alarm.cpp
    llvm/trunk/lib/System/DynamicLibrary.cpp
    llvm/trunk/lib/System/Memory.cpp
    llvm/trunk/lib/System/Mutex.cpp
    llvm/trunk/lib/System/Process.cpp
    llvm/trunk/lib/System/Program.cpp
    llvm/trunk/lib/System/Signals.cpp
    llvm/trunk/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
    llvm/trunk/lib/VMCore/IntrinsicInst.cpp
    llvm/trunk/lib/VMCore/Mangler.cpp

Modified: llvm/trunk/include/llvm/Analysis/CallGraph.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/CallGraph.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/CallGraph.h (original)
+++ llvm/trunk/include/llvm/Analysis/CallGraph.h Mon May  5 20:32:53 2008
@@ -55,6 +55,7 @@
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/Pass.h"
 #include "llvm/Support/CallSite.h"
+#include "llvm/System/IncludeFile.h"
 #include <map>
 
 namespace llvm {
@@ -158,10 +159,7 @@
   void print(std::ostream *o, const Module *M) const { if (o) print(*o, M); }
   void dump() const;
   
-  // stub - dummy function, just ignore it
-  static int stub;
 protected:
-
   // destroy - Release memory for the call graph
   virtual void destroy();
 };

Modified: llvm/trunk/include/llvm/Analysis/FindUsedTypes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/FindUsedTypes.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/FindUsedTypes.h (original)
+++ llvm/trunk/include/llvm/Analysis/FindUsedTypes.h Mon May  5 20:32:53 2008
@@ -61,7 +61,4 @@
 
 } // End llvm namespace
 
-// Make sure that any clients of this file link in PostDominators.cpp
-FORCE_DEFINING_FILE_TO_BE_LINKED(FindUsedTypes)
-
 #endif

Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopInfo.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/LoopInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/LoopInfo.h Mon May  5 20:32:53 2008
@@ -1013,7 +1013,4 @@
 
 } // End llvm namespace
 
-// Make sure that any clients of this file link in LoopInfo.cpp
-FORCE_DEFINING_FILE_TO_BE_LINKED(LoopInfo)
-
 #endif

Modified: llvm/trunk/include/llvm/Analysis/PostDominators.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/PostDominators.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/PostDominators.h (original)
+++ llvm/trunk/include/llvm/Analysis/PostDominators.h Mon May  5 20:32:53 2008
@@ -92,7 +92,4 @@
 
 } // End llvm namespace
 
-// Make sure that any clients of this file link in PostDominators.cpp
-FORCE_DEFINING_FILE_TO_BE_LINKED(PostDominanceFrontier)
-
 #endif

Modified: llvm/trunk/include/llvm/Analysis/ValueNumbering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ValueNumbering.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/ValueNumbering.h (original)
+++ llvm/trunk/include/llvm/Analysis/ValueNumbering.h Mon May  5 20:32:53 2008
@@ -22,6 +22,7 @@
 
 #include <vector>
 #include "llvm/Pass.h"
+#include "llvm/System/IncludeFile.h"
 
 namespace llvm {
 

Modified: llvm/trunk/include/llvm/CodeGen/MachineLoopInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineLoopInfo.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineLoopInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineLoopInfo.h Mon May  5 20:32:53 2008
@@ -187,7 +187,4 @@
 
 } // End llvm namespace
 
-// Make sure that any clients of this file link in LoopInfo.cpp
-FORCE_DEFINING_FILE_TO_BE_LINKED(MachineLoopInfo)
-
 #endif

Modified: llvm/trunk/include/llvm/IntrinsicInst.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IntrinsicInst.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/IntrinsicInst.h (original)
+++ llvm/trunk/include/llvm/IntrinsicInst.h Mon May  5 20:32:53 2008
@@ -28,7 +28,6 @@
 #include "llvm/Function.h"
 #include "llvm/Instructions.h"
 #include "llvm/Intrinsics.h"
-#include "llvm/System/IncludeFile.h"
 
 namespace llvm {
   /// IntrinsicInst - A useful wrapper class for inspecting calls to intrinsic
@@ -316,8 +315,4 @@
 
 }
 
-// Ensure that the IntrinsicInst.cpp file gets added as a dependency of any 
-// file that includes this header
-FORCE_DEFINING_FILE_TO_BE_LINKED(IntrinsicInst)
-
 #endif

Modified: llvm/trunk/include/llvm/PassSupport.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/PassSupport.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/PassSupport.h (original)
+++ llvm/trunk/include/llvm/PassSupport.h Mon May  5 20:32:53 2008
@@ -21,7 +21,6 @@
 #ifndef LLVM_PASS_SUPPORT_H
 #define LLVM_PASS_SUPPORT_H
 
-#include "llvm/System/IncludeFile.h"
 // No need to include Pass.h, we are being included by it!
 
 namespace llvm {

Modified: llvm/trunk/include/llvm/Support/Dwarf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Dwarf.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/Dwarf.h (original)
+++ llvm/trunk/include/llvm/Support/Dwarf.h Mon May  5 20:32:53 2008
@@ -16,8 +16,6 @@
 #ifndef LLVM_SUPPORT_DWARF_H
 #define LLVM_SUPPORT_DWARF_H
 
-#include "llvm/System/IncludeFile.h"
-
 namespace llvm {
 
 namespace dwarf {
@@ -567,6 +565,4 @@
 
 } // End of namespace llvm
 
-FORCE_DEFINING_FILE_TO_BE_LINKED(SupportDwarf)
-
 #endif

Modified: llvm/trunk/include/llvm/Support/Mangler.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Mangler.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/Mangler.h (original)
+++ llvm/trunk/include/llvm/Support/Mangler.h Mon May  5 20:32:53 2008
@@ -14,7 +14,6 @@
 #ifndef LLVM_SUPPORT_MANGLER_H
 #define LLVM_SUPPORT_MANGLER_H
 
-#include "llvm/System/IncludeFile.h"
 #include <map>
 #include <set>
 #include <string>
@@ -112,7 +111,4 @@
 
 } // End llvm namespace
 
-// Force the Mangler.cpp file to be linked when this header is #included
-FORCE_DEFINING_FILE_TO_BE_LINKED(Mangler)
-
 #endif // LLVM_SUPPORT_MANGLER_H

Modified: llvm/trunk/include/llvm/System/Alarm.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Alarm.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/System/Alarm.h (original)
+++ llvm/trunk/include/llvm/System/Alarm.h Mon May  5 20:32:53 2008
@@ -17,8 +17,6 @@
 #ifndef LLVM_SYSTEM_ALARM_H
 #define LLVM_SYSTEM_ALARM_H
 
-#include "llvm/System/IncludeFile.h"
-
 namespace llvm {
 namespace sys {
 
@@ -44,6 +42,4 @@
 } // End sys namespace
 } // End llvm namespace
 
-FORCE_DEFINING_FILE_TO_BE_LINKED(SystemAlarm)
-
 #endif

Modified: llvm/trunk/include/llvm/System/DynamicLibrary.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/DynamicLibrary.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/System/DynamicLibrary.h (original)
+++ llvm/trunk/include/llvm/System/DynamicLibrary.h Mon May  5 20:32:53 2008
@@ -15,7 +15,6 @@
 #define LLVM_SYSTEM_DYNAMIC_LIBRARY_H
 
 #include "llvm/System/Path.h"
-#include "llvm/System/IncludeFile.h"
 #include <string>
 
 namespace llvm {
@@ -96,6 +95,4 @@
 } // End sys namespace
 } // End llvm namespace
 
-FORCE_DEFINING_FILE_TO_BE_LINKED(SystemDynamicLibrary)
-
 #endif // LLVM_SYSTEM_DYNAMIC_LIBRARY_H

Modified: llvm/trunk/include/llvm/System/Memory.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Memory.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/System/Memory.h (original)
+++ llvm/trunk/include/llvm/System/Memory.h Mon May  5 20:32:53 2008
@@ -15,7 +15,6 @@
 #define LLVM_SYSTEM_MEMORY_H
 
 #include <string>
-#include "llvm/System/IncludeFile.h"
 
 namespace llvm {
 namespace sys {
@@ -71,6 +70,4 @@
 }
 }
 
-FORCE_DEFINING_FILE_TO_BE_LINKED(SystemMemory)
-
 #endif

Modified: llvm/trunk/include/llvm/System/Process.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Process.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/System/Process.h (original)
+++ llvm/trunk/include/llvm/System/Process.h Mon May  5 20:32:53 2008
@@ -15,7 +15,6 @@
 #define LLVM_SYSTEM_PROCESS_H
 
 #include "llvm/System/TimeValue.h"
-#include "llvm/System/IncludeFile.h"
 
 namespace llvm {
 namespace sys {
@@ -100,6 +99,4 @@
 }
 }
 
-FORCE_DEFINING_FILE_TO_BE_LINKED(SystemProcess)
-
 #endif

Modified: llvm/trunk/include/llvm/System/Program.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Program.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/System/Program.h (original)
+++ llvm/trunk/include/llvm/System/Program.h Mon May  5 20:32:53 2008
@@ -15,7 +15,6 @@
 #define LLVM_SYSTEM_PROGRAM_H
 
 #include "llvm/System/Path.h"
-#include "llvm/System/IncludeFile.h"
 #include <vector>
 
 namespace llvm {
@@ -90,6 +89,4 @@
 }
 }
 
-FORCE_DEFINING_FILE_TO_BE_LINKED(SystemProgram)
-
 #endif

Modified: llvm/trunk/include/llvm/System/Signals.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Signals.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/System/Signals.h (original)
+++ llvm/trunk/include/llvm/System/Signals.h Mon May  5 20:32:53 2008
@@ -16,7 +16,6 @@
 #define LLVM_SYSTEM_SIGNALS_H
 
 #include "llvm/System/Path.h"
-#include "llvm/System/IncludeFile.h"
 
 namespace llvm {
 namespace sys {
@@ -50,6 +49,4 @@
 } // End sys namespace
 } // End llvm namespace
 
-FORCE_DEFINING_FILE_TO_BE_LINKED(SystemSignals)
-
 #endif

Modified: llvm/trunk/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h Mon May  5 20:32:53 2008
@@ -40,16 +40,10 @@
   BasicBlock *getUnreachableBlock() const { return UnreachableBlock; }
 
   virtual bool runOnFunction(Function &F);
-  
-  // Force linking the impl of this class into anything that uses this header.
-  static int stub;
 };
 
 Pass *createUnifyFunctionExitNodesPass();
 
-static IncludeFile
-UNIFY_FUNCTION_EXIT_NODES_INCLUDE_FILE(&UnifyFunctionExitNodes::stub);
-
 } // End llvm namespace
 
 #endif

Modified: llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp (original)
+++ llvm/trunk/lib/Analysis/IPA/FindUsedTypes.cpp Mon May  5 20:32:53 2008
@@ -96,6 +96,3 @@
        E = UsedTypes.end(); I != E; ++I)
     WriteTypeSymbolic(o << "  ", *I, M) << "\n";
 }
-
-// Ensure that this file gets linked in when FindUsedTypes.h is used.
-DEFINING_FILE_FOR(FindUsedTypes)

Modified: llvm/trunk/lib/Analysis/LoopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopInfo.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/LoopInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopInfo.cpp Mon May  5 20:32:53 2008
@@ -51,6 +51,3 @@
   AU.setPreservesAll();
   AU.addRequired<DominatorTree>();
 }
-
-// Ensure this file gets linked when LoopInfo.h is used.
-DEFINING_FILE_FOR(LoopInfo)

Modified: llvm/trunk/lib/Analysis/PostDominators.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/PostDominators.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/PostDominators.cpp (original)
+++ llvm/trunk/lib/Analysis/PostDominators.cpp Mon May  5 20:32:53 2008
@@ -84,6 +84,3 @@
 
   return S;
 }
-
-// Ensure that this .cpp file gets linked when PostDominators.h is used.
-DEFINING_FILE_FOR(PostDominanceFrontier)

Modified: llvm/trunk/lib/CodeGen/MachineLoopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineLoopInfo.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/MachineLoopInfo.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineLoopInfo.cpp Mon May  5 20:32:53 2008
@@ -40,6 +40,3 @@
   AU.setPreservesAll();
   AU.addRequired<MachineDominatorTree>();
 }
-
-// Ensure this file gets linked when MachineLoopInfo.h is used.
-DEFINING_FILE_FOR(MachineLoopInfo)

Modified: llvm/trunk/lib/Support/Dwarf.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Dwarf.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/Support/Dwarf.cpp (original)
+++ llvm/trunk/lib/Support/Dwarf.cpp Mon May  5 20:32:53 2008
@@ -12,7 +12,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Support/Dwarf.h"
-#include "llvm/System/IncludeFile.h"
 
 #include <cassert>
 
@@ -582,5 +581,3 @@
 } // End of namespace dwarf.
 
 } // End of namespace llvm.
-
-DEFINING_FILE_FOR(SupportDwarf)

Modified: llvm/trunk/lib/System/Alarm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Alarm.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/System/Alarm.cpp (original)
+++ llvm/trunk/lib/System/Alarm.cpp Mon May  5 20:32:53 2008
@@ -31,5 +31,3 @@
 #ifdef LLVM_ON_WIN32
 #include "Win32/Alarm.inc"
 #endif
-
-DEFINING_FILE_FOR(SystemAlarm)

Modified: llvm/trunk/lib/System/DynamicLibrary.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/DynamicLibrary.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/System/DynamicLibrary.cpp (original)
+++ llvm/trunk/lib/System/DynamicLibrary.cpp Mon May  5 20:32:53 2008
@@ -159,5 +159,3 @@
 }
 
 #endif // LLVM_ON_WIN32
-
-DEFINING_FILE_FOR(SystemDynamicLibrary)

Modified: llvm/trunk/lib/System/Memory.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Memory.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/System/Memory.cpp (original)
+++ llvm/trunk/lib/System/Memory.cpp Mon May  5 20:32:53 2008
@@ -14,7 +14,6 @@
 
 #include "llvm/System/Memory.h"
 #include "llvm/Config/config.h"
-#include "llvm/System/IncludeFile.h"
 
 namespace llvm {
 using namespace sys;
@@ -33,5 +32,3 @@
 #ifdef LLVM_ON_WIN32
 #include "Win32/Memory.inc"
 #endif
-
-DEFINING_FILE_FOR(SystemMemory)

Modified: llvm/trunk/lib/System/Mutex.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Mutex.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/System/Mutex.cpp (original)
+++ llvm/trunk/lib/System/Mutex.cpp Mon May  5 20:32:53 2008
@@ -13,7 +13,6 @@
 
 #include "llvm/Config/config.h"
 #include "llvm/System/Mutex.h"
-#include "llvm/System/IncludeFile.h"
 
 //===----------------------------------------------------------------------===//
 //=== WARNING: Implementation here must contain only TRULY operating system

Modified: llvm/trunk/lib/System/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Process.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/System/Process.cpp (original)
+++ llvm/trunk/lib/System/Process.cpp Mon May  5 20:32:53 2008
@@ -31,5 +31,3 @@
 #ifdef LLVM_ON_WIN32
 #include "Win32/Process.inc"
 #endif
-
-DEFINING_FILE_FOR(SystemProcess)

Modified: llvm/trunk/lib/System/Program.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Program.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/System/Program.cpp (original)
+++ llvm/trunk/lib/System/Program.cpp Mon May  5 20:32:53 2008
@@ -31,5 +31,3 @@
 #ifdef LLVM_ON_WIN32
 #include "Win32/Program.inc"
 #endif
-
-DEFINING_FILE_FOR(SystemProgram)

Modified: llvm/trunk/lib/System/Signals.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Signals.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/System/Signals.cpp (original)
+++ llvm/trunk/lib/System/Signals.cpp Mon May  5 20:32:53 2008
@@ -32,5 +32,3 @@
 #ifdef LLVM_ON_WIN32
 #include "Win32/Signals.inc"
 #endif
-
-DEFINING_FILE_FOR(SystemSignals)

Modified: llvm/trunk/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp Mon May  5 20:32:53 2008
@@ -28,8 +28,6 @@
 static RegisterPass<UnifyFunctionExitNodes>
 X("mergereturn", "Unify function exit nodes");
 
-int UnifyFunctionExitNodes::stub;
-
 Pass *llvm::createUnifyFunctionExitNodesPass() {
   return new UnifyFunctionExitNodes();
 }

Modified: llvm/trunk/lib/VMCore/IntrinsicInst.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/IntrinsicInst.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/IntrinsicInst.cpp (original)
+++ llvm/trunk/lib/VMCore/IntrinsicInst.cpp Mon May  5 20:32:53 2008
@@ -74,7 +74,3 @@
   ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
   return CS->getOperand(4)->getStringValue();
 }
-
-//===----------------------------------------------------------------------===//
-/// Ensure that users of IntrinsicInst.h will link with this module.
-DEFINING_FILE_FOR(IntrinsicInst)

Modified: llvm/trunk/lib/VMCore/Mangler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Mangler.cpp?rev=50695&r1=50694&r2=50695&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/Mangler.cpp (original)
+++ llvm/trunk/lib/VMCore/Mangler.cpp Mon May  5 20:32:53 2008
@@ -211,6 +211,3 @@
   for (Module::global_iterator I = M.global_begin(), E = M.global_end(); I != E; ++I)
     InsertName(I, Names);
 }
-
-// Cause this file to be linked in when Support/Mangler.h is #included
-DEFINING_FILE_FOR(Mangler)





More information about the llvm-commits mailing list