aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ModuleAnalyzer.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-14 06:08:51 +0000
committerChris Lattner <sabre@nondot.org>2001-07-14 06:08:51 +0000
commit644dc172f57559d3b4c75869e9f35b7781a9c0d8 (patch)
tree1756780f7a45303bc1acb97581d563f0436d9723 /lib/Analysis/ModuleAnalyzer.cpp
parentdc4c3f2f5fc6132885d590631b54de0be2c659be (diff)
* The parent of a constant pool is a SymTabValue, not a value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ModuleAnalyzer.cpp')
-rw-r--r--lib/Analysis/ModuleAnalyzer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ModuleAnalyzer.cpp b/lib/Analysis/ModuleAnalyzer.cpp
index 0f028d12dd..7f509855d9 100644
--- a/lib/Analysis/ModuleAnalyzer.cpp
+++ b/lib/Analysis/ModuleAnalyzer.cpp
@@ -99,7 +99,7 @@ bool ModuleAnalyzer::processConstPool(const ConstantPool &CP, bool isMethod) {
}
if (!isMethod) {
- const Module *M = CP.getParent()->castModuleAsserting();
+ const Module *M = CP.getParentV()->castModuleAsserting();
// Process the method types after the constant pool...
for (Module::const_iterator I = M->begin(); I != M->end(); ++I) {
if (handleType(TypeSet, (*I)->getType())) return true;