rust/compiler/rustc_const_eval/src/interpret
Dylan DPC 1dc672a766
Rollup merge of #95426 - b-naber:valtrees-slice, r=RalfJung,oli-obk
Include Refs in Valtree Creation

This adds references to `const_to_valtree`, which isn't used in the compiler yet, but after the previous changes we made to the thir and mir representations and this change we should be able to finally introduce them in the next PR.

I wasn't able to properly test this code, except indirectly by including a call of `const_to_valtree` in the code that currently creates constants (`turn_into_const_value`).

r? `@lcnr`

cc `@oli-obk` `@RalfJung`
2022-04-16 19:42:03 +02:00
..
intrinsics Improve AdtDef interning. 2022-03-11 13:31:24 +11:00
cast.rs interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internal 2022-04-07 16:24:48 -04:00
eval_context.rs interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internal 2022-04-07 16:24:48 -04:00
intern.rs interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internal 2022-04-07 16:24:48 -04:00
intrinsics.rs Auto merge of #94527 - oli-obk:undef_scalars, r=nagisa,erikdesjardin 2022-04-05 16:46:13 +00:00
machine.rs interp: pass TyCtxt to Machine methods that do not take InterpCx 2022-04-05 13:31:51 -04:00
memory.rs Add new Deinit statement kind 2022-04-11 08:55:03 -04:00
mod.rs Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00
operand.rs use len on mplace instead of reading immediate, remove dead code 2022-04-12 16:08:59 +02:00
operator.rs explain why shift with signed offset works the way it does 2022-03-06 11:29:24 -05:00
place.rs Rollup merge of #95426 - b-naber:valtrees-slice, r=RalfJung,oli-obk 2022-04-16 19:42:03 +02:00
step.rs Remove some now-dead code that was only relevant before deaggregation. 2022-04-14 13:31:21 +00:00
terminator.rs interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internal 2022-04-07 16:24:48 -04:00
traits.rs interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internal 2022-04-07 16:24:48 -04:00
util.rs Overhaul Const. 2022-02-15 16:19:59 +11:00
validity.rs interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internal 2022-04-07 16:24:48 -04:00
visitor.rs Rename rustc_mir to rustc_const_eval. 2021-09-07 20:46:26 +02:00