| 287 | } |
| 288 | |
| 289 | void ExprDecomposer::PopThenEntry(const IfNode& node) { |
| 290 | DCHECK_EQ(if_entries_stack_.empty(), false) << "PopThenEntry: found empty stack"; |
| 291 | |
| 292 | auto top = if_entries_stack_.top().get(); |
| 293 | DCHECK_EQ(top->entry_type_, kStackEntryThen) |
| 294 | << "PopThenEntry: found " << top->entry_type_ << " expected then"; |
| 295 | DCHECK_EQ(&top->if_node_, &node) << "PopThenEntry: found mismatched node"; |
| 296 | |
| 297 | if_entries_stack_.pop(); |
| 298 | } |
| 299 | |
| 300 | void ExprDecomposer::PushElseEntry(const IfNode& node, int local_bitmap_idx) { |
| 301 | std::unique_ptr<IfStackEntry> entry(new IfStackEntry( |