From 0a03b4862107763bbce731d4f94373f4fd30a38c Mon Sep 17 00:00:00 2001 From: jjasmine Date: Sun, 23 Jun 2024 19:47:17 -0700 Subject: 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. --- gcc/rust/backend/rust-compile-expr.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gcc/rust/backend/rust-compile-expr.cc') 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 -- cgit v1.1