diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-04-10 16:15:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-10 16:15:23 +0200 |
| commit | 2b4c581ef91c5bfe8fdcdf95a1e64b715416fcf3 (patch) | |
| tree | c7ef0421c6e0f47d1836bb61768366783b897b8d /compiler/rustc_codegen_gcc | |
| parent | 38af5f9ee8fe422fa8305c052e43c13dff844539 (diff) | |
| parent | 1cbe92716f0f0f9f15ff890773fad5ffcf534311 (diff) | |
| download | rust-2b4c581ef91c5bfe8fdcdf95a1e64b715416fcf3.tar.gz rust-2b4c581ef91c5bfe8fdcdf95a1e64b715416fcf3.zip | |
Rollup merge of #123659 - celinval:smir-fix-intrinsic, r=oli-obk
Add support to intrinsics fallback body Before this fix, the call to `body()` would crash, since `has_body()` would return true, but we would try to retrieve the body of an intrinsic which is not allowed. Instead, the `Instance::body()` function will now convert an Intrinsic into an Item before retrieving its body. Note: I also changed how we monomorphize the instance body. Unfortunately, the call still ICE for some shims. r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
