Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions crates/environ/src/trap_encoding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ pub enum Trap {
/// Attempt to resume a continuation twice.
ContinuationAlreadyConsumed,

/// FIXME(frank-emrich) Only used for stack switching debugging code, to be
/// removed from final upstreamed code.
DeleteMeDebugAssertion,

/// A Pulley opcode was executed at runtime when the opcode was disabled at
/// compile time.
DisabledOpcode,
Expand Down Expand Up @@ -145,7 +141,6 @@ impl Trap {
NoAsyncResult
UnhandledTag
ContinuationAlreadyConsumed
DeleteMeDebugAssertion
DisabledOpcode
}

Expand Down Expand Up @@ -180,7 +175,6 @@ impl fmt::Display for Trap {
NoAsyncResult => "async-lifted export failed to produce a result",
UnhandledTag => "unhandled tag",
ContinuationAlreadyConsumed => "continuation already consumed",
DeleteMeDebugAssertion => "triggered debug assertion",
DisabledOpcode => "pulley opcode disabled at compile time was executed",
};
write!(f, "wasm trap: {desc}")
Expand Down