diff options
| author | Jannis Christopher Köhl <mail@koehl.dev> | 2022-11-12 14:07:54 +0100 |
|---|---|---|
| committer | Jannis Christopher Köhl <mail@koehl.dev> | 2022-11-12 14:07:54 +0100 |
| commit | b3f648958d4f556bcceedd8c1d9b0dedb83c7bf9 (patch) | |
| tree | 82387489098e801637f99f6569c95c4069393e9b | |
| parent | 3c6d1a723d2d6466d8ee34d4f442a60fdc8cfa1b (diff) | |
| download | rust-b3f648958d4f556bcceedd8c1d9b0dedb83c7bf9.tar.gz rust-b3f648958d4f556bcceedd8c1d9b0dedb83c7bf9.zip | |
Add comment for guessed constants
| -rw-r--r-- | compiler/rustc_mir_transform/src/dataflow_const_prop.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_transform/src/dataflow_const_prop.rs b/compiler/rustc_mir_transform/src/dataflow_const_prop.rs index 2ed8a6f161f..28167988d2c 100644 --- a/compiler/rustc_mir_transform/src/dataflow_const_prop.rs +++ b/compiler/rustc_mir_transform/src/dataflow_const_prop.rs @@ -13,6 +13,7 @@ use rustc_span::DUMMY_SP; use crate::MirPass; +// These constants are somewhat random guesses and have not been optimized. const BLOCK_LIMIT: usize = 100; const PLACE_LIMIT: usize = 100; |
