Skip to content

Commit 242d6db

Browse files
Remove debug prints.
Signed-off-by: Tomas Fabrizio Orsi <[email protected]>
1 parent 877da4a commit 242d6db

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

hir/src/pass.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,6 @@ impl PassInstrumentation for Print {
160160
op: &OperationRef,
161161
changed: IRAfterPass,
162162
) {
163-
std::println!(
164-
"
165-
------------------------------------DESPUES:\
166-
{}-------------------------------------------------------
167-
",
168-
pass.name()
169-
);
170-
// std::println!("RESULTADO DE CHANGED: {}", changed);
171-
#[allow(clippy::needless_bool)]
172163
// Always print, unless "only_when_modified" has been set and there have not been changes.
173164
let print_when_changed = if self.only_when_modified && changed == IRAfterPass::Unchanged {
174165
false
@@ -182,12 +173,6 @@ impl PassInstrumentation for Print {
182173
}
183174

184175
fn run_before_pass(&mut self, pass: &dyn OperationPass, op: &OperationRef) {
185-
std::println!(
186-
"
187-
------------------------------------ANTES:{}-------------------------------------------------------
188-
",
189-
pass.name()
190-
);
191176
if self.should_print(pass) {
192177
let op = op.borrow();
193178
self.print_ir(op);

0 commit comments

Comments
 (0)