[llvm-commits] CVS: llvm/lib/VMCore/IntrinsicInst.cpp Pass.cpp
Reid Spencer
reid at x10sys.com
Wed Jun 7 13:00:34 PDT 2006
Changes in directory llvm/lib/VMCore:
IntrinsicInst.cpp updated: 1.4 -> 1.5
Pass.cpp updated: 1.68 -> 1.69
---
Log message:
For PR780: http://llvm.cs.uiuc.edu/PR780 :
Break the "IncludeFile" mechanism into its own header file and adjust other
files accordingly. Use this facility for the IntrinsicInst problem which
was the subject of PR800: http://llvm.cs.uiuc.edu/PR800 .
More to follow on this.
---
Diffs of the changes: (+4 -3)
IntrinsicInst.cpp | 4 ++++
Pass.cpp | 3 ---
2 files changed, 4 insertions(+), 3 deletions(-)
Index: llvm/lib/VMCore/IntrinsicInst.cpp
diff -u llvm/lib/VMCore/IntrinsicInst.cpp:1.4 llvm/lib/VMCore/IntrinsicInst.cpp:1.5
--- llvm/lib/VMCore/IntrinsicInst.cpp:1.4 Sun Mar 26 16:46:27 2006
+++ llvm/lib/VMCore/IntrinsicInst.cpp Wed Jun 7 15:00:19 2006
@@ -71,3 +71,7 @@
}
//===----------------------------------------------------------------------===//
+/// LinkIntrinsicInstStub -- This is a hack to make sure that programs that
+/// #include IntrinsicInst.h also link this file. See Support/IncludeFile.h
+/// for further details.
+char llvm::LinkIntrinsicInstStub;
Index: llvm/lib/VMCore/Pass.cpp
diff -u llvm/lib/VMCore/Pass.cpp:1.68 llvm/lib/VMCore/Pass.cpp:1.69
--- llvm/lib/VMCore/Pass.cpp:1.68 Sun Jan 22 19:01:04 2006
+++ llvm/lib/VMCore/Pass.cpp Wed Jun 7 15:00:19 2006
@@ -23,9 +23,6 @@
#include <set>
using namespace llvm;
-// IncludeFile - Stub function used to help linking out.
-IncludeFile::IncludeFile(void*) {}
-
//===----------------------------------------------------------------------===//
// AnalysisID Class Implementation
//
More information about the llvm-commits
mailing list