| 322 | } |
| 323 | |
| 324 | void ExprDecomposer::PopConditionEntry(const IfNode& node) { |
| 325 | DCHECK_EQ(if_entries_stack_.empty(), false) << "PopConditionEntry: found empty stack"; |
| 326 | |
| 327 | auto top = if_entries_stack_.top().get(); |
| 328 | DCHECK_EQ(top->entry_type_, kStackEntryCondition) |
| 329 | << "PopConditionEntry: found " << top->entry_type_ << " expected condition"; |
| 330 | DCHECK_EQ(&top->if_node_, &node) << "PopConditionEntry: found mismatched node"; |
| 331 | if_entries_stack_.pop(); |
| 332 | } |
| 333 | |
| 334 | } // namespace gandiva |