diff options
author | jjasmine <tanghocle456@gmail.com> | 2024-06-23 19:47:17 -0700 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-03-19 15:32:05 +0100 |
commit | 0a03b4862107763bbce731d4f94373f4fd30a38c (patch) | |
tree | 14f5b2998afaab595add33a2efe9eb650382a222 /gcc/rust/backend | |
parent | 12703f67ffd72b3842e99cf2b5558aafa2444727 (diff) | |
download | gcc-0a03b4862107763bbce731d4f94373f4fd30a38c.zip gcc-0a03b4862107763bbce731d4f94373f4fd30a38c.tar.gz gcc-0a03b4862107763bbce731d4f94373f4fd30a38c.tar.bz2 |
gccrs: Setting up interfaces for codegen
gcc/rust/ChangeLog:
* backend/rust-compile-expr.cc (CompileExpr::visit):
Setting up interfaces for codegen
* hir/tree/rust-hir-expr.h: Likewise.
Diffstat (limited to 'gcc/rust/backend')
-rw-r--r-- | gcc/rust/backend/rust-compile-expr.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/rust/backend/rust-compile-expr.cc b/gcc/rust/backend/rust-compile-expr.cc index 7c7bc225..2792e8b 100644 --- a/gcc/rust/backend/rust-compile-expr.cc +++ b/gcc/rust/backend/rust-compile-expr.cc @@ -321,8 +321,10 @@ CompileExpr::visit (HIR::IfExpr &expr) void CompileExpr::visit (HIR::InlineAsm &expr) { - tree test_string = build_string(expr.template_strs[0].symbol.size() + 1, expr.template_strs[0].symbol.c_str()); - debug(test_string); + // 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()); } void |