diff options
| author | Daniel Paoliello <danpao@microsoft.com> | 2025-05-15 16:38:46 -0700 |
|---|---|---|
| committer | Daniel Paoliello <danpao@microsoft.com> | 2025-06-16 10:54:07 -0700 |
| commit | 6906b44e1c667705ce04626901a75d51f4910de3 (patch) | |
| tree | 87983dca4b601e0d6d234988486f3c6ceb4c4859 /tests/codegen/alloc-optimisation.rs | |
| parent | d9ca9bd014074e2bac567eaa2b66bfacb2591028 (diff) | |
| download | rust-6906b44e1c667705ce04626901a75d51f4910de3.tar.gz rust-6906b44e1c667705ce04626901a75d51f4910de3.zip | |
Change __rust_no_alloc_shim_is_unstable to be a function
Diffstat (limited to 'tests/codegen/alloc-optimisation.rs')
| -rw-r--r-- | tests/codegen/alloc-optimisation.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/codegen/alloc-optimisation.rs b/tests/codegen/alloc-optimisation.rs index 19f14647c1d..3735860d510 100644 --- a/tests/codegen/alloc-optimisation.rs +++ b/tests/codegen/alloc-optimisation.rs @@ -5,7 +5,8 @@ pub fn alloc_test(data: u32) { // CHECK-LABEL: @alloc_test // CHECK-NEXT: start: - // CHECK-NEXT: {{.*}} load volatile i8, ptr @{{.*}}__rust_no_alloc_shim_is_unstable, align 1 + // CHECK-NEXT: ; call __rustc::__rust_no_alloc_shim_is_unstable_v2 + // CHECK-NEXT: tail call void @_R{{.+}}__rust_no_alloc_shim_is_unstable_v2() // CHECK-NEXT: ret void let x = Box::new(data); drop(x); |
