commit | 9595dae5f78cd1762d8f0076887821be65f7e5a6 | [log] [tgz] |
---|---|---|
author | David Chisnall <csdavec@swan.ac.uk> | Wed Apr 04 13:07:13 2012 +0000 |
committer | David Chisnall <csdavec@swan.ac.uk> | Wed Apr 04 13:07:13 2012 +0000 |
tree | 78ca2715d210dc8031d563dc943b694d8e09da1a | |
parent | 92f74097dfb09871f477284b1c75162e2f0315bf [diff] |
Don't crash (assert failure) when generating blocks for C++ types with a non-const copy constructor. This was caused by the code deciding the number of fields in the byref structure using a different test to the part of the code creating the GEPs into said structure. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154013 91177308-0d34-0410-b5e6-96231b3b80d8