summaryrefslogtreecommitdiff
path: root/src/codegen/struct_layout.rs
diff options
context:
space:
mode:
authorNick Fitzgerald <fitzgen@gmail.com>2017-08-14 11:52:05 -0700
committerNick Fitzgerald <fitzgen@gmail.com>2017-08-14 11:52:05 -0700
commit949ab272101a0c10da3d6d85458597318eb8d15b (patch)
treef2a9aee1170ed6067fdd450a95bb9310a0ebbcad /src/codegen/struct_layout.rs
parent5ca05690c17e318d52f8d2e82aeef5d0feff35b3 (diff)
Only run analyses when we are going to use their results
Currently, there are various analyses related to deriving various traits that we unconditionally run. However, if we aren't going to derive those traits in codegen, then computing whether or not we can derive the traits is wasteful.
Diffstat (limited to 'src/codegen/struct_layout.rs')
0 files changed, 0 insertions, 0 deletions