summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit5446f8a54202b56dc443b429c5d73f39b9ffa21f (patch)
treede230dccf27c1366015aa6df74e33260944d3c61 /llvm/lib/Analysis/ModuleAnalyzer.cpp
parent5a2d2b1f0a7a63ddcf1a7a928f1fc56c281a8634 (diff)
downloadbcm5719-llvm-5446f8a54202b56dc443b429c5d73f39b9ffa21f.tar.gz
bcm5719-llvm-5446f8a54202b56dc443b429c5d73f39b9ffa21f.zip
* The parent of a constant pool is a SymTabValue, not a value.
llvm-svn: 178
Diffstat (limited to 'llvm/lib/Analysis/ModuleAnalyzer.cpp')
-rw-r--r--llvm/lib/Analysis/ModuleAnalyzer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ModuleAnalyzer.cpp b/llvm/lib/Analysis/ModuleAnalyzer.cpp
index 0f028d12dde..7f509855d94 100644
--- a/llvm/lib/Analysis/ModuleAnalyzer.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud