Skip to content

Commit

Permalink
Fix vec_pop_push_noop codegen test on wasm32-wasip1 target
Browse files Browse the repository at this point in the history
  • Loading branch information
EFanZh committed Dec 15, 2024
1 parent b5ea631 commit 7d450bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/codegen/vec_pop_push_noop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub fn noop(v: &mut Vec<u8>) {
// llvm-pre-19-same: void @llvm.assume
// llvm-pre-19-NOT: grow_one
// CHECK-NOT: call
// CHECK: ret
// CHECK: {{ret|[}]}}
if let Some(x) = v.pop() {
v.push(x)
}
Expand Down

0 comments on commit 7d450bb

Please sign in to comment.