We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aba592d commit 4500c83Copy full SHA for 4500c83
tests/codegen/vec_pop_push_noop.rs
@@ -5,10 +5,10 @@
5
#[no_mangle]
6
// CHECK-LABEL: @noop(
7
pub fn noop(v: &mut Vec<u8>) {
8
- // CHECK-NOT: reserve_for_push
+ // CHECK-NOT: grow_one
9
// CHECK-NOT: call
10
// CHECK: tail call void @llvm.assume
11
12
13
// CHECK: ret
14
if let Some(x) = v.pop() {
@@ -19,6 +19,6 @@ pub fn noop(v: &mut Vec<u8>) {
19
20
// CHECK-LABEL: @push_byte(
21
pub fn push_byte(v: &mut Vec<u8>) {
22
- // CHECK: call {{.*}}reserve_for_push
+ // CHECK: call {{.*}}grow_one
23
v.push(3);
24
}
0 commit comments