diff options
author | badumbatish <tanghocle456@gmail.com> | 2024-06-30 16:48:30 -0700 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2024-09-02 09:44:55 +0000 |
commit | 177ce2688f3da0f4f60a331cf10f12c90c4e3e92 (patch) | |
tree | 58b59365e0d4358bdbc9ecd46e0c5a060c49bec4 /gcc/rust/backend/rust-compile-expr.cc | |
parent | f9374ddf4782d5131dd4f3e3226baa5c989e99e7 (diff) | |
download | gcc-177ce2688f3da0f4f60a331cf10f12c90c4e3e92.zip gcc-177ce2688f3da0f4f60a331cf10f12c90c4e3e92.tar.gz gcc-177ce2688f3da0f4f60a331cf10f12c90c4e3e92.tar.bz2 |
Scaffolding new compile-asm files
gcc/rust/ChangeLog:
* Make-lang.in:
Scaffolding new compile-asm files
* backend/rust-compile-expr.cc (CompileExpr::visit): Likewise
* hir/tree/rust-hir-expr.h: Likewise
* backend/rust-compile-asm.cc: New file. Likewise
* backend/rust-compile-asm.h: New file. Likewise
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.cc')
-rw-r--r-- | gcc/rust/backend/rust-compile-expr.cc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/rust/backend/rust-compile-expr.cc b/gcc/rust/backend/rust-compile-expr.cc index 48493e0..1e5e72c 100644 --- a/gcc/rust/backend/rust-compile-expr.cc +++ b/gcc/rust/backend/rust-compile-expr.cc @@ -25,7 +25,7 @@ #include "rust-constexpr.h" #include "rust-compile-type.h" #include "rust-gcc.h" - +#include "rust-compile-asm.h" #include "fold-const.h" #include "realmpfr.h" #include "convert.h" @@ -321,10 +321,9 @@ CompileExpr::visit (HIR::IfExpr &expr) void CompileExpr::visit (HIR::InlineAsm &expr) { - // translated = build_asm_expr()(expr.get_locus(), - // expr.construct_string_tree(), expr.construct_outputs(), - // expr.construct_inputs(), expr.construct_clobber_tree(), - // expr.construct_label_tree(), expr.is_simple(), expr.is_inline_asm()); + // translated = build_asm_expr (0, NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE, + // NULL_TREE, true, true); + // CompileAsm::asm_build_expr (expr); } void |