Skip to content

Commit 3f80529

Browse files
committed
make InitMask lazy for fully init/uninit cases
Avoid materializing bits in the InitMask bitset when a single value would be enough: when the mask represents a fully initialized or fully uninitialized const allocation.
1 parent 7a06007 commit 3f80529

File tree

1 file changed

+225
-58
lines changed
  • compiler/rustc_middle/src/mir/interpret/allocation

1 file changed

+225
-58
lines changed

0 commit comments

Comments
 (0)