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
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-19 15:32:06 +0100
commitc4e0e96cdc5e7c9ae32bcb55e2907ba8d0fa0407 (patch)
tree8bb2d7cd3e1bc7158f0b6b1063246533e099bff4 /gcc/rust/backend/rust-compile-expr.cc
parentd7e88ed1c8d7eaadf6fc8b8f1e554d4fe6312e37 (diff)
downloadgcc-c4e0e96cdc5e7c9ae32bcb55e2907ba8d0fa0407.zip
gcc-c4e0e96cdc5e7c9ae32bcb55e2907ba8d0fa0407.tar.gz
gcc-c4e0e96cdc5e7c9ae32bcb55e2907ba8d0fa0407.tar.bz2
gccrs: 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 064be6e..b59ed41 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);