diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-01-10 15:32:45 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-01-17 18:06:27 +0100 |
| commit | 991cbd15034798e86de6823800b13c87fb3e904c (patch) | |
| tree | cb22ef0a82dd1e9fa93bf9579ff1f49ddd4312b3 /compiler/rustc_span/src | |
| parent | a34c0797528172ede89480e3033f7a5e71ea4735 (diff) | |
| download | rust-991cbd15034798e86de6823800b13c87fb3e904c.tar.gz rust-991cbd15034798e86de6823800b13c87fb3e904c.zip | |
Use Symbol for target features in asm handling
This saves a couple of Symbol::intern calls
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 8020893e166..6f9ce8ab1c0 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -316,6 +316,7 @@ symbols! { allow_internal_unsafe, allow_internal_unstable, allowed, + alu32, always, and, and_then, @@ -361,7 +362,10 @@ symbols! { augmented_assignments, auto_traits, automatically_derived, + avx, avx512_target_feature, + avx512bw, + avx512f, await_macro, bang, begin_panic, @@ -592,6 +596,7 @@ symbols! { dylib, dyn_metadata, dyn_trait, + e, edition_macro_pats, edition_panic, eh_catch_typeinfo, @@ -682,6 +687,7 @@ symbols! { format_args_macro, format_args_nl, format_macro, + fp, freeze, freg, frem_fast, @@ -907,6 +913,7 @@ symbols! { neg, negate_unsigned, negative_impls, + neon, never, never_type, never_type_fallback, @@ -1101,6 +1108,7 @@ symbols! { repr_packed, repr_simd, repr_transparent, + reserved_r9: "reserved-r9", residual, result, rhs, @@ -1294,6 +1302,7 @@ symbols! { sqrtf64, sreg, sreg_low16, + sse, sse4a_target_feature, stable, staged_api, @@ -1360,6 +1369,8 @@ symbols! { thread, thread_local, thread_local_macro, + thumb2, + thumb_mode: "thumb-mode", todo_macro, tool_attributes, tool_lints, @@ -1453,6 +1464,7 @@ symbols! { vec, vec_macro, version, + vfp2, vis, visible_private_types, volatile, |
