aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.cc
diff options
context:
space:
mode:
authorbadumbatish <tanghocle456@gmail.com>2024-07-05 10:03:56 -0700
committerCohenArthur <arthur.cohen@embecosm.com>2024-09-02 09:44:55 +0000
commit20cd09b19e0a12aad0d09d2395507bda40888f84 (patch)
treed96d4ff0dccb26d0ada359724728f22dc6ebc5eb /gcc/rust/backend/rust-compile-expr.cc
parent177ce2688f3da0f4f60a331cf10f12c90c4e3e92 (diff)
downloadgcc-20cd09b19e0a12aad0d09d2395507bda40888f84.zip
gcc-20cd09b19e0a12aad0d09d2395507bda40888f84.tar.gz
gcc-20cd09b19e0a12aad0d09d2395507bda40888f84.tar.bz2
Scaffolding code
gcc/rust/ChangeLog: * backend/rust-compile-asm.cc (CompileAsm::add_stmt): Scaffolding code. (CompileAsm::asm_build_asm_stmt): Likewise. (CompileAsm::asm_build_expr): Likewise. (CompileAsm::asm_construct_string_tree): Likewise. * backend/rust-compile-asm.h: Likewise. * backend/rust-compile-expr.cc (CompileExpr::visit): Likewise.
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.cc')
-rw-r--r--gcc/rust/backend/rust-compile-expr.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/backend/rust-compile-expr.cc b/gcc/rust/backend/rust-compile-expr.cc
index 1e5e72c..b84cb4b 100644
--- a/gcc/rust/backend/rust-compile-expr.cc
+++ b/gcc/rust/backend/rust-compile-expr.cc
@@ -321,6 +321,7 @@ CompileExpr::visit (HIR::IfExpr &expr)
void
CompileExpr::visit (HIR::InlineAsm &expr)
{
+ translated = CompileAsm::asm_build_expr (expr);
// translated = build_asm_expr (0, NULL_TREE, NULL_TREE, NULL_TREE, NULL_TREE,
// NULL_TREE, true, true);
// CompileAsm::asm_build_expr (expr);