Skip to content

Commit

Permalink
delete println in type_stack.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
doehyunbaek committed Jul 23, 2024
1 parent cceef12 commit 66013b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/wasabi/src/instrument/add_hooks/type_stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ impl TypeStack {

pub fn begin(&mut self, block_ty: FunctionType) {
for &input_ty in block_ty.inputs().iter().rev() {
println!("blockty: {}", block_ty);
assert_eq!(
input_ty,
self.pop_val(),
Expand All @@ -89,15 +88,14 @@ impl TypeStack {
self.push_val(input_ty)
}
}

pub fn begin_if(&mut self, block_ty: FunctionType) {
assert_eq!(
ValType::I32,
self.pop_val(),
"instruction expected input type, but stack top was"
);
for &input_ty in block_ty.inputs().iter().rev() {
println!("blockty: {}", block_ty);
assert_eq!(
input_ty,
self.pop_val(),
Expand Down

0 comments on commit 66013b6

Please sign in to comment.