1 use super::{InlineAsmArch, InlineAsmType};
2 use rustc_macros::HashStable_Generic;
5 Wasm WasmInlineAsmRegClass {
10 impl WasmInlineAsmRegClass {
11 pub fn valid_modifiers(self, _arch: super::InlineAsmArch) -> &'static [char] {
15 pub fn suggest_class(self, _arch: InlineAsmArch, _ty: InlineAsmType) -> Option<Self> {
19 pub fn suggest_modifier(
23 ) -> Option<(char, &'static str)> {
27 pub fn default_modifier(self, _arch: InlineAsmArch) -> Option<(char, &'static str)> {
31 pub fn supported_types(
34 ) -> &'static [(InlineAsmType, Option<&'static str>)] {
37 types! { _: I8, I16, I32, I64, F32, F64; }
44 // WebAssembly doesn't have registers.
45 Wasm WasmInlineAsmReg WasmInlineAsmRegClass {}