Fix a crash in SROA. The FunctionPass::doInitialization method was never
authorBob Wilson <bob.wilson@apple.com>
Fri, 17 Jul 2009 19:05:13 +0000 (19:05 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 17 Jul 2009 19:05:13 +0000 (19:05 +0000)
commitd8aa9fc06274604eae2b5156045a71857a8f18c4
treef400f2b4710e91bf54f46b1955fb4c6683893119
parentb4cfd15d9901883cfb46ac3826e0a27573089372
Fix a crash in SROA.  The FunctionPass::doInitialization method was never
being called so that Context was never initialized.  I'm not sure if this
is the right fix but at least it keeps opt from crashing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76220 91177308-0d34-0410-b5e6-96231b3b80d8
tools/opt/opt.cpp