Skip to content

Commit 4d0ac0d

Browse files
posbornebongjunj
authored andcommitted
Remove DeleteMeDebugAssertion trap (bytecodealliance#10952)
This trap was used during wasmfxtime development and was missed in the cleanup of bytecodealliance#10388.
1 parent 6441634 commit 4d0ac0d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

crates/environ/src/trap_encoding.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,6 @@ pub enum Trap {
9999
/// Attempt to resume a continuation twice.
100100
ContinuationAlreadyConsumed,
101101

102-
/// FIXME(frank-emrich) Only used for stack switching debugging code, to be
103-
/// removed from final upstreamed code.
104-
DeleteMeDebugAssertion,
105-
106102
/// A Pulley opcode was executed at runtime when the opcode was disabled at
107103
/// compile time.
108104
DisabledOpcode,
@@ -145,7 +141,6 @@ impl Trap {
145141
NoAsyncResult
146142
UnhandledTag
147143
ContinuationAlreadyConsumed
148-
DeleteMeDebugAssertion
149144
DisabledOpcode
150145
}
151146

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

0 commit comments

Comments
 (0)