Skip to content

Commit 1a5727f

Browse files
committed
add missing docs
1 parent e3b023e commit 1a5727f

File tree

1 file changed

+1
-0
lines changed
  • crates/wasmi/src/engine/translator/func2

1 file changed

+1
-0
lines changed

crates/wasmi/src/engine/translator/func2/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,7 @@ impl FuncTranslator {
872872
}
873873
}
874874

875+
/// Translates a generic trap instruction.
875876
fn translate_trap(&mut self, trap: TrapCode) -> Result<(), Error> {
876877
self.push_instr(Instruction::trap(trap), FuelCostsProvider::base)?;
877878
self.reachable = false;

0 commit comments

Comments
 (0)