We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ad0a9c commit a35a84aCopy full SHA for a35a84a
compiler/rustc_mir_transform/src/jump_threading.rs
@@ -49,7 +49,7 @@ use rustc_middle::ty::{self, ScalarInt, TyCtxt};
49
use rustc_mir_dataflow::lattice::HasBottom;
50
use rustc_mir_dataflow::value_analysis::{Map, PlaceIndex, State, TrackElem};
51
use rustc_span::DUMMY_SP;
52
-use tracing::{debug, instrument, trace};
+use tracing::{debug, instrument};
53
54
use crate::cost_checker::CostChecker;
55
@@ -69,12 +69,6 @@ impl<'tcx> crate::MirPass<'tcx> for JumpThreading {
69
let def_id = body.source.def_id();
70
debug!(?def_id);
71
72
- // Optimizing coroutines creates query cycles.
73
- if tcx.is_coroutine(def_id) {
74
- trace!("Skipped for coroutine {:?}", def_id);
75
- return;
76
- }
77
-
78
let typing_env = body.typing_env(tcx);
79
let arena = &DroplessArena::default();
80
let mut finder = TOFinder {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments