diff options
Diffstat (limited to 'gcc/rust/backend/rust-compile-asm.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-asm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/rust/backend/rust-compile-asm.h b/gcc/rust/backend/rust-compile-asm.h index 58f0f51..fd25090 100644 --- a/gcc/rust/backend/rust-compile-asm.h +++ b/gcc/rust/backend/rust-compile-asm.h @@ -29,7 +29,12 @@ namespace Compile { class CompileAsm { public: + static const int ASM_TREE_ARRAY_LENGTH = 5; + static tree add_stmt (tree); + static tree asm_build_asm_stmt (HIR::InlineAsm &); static tree asm_build_expr (HIR::InlineAsm &); + static tree asm_build_stmt (location_t, enum tree_code, + const std::array<tree, ASM_TREE_ARRAY_LENGTH> &); static location_t asm_get_locus (HIR::InlineAsm &); static tree asm_construct_string_tree (HIR::InlineAsm &); static tree asm_construct_outputs (HIR::InlineAsm &); |