Use InstrSlots::NUM rather than pre-dividing by four. Also, mark this const.
[oota-llvm.git] / include / llvm / System / DynamicLibrary.h
index 5da0ea2f4845e47eded88cd5bb31e5fdf45d9434..409a9d279c2dacbbed532d83a974513ce7e02670 100644 (file)
@@ -15,7 +15,6 @@
 #define LLVM_SYSTEM_DYNAMIC_LIBRARY_H
 
 #include "llvm/System/Path.h"
-#include "llvm/System/IncludeFile.h"
 #include <string>
 
 namespace llvm {
@@ -30,8 +29,6 @@ namespace sys {
   /// It also allows for symbols to be defined which don't live in any library,
   /// but rather the main program itself, useful on Windows where the main
   /// executable cannot be searched.
-  /// @since 1.4
-  /// @brief Portable dynamic library abstraction.
   class DynamicLibrary {
     /// @name Constructors
     /// @{
@@ -89,6 +86,7 @@ namespace sys {
     /// @name Implementation
     /// @{
     protected:
+      void* handle;  // Opaque handle for information about the library
       DynamicLibrary(const DynamicLibrary&); ///< Do not implement
       DynamicLibrary& operator=(const DynamicLibrary&); ///< Do not implement
     /// @}
@@ -97,6 +95,4 @@ namespace sys {
 } // End sys namespace
 } // End llvm namespace
 
-FORCE_DEFINING_FILE_TO_BE_LINKED(SystemDynamicLibrary)
-
 #endif // LLVM_SYSTEM_DYNAMIC_LIBRARY_H