about summary refs log tree commit diff
path: root/src/librustdoc/html/static/source-script.js
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2018-12-23 23:09:12 +0100
committerGitHub <noreply@github.com>2018-12-23 23:09:12 +0100
commit4ebc7b7e63f77a24c776f1dc3c43a25051b3d36f (patch)
tree5db306879e515aa3d5ab1e58138a513a43c0d520 /src/librustdoc/html/static/source-script.js
parent93bc72f19f3aae7d48c5a88e7b6d60d244a2dd67 (diff)
parent097d39d8ecb2d8aa828393c66e85716081188793 (diff)
downloadrust-4ebc7b7e63f77a24c776f1dc3c43a25051b3d36f.tar.gz
rust-4ebc7b7e63f77a24c776f1dc3c43a25051b3d36f.zip
Rollup merge of #57053 - nikic:fix-gep-align, r=nagisa
Fix alignment for array indexing

We need to reduce the alignment with the used offset. If the offset isn't known, use the element size, as this will yield the minimum possible alignment.

This handles both direct array indexing, and array repeat expressions.

Fixes #56927.

r? @nagisa
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions