Since we are using a gep_type_iterator, we apparently must get the type
authorBrian Gaeke <gaeke@uiuc.edu>
Fri, 12 Dec 2003 05:13:05 +0000 (05:13 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Fri, 12 Dec 2003 05:13:05 +0000 (05:13 +0000)
commit2798cd077a4a754064755ca82ad14434daea59fe
treee992b47c22c15e219e5e2e5391a47652d80aaeea
parent246372f35d6e7025e7ff16ce8d7543e961800a0e
Since we are using a gep_type_iterator, we apparently must get the type
index by using I.getOperand() here. This was failing an assertion on
basically every struct access.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10426 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/Interpreter/Execution.cpp