Skip to content

Commit 92db516

Browse files
committed
cleanup
1 parent 01ad907 commit 92db516

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

crates/wasmtime/src/runtime/trap.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ pub(crate) fn from_runtime_box(
8383
} = *runtime_trap;
8484
let (mut error, pc) = match reason {
8585
crate::runtime::vm::TrapReason::User(error) if error.is::<ExceptionTombstone>() => {
86-
println!("from_runtime_box: ExceptionTombstone");
8786
let mut nogc = AutoAssertNoGc::new(store);
8887
let exnref = nogc.take_pending_exception();
8988
let exnref = ExnRef::_from_raw(&mut nogc, exnref.as_gc_ref().as_raw_u32())

crates/wasmtime/src/runtime/vm/traphandlers.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,6 @@ impl CallThreadState {
795795
UnwindReason::Trap(TrapReason::User(err))
796796
if err.downcast_ref::<ExceptionTombstone>().is_some() =>
797797
{
798-
println!("record_unwind: ExceptionTombstone");
799798
self.unwind.set(UnwindState::ThrowException);
800799
}
801800
// And if we are just propagating an existing trap that already has
@@ -836,9 +835,7 @@ impl CallThreadState {
836835
use wasmtime_unwinder::ThrowAction;
837836

838837
let mut unwind = self.unwind.replace(UnwindState::None);
839-
println!("unwind!");
840838
if let UnwindState::ThrowException = &unwind {
841-
println!("throw exception");
842839
// Take the pending exception from the store and resolve its throw action.
843840
let exnref = nogc.take_pending_exception();
844841
let action = unsafe { compute_throw(nogc, &exnref) };
@@ -855,7 +852,6 @@ impl CallThreadState {
855852
);
856853
},
857854
ThrowAction::None => {
858-
println!("no handler");
859855
// Throw all the way to entry from host, and put the exnref back on the store.
860856
nogc.set_pending_exception(exnref);
861857
unwind = UnwindState::UnwindToHost {

0 commit comments

Comments
 (0)