MCPcopy Create free account
hub / github.com/apache/arrow / PopConditionEntry

Method PopConditionEntry

cpp/src/gandiva/expr_decomposer.cc:324–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void 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

Callers 1

TEST_FFunction · 0.80

Calls 2

emptyMethod · 0.45
getMethod · 0.45

Tested by 1

TEST_FFunction · 0.64