Skip to content

Commit 4500c83

Browse files
committed
Fix test.
1 parent aba592d commit 4500c83

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/codegen/vec_pop_push_noop.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
#[no_mangle]
66
// CHECK-LABEL: @noop(
77
pub fn noop(v: &mut Vec<u8>) {
8-
// CHECK-NOT: reserve_for_push
8+
// CHECK-NOT: grow_one
99
// CHECK-NOT: call
1010
// CHECK: tail call void @llvm.assume
11-
// CHECK-NOT: reserve_for_push
11+
// CHECK-NOT: grow_one
1212
// CHECK-NOT: call
1313
// CHECK: ret
1414
if let Some(x) = v.pop() {
@@ -19,6 +19,6 @@ pub fn noop(v: &mut Vec<u8>) {
1919
#[no_mangle]
2020
// CHECK-LABEL: @push_byte(
2121
pub fn push_byte(v: &mut Vec<u8>) {
22-
// CHECK: call {{.*}}reserve_for_push
22+
// CHECK: call {{.*}}grow_one
2323
v.push(3);
2424
}

0 commit comments

Comments
 (0)