Skip to content

Commit f3c3641

Browse files
committed
cleanup and fix type assertion logic
1 parent 98318f4 commit f3c3641

File tree

7 files changed

+1
-478
lines changed

7 files changed

+1
-478
lines changed

src/core/expr/fbinary/bimaker.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ static std::unordered_map<size_t, bimaker_ptr> bimakers_library;
4545

4646
bimaker_ptr resolve_op(Op opcode, SType stype1, SType stype2) {
4747
switch (opcode) {
48-
//case Op::AND: return resolve_op_and(stype1, stype2);
49-
//case Op::OR: return resolve_op_or(stype1, stype2);
50-
//case Op::XOR: return resolve_op_xor(stype1, stype2);
51-
// case Op::LSHIFT: return resolve_op_lshift(stype1, stype2);
52-
// case Op::RSHIFT: return resolve_op_rshift(stype1, stype2);
53-
5448
case Op::ARCTAN2: return resolve_fn_atan2(stype1, stype2);
5549
case Op::HYPOT: return resolve_fn_hypot(stype1, stype2);
5650
case Op::POWERFN: return resolve_fn_pow(stype1, stype2);

src/core/expr/fbinary/bimaker.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,6 @@ using bimaker_ptr = std::unique_ptr<bimaker>;
7777
// Main resolver, calls individual-op resolvers below
7878
bimaker_ptr resolve_op(Op, SType, SType);
7979

80-
//bimaker_ptr resolve_op_and(SType, SType);
81-
//bimaker_ptr resolve_op_or(SType, SType);
82-
//bimaker_ptr resolve_op_xor(SType, SType);
83-
// bimaker_ptr resolve_op_lshift(SType, SType);
84-
// bimaker_ptr resolve_op_rshift(SType, SType);
85-
8680
bimaker_ptr resolve_fn_atan2(SType, SType);
8781
bimaker_ptr resolve_fn_hypot(SType, SType);
8882
bimaker_ptr resolve_fn_pow(SType, SType);

0 commit comments

Comments
 (0)