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

Method PopThenEntry

cpp/src/gandiva/expr_decomposer.cc:289–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287}
288
289void 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
300void ExprDecomposer::PushElseEntry(const IfNode& node, int local_bitmap_idx) {
301 std::unique_ptr<IfStackEntry> entry(new IfStackEntry(

Callers 1

TEST_FFunction · 0.80

Calls 2

emptyMethod · 0.45
getMethod · 0.45

Tested by 1

TEST_FFunction · 0.64