diff options
author | badumbatish <tanghocle456@gmail.com> | 2024-07-29 21:59:13 -0700 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-09-02 09:44:55 +0000 |
commit | c00fd2aeaaedbf90c0f7d828a19ffb8a89e93657 (patch) | |
tree | 81c3f7136cecd3e9e56344d44aae8652e79e78e0 /gcc/rust/backend/rust-compile-asm.h | |
parent | 596bf6946d85bf9b41d1b5479e661111750927a3 (diff) | |
download | gcc-c00fd2aeaaedbf90c0f7d828a19ffb8a89e93657.zip gcc-c00fd2aeaaedbf90c0f7d828a19ffb8a89e93657.tar.gz gcc-c00fd2aeaaedbf90c0f7d828a19ffb8a89e93657.tar.bz2 |
Lower the HIR to tree with CompileExpr
gcc/rust/ChangeLog:
* backend/rust-compile-asm.cc (CompileAsm::asm_construct_outputs):
Lower the HIR to tree with CompileExpr
* backend/rust-compile-asm.h: Remove static from method
Diffstat (limited to 'gcc/rust/backend/rust-compile-asm.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-asm.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/rust/backend/rust-compile-asm.h b/gcc/rust/backend/rust-compile-asm.h index 05bb99a..9779a4a 100644 --- a/gcc/rust/backend/rust-compile-asm.h +++ b/gcc/rust/backend/rust-compile-asm.h @@ -46,15 +46,15 @@ public: // build_asm_expr (location_t loc, tree string, tree outputs, tree inputs, // tree clobbers, tree labels, bool simple, bool is_inline) static const int ASM_TREE_ARRAY_LENGTH = 5; - static tree asm_build_expr (HIR::InlineAsm &); - static tree asm_build_stmt (location_t, - const std::array<tree, ASM_TREE_ARRAY_LENGTH> &); - - static tree asm_construct_string_tree (HIR::InlineAsm &); - static tree asm_construct_outputs (HIR::InlineAsm &); - static tree asm_construct_inputs (HIR::InlineAsm &); - static tree asm_construct_clobber_tree (HIR::InlineAsm &); - static tree asm_construct_label_tree (HIR::InlineAsm &); + tree asm_build_expr (HIR::InlineAsm &); + tree asm_build_stmt (location_t, + const std::array<tree, ASM_TREE_ARRAY_LENGTH> &); + + tree asm_construct_string_tree (HIR::InlineAsm &); + tree asm_construct_outputs (HIR::InlineAsm &); + tree asm_construct_inputs (HIR::InlineAsm &); + tree asm_construct_clobber_tree (HIR::InlineAsm &); + tree asm_construct_label_tree (HIR::InlineAsm &); CompileAsm (Context *ctx); |