diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-05 16:07:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-05 16:07:23 -0700 |
| commit | fed20132a6a7bbedb87c7bde6abfa0e58d8743d4 (patch) | |
| tree | 06ab74a1e68b3d91cf38e6ccc6d7d46c981f5f52 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | e2ae88d4a60ea226500f52e89e02732c55213a3a (diff) | |
| parent | 394b8cdfb7734a6dcb10b392c5b83e1b3d9521d3 (diff) | |
| download | rust-fed20132a6a7bbedb87c7bde6abfa0e58d8743d4.tar.gz rust-fed20132a6a7bbedb87c7bde6abfa0e58d8743d4.zip | |
Rollup merge of #73834 - oli-obk:safe_intrinsics, r=ecstatic-morse
Some refactoring around intrinsic type checking So... This PR went a bit overboard. I wanted to make the `rustc_peek` intrinsic safe (cc @ecstatic-morse ), and remembered a long-standing itch of mine. So I made that huge `&str` match for the intrinsic name a match on `Symbol`s (so basically `u32`s). This is unlikely to have a positive perf effect, even if it likely has better codegen (intrinsics are used rarely, mostly once in their wrapper), so it's mostly a consistency thing since other places actually match on the symbol name of the intrinsics.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
