mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
interpret: use trace to reduce noice
This commit is contained in:
parent
62a287528a
commit
7002a3f37f
@ -441,7 +441,7 @@ where
|
||||
|
||||
/// Take an operand, representing a pointer, and dereference it to a place.
|
||||
/// Corresponds to the `*` operator in Rust.
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
#[instrument(skip(self), level = "trace")]
|
||||
pub fn deref_pointer(
|
||||
&self,
|
||||
src: &impl Readable<'tcx, M::Provenance>,
|
||||
@ -533,7 +533,7 @@ where
|
||||
|
||||
/// Computes a place. You should only use this if you intend to write into this
|
||||
/// place; for reading, a more efficient alternative is `eval_place_to_op`.
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
#[instrument(skip(self), level = "trace")]
|
||||
pub fn eval_place(
|
||||
&self,
|
||||
mir_place: mir::Place<'tcx>,
|
||||
@ -570,7 +570,7 @@ where
|
||||
|
||||
/// Write an immediate to a place
|
||||
#[inline(always)]
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
#[instrument(skip(self), level = "trace")]
|
||||
pub fn write_immediate(
|
||||
&mut self,
|
||||
src: Immediate<M::Provenance>,
|
||||
@ -808,7 +808,7 @@ where
|
||||
/// Copies the data from an operand to a place.
|
||||
/// `allow_transmute` indicates whether the layouts may disagree.
|
||||
#[inline(always)]
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
#[instrument(skip(self), level = "trace")]
|
||||
fn copy_op_inner(
|
||||
&mut self,
|
||||
src: &impl Readable<'tcx, M::Provenance>,
|
||||
@ -837,7 +837,7 @@ where
|
||||
/// `allow_transmute` indicates whether the layouts may disagree.
|
||||
/// Also, if you use this you are responsible for validating that things get copied at the
|
||||
/// right type.
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
#[instrument(skip(self), level = "trace")]
|
||||
fn copy_op_no_validate(
|
||||
&mut self,
|
||||
src: &impl Readable<'tcx, M::Provenance>,
|
||||
@ -914,7 +914,7 @@ where
|
||||
/// If the place currently refers to a local that doesn't yet have a matching allocation,
|
||||
/// create such an allocation.
|
||||
/// This is essentially `force_to_memplace`.
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
#[instrument(skip(self), level = "trace")]
|
||||
pub fn force_allocation(
|
||||
&mut self,
|
||||
place: &PlaceTy<'tcx, M::Provenance>,
|
||||
|
Loading…
Reference in New Issue
Block a user