Skip to content

Commit 4ca51e5

Browse files
committed
fix assertion
1 parent 89b0ce0 commit 4ca51e5

File tree

1 file changed

+1
-2
lines changed
  • crates/cranelift/src/func_environ/gc/enabled

1 file changed

+1
-2
lines changed

crates/cranelift/src/func_environ/gc/enabled/drc.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,7 @@ impl DrcCompiler {
261261
new_val: ir::Value,
262262
flags: ir::MemFlags,
263263
) -> WasmResult<()> {
264-
let (ref_ty, needs_stack_map) = func_env.reference_type(ty.heap_type);
265-
debug_assert!(needs_stack_map);
264+
let (ref_ty, _) = func_env.reference_type(ty.heap_type);
266265

267266
// Special case for references to uninhabited bottom types: see
268267
// `translate_write_gc_reference` for details.

0 commit comments

Comments
 (0)