about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDavid Hewitt <1939362+davidhewitt@users.noreply.github.com>2019-11-11 14:32:36 +0000
committerDavid Hewitt <1939362+davidhewitt@users.noreply.github.com>2019-11-27 12:01:04 +0000
commit539813944d69ae20e5c576ccd05578f861ee895b (patch)
tree257e8900dfdbdff52dcd2e81abd9f4bfb18abbce /src/test/debuginfo/enum-thinlto.rs
parentb5f265eeed23ac87ec6b4a7e6bc7cb4ea3e67c31 (diff)
downloadrust-539813944d69ae20e5c576ccd05578f861ee895b.tar.gz
rust-539813944d69ae20e5c576ccd05578f861ee895b.zip
Add memoization for const function evaluations
When a const function is being evaluated, as long as all its
arguments are zero-sized-types (or it has no arguments) then we
can trivially memoize the evaluation result using the existing
query mechanism.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions