Fix some null checks to actually test the part that needs checking.
[oota-llvm.git] / include / llvm / Analysis / ValueNumbering.h
index 2fc949766e7a9fbedd23d636ca466bec77417249..f708f48382b9c113db8e1d9b36fbdde4be3b0962 100644 (file)
@@ -65,10 +65,9 @@ struct ValueNumbering {
   }
 };
 
-extern int BasicValueNumberingStub;
-static IncludeFile
-HDR_INCLUDE_VALUENUMBERING_CPP(&BasicValueNumberingStub);
-
 } // End llvm namespace
 
+// Force any file including this header to get the implementation as well
+FORCE_DEFINING_FILE_TO_BE_LINKED(BasicValueNumbering)
+
 #endif