compile: distinguish compile_expr_call and compile_stmt_call