Skip to content

Commit edd7ce9

Browse files
authored
Removes possibly unused builtin_call (#11264)
1 parent 3ad69a0 commit edd7ce9

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

mypyc/irbuild/ll_builder.py

+1-10
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
use_method_vectorcall
4444
)
4545
from mypyc.primitives.registry import (
46-
method_call_ops, CFunctionDescription, function_ops,
46+
method_call_ops, CFunctionDescription,
4747
binary_ops, unary_ops, ERR_NEG_INT
4848
)
4949
from mypyc.primitives.bytes_ops import bytes_compare
@@ -1186,15 +1186,6 @@ def new_list_op(self, values: List[Value], line: int) -> Value:
11861186
def new_set_op(self, values: List[Value], line: int) -> Value:
11871187
return self.call_c(new_set_op, values, line)
11881188

1189-
def builtin_call(self,
1190-
args: List[Value],
1191-
fn_op: str,
1192-
line: int) -> Value:
1193-
call_c_ops_candidates = function_ops.get(fn_op, [])
1194-
target = self.matching_call_c(call_c_ops_candidates, args, line)
1195-
assert target, 'Unsupported builtin function: %s' % fn_op
1196-
return target
1197-
11981189
def shortcircuit_helper(self, op: str,
11991190
expr_type: RType,
12001191
left: Callable[[], Value],

0 commit comments

Comments
 (0)