Skip to content

Commit

Permalink
Local testing for build_string and debug()
Browse files Browse the repository at this point in the history
gcc/rust/ChangeLog:

	* backend/rust-compile-expr.cc (CompileExpr::visit):
	Local testing for build_string and debug()
  • Loading branch information
badumbatish committed Jun 30, 2024
1 parent da0e16f commit f272809
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gcc/rust/backend/rust-compile-expr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,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);
}

void
CompileExpr::visit (HIR::IfExprConseqElse &expr)
Expand Down

0 comments on commit f272809

Please sign in to comment.