diff options
| author | Cai Bear <git@caibear.com> | 2024-03-29 15:37:43 -0700 |
|---|---|---|
| committer | Cai Bear <git@caibear.com> | 2024-03-29 15:37:43 -0700 |
| commit | 4500c83c62e9fe90b9807006bcd809af1ec940b3 (patch) | |
| tree | 599f4ae2d1371b2983b98bf062eea0cfd61ab1ed | |
| parent | aba592d09c78fcf1432de24c200fffa2fb21aeb6 (diff) | |
| download | rust-4500c83c62e9fe90b9807006bcd809af1ec940b3.tar.gz rust-4500c83c62e9fe90b9807006bcd809af1ec940b3.zip | |
Fix test.
| -rw-r--r-- | tests/codegen/vec_pop_push_noop.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/codegen/vec_pop_push_noop.rs b/tests/codegen/vec_pop_push_noop.rs index 83765d10854..4d76c24a9d9 100644 --- a/tests/codegen/vec_pop_push_noop.rs +++ b/tests/codegen/vec_pop_push_noop.rs @@ -5,10 +5,10 @@ #[no_mangle] // CHECK-LABEL: @noop( pub fn noop(v: &mut Vec<u8>) { - // CHECK-NOT: reserve_for_push + // CHECK-NOT: grow_one // CHECK-NOT: call // CHECK: tail call void @llvm.assume - // CHECK-NOT: reserve_for_push + // CHECK-NOT: grow_one // CHECK-NOT: call // CHECK: ret if let Some(x) = v.pop() { @@ -19,6 +19,6 @@ pub fn noop(v: &mut Vec<u8>) { #[no_mangle] // CHECK-LABEL: @push_byte( pub fn push_byte(v: &mut Vec<u8>) { - // CHECK: call {{.*}}reserve_for_push + // CHECK: call {{.*}}grow_one v.push(3); } |
