Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions mypyc/irbuild/ll_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
use_method_vectorcall
)
from mypyc.primitives.registry import (
method_call_ops, CFunctionDescription, function_ops,
method_call_ops, CFunctionDescription,
binary_ops, unary_ops, ERR_NEG_INT
)
from mypyc.primitives.bytes_ops import bytes_compare
Expand Down Expand Up @@ -1186,15 +1186,6 @@ def new_list_op(self, values: List[Value], line: int) -> Value:
def new_set_op(self, values: List[Value], line: int) -> Value:
return self.call_c(new_set_op, values, line)

def builtin_call(self,
args: List[Value],
fn_op: str,
line: int) -> Value:
call_c_ops_candidates = function_ops.get(fn_op, [])
target = self.matching_call_c(call_c_ops_candidates, args, line)
assert target, 'Unsupported builtin function: %s' % fn_op
return target

def shortcircuit_helper(self, op: str,
expr_type: RType,
left: Callable[[], Value],
Expand Down