about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-04 03:01:37 -0700
committerGitHub <noreply@github.com>2016-08-04 03:01:37 -0700
commite804a3cf256106c097d44f6e0212cd183122da07 (patch)
treeee0c23f123fdce8f175e348b79c92e5184bf1f7c /src/libstd/sys/unix/stack_overflow.rs
parent271d048523b6c1b0e773d9e5cc76bbb997cc180c (diff)
parent06acf16cdb23dad19b9cf816a55df24d4084823c (diff)
downloadrust-e804a3cf256106c097d44f6e0212cd183122da07.tar.gz
rust-e804a3cf256106c097d44f6e0212cd183122da07.zip
Auto merge of #35168 - scottcarr:deaggregation, r=nikomatsakis
[MIR] Deaggregate structs to enable further optimizations

Currently, we generate MIR like:

```
tmp0 = ...;
tmp1 = ...;
tmp3 = Foo { a: ..., b: ... };
```

This PR implements "deaggregation," i.e.:

```
tmp3.0 = ...
tmp3.1 = ...
```

Currently, the code only deaggregates structs, not enums.  My understanding is that we do not have MIR to set the discriminant of an enum.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions