mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-18 14:35:14 +01:00
expr.rs: FunctionCall: call translate_expr() from translate_condition_expr()
This commit is contained in:
@@ -272,7 +272,7 @@ pub fn translate_condition_expr(
|
||||
}
|
||||
}
|
||||
}
|
||||
ast::Expr::Literal(_) | ast::Expr::Cast { .. } => {
|
||||
ast::Expr::Literal(_) | ast::Expr::Cast { .. } | ast::Expr::FunctionCall { .. } => {
|
||||
let reg = program.alloc_register();
|
||||
translate_expr(program, Some(referenced_tables), expr, reg, resolver)?;
|
||||
emit_cond_jump(program, condition_metadata, reg);
|
||||
|
||||
Reference in New Issue
Block a user