Must not be inlined during codegen since calls to this function from ProcessProbeBatch are removed by codegen if there are no conjuncts. The actual function calls are in the ProcessProbeRow* functions which are inlined into ProcessProbeBatch, thus the codegen of ProcessProbeBatch will be able to eliminate the calls to this function.
| 39 | // ProcessProbeBatch, thus the codegen of ProcessProbeBatch will be able to eliminate the |
| 40 | // calls to this function. |
| 41 | inline void IR_NO_INLINE PartitionedHashJoinNode::ClearExprResultsPool( |
| 42 | const int num_conjuncts, const int num_other_join_conjuncts) { |
| 43 | DCHECK(expr_results_pool_.get() != nullptr); |
| 44 | DCHECK(expr_results_mem_limit_ > 0); |
| 45 | if (num_conjuncts + num_other_join_conjuncts > 0 && |
| 46 | UNLIKELY(expr_results_pool_->total_allocated_bytes() > expr_results_mem_limit_)) { |
| 47 | expr_results_pool_->Clear(); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | } |
| 52 |
nothing calls this directly
no test coverage detected