Skip to content

Commit

Permalink
Remove duplicate FrameInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
fschutt committed Oct 24, 2022
1 parent 0abbf0d commit 9786231
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lib/compiler/src/engine/trap/frame_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -258,16 +258,6 @@ pub struct FrameInfo {
instr: SourceLoc,
}

#[cfg(test)]
#[derive(Debug, Clone)]
pub struct FrameInfo {
pub module_name: String,
pub func_index: u32,
pub function_name: Option<String>,
pub func_start: SourceLoc,
pub instr: SourceLoc,
}

impl FrameInfo {
/// Creates a new [FrameInfo], useful for testing.
pub fn new(
Expand Down

0 comments on commit 9786231

Please sign in to comment.