diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-02-18 14:31:59 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-02-18 14:31:59 -0800 |
| commit | 386d329ac5506f1e82c1e1095b12c30c3f990cc9 (patch) | |
| tree | 02419e508348e92e1581b23fd44ee50053492eda /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 754db0f7ac35edcddeb3e6a27969a7c3a380f936 (diff) | |
| parent | 0fe880bdb788032100b9cd1633770b56393784f6 (diff) | |
| download | rust-386d329ac5506f1e82c1e1095b12c30c3f990cc9.tar.gz rust-386d329ac5506f1e82c1e1095b12c30c3f990cc9.zip | |
rollup merge of #22437: dotdash/fix_array_type
In trans_slice_vec we currently use arrayalloca, which gives us a pointer to the element type with enough memory allocated for the requested number of elements. This works, but everywhere else we use the [n x T] type for fixed size arrays and so we have to bitcast the pointer here. Let's directly use the proper type for the allocation and remove some code duplication along the way.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
