diff --git a/artiq/compiler/builtins.py b/artiq/compiler/builtins.py index 4a8280631..c34ccf126 100644 --- a/artiq/compiler/builtins.py +++ b/artiq/compiler/builtins.py @@ -150,9 +150,6 @@ def fn_print(): def fn_kernel(): return types.TBuiltinFunction("kernel") -def fn_syscall(): - return types.TBuiltinFunction("syscall") - # Accessors def is_none(typ): diff --git a/artiq/compiler/prelude.py b/artiq/compiler/prelude.py index 3c58674c6..579a474cf 100644 --- a/artiq/compiler/prelude.py +++ b/artiq/compiler/prelude.py @@ -20,5 +20,4 @@ def globals(): "round": builtins.fn_round(), "print": builtins.fn_print(), "kernel": builtins.fn_kernel(), - "syscall": builtins.fn_syscall(), } diff --git a/artiq/compiler/transforms/inferencer.py b/artiq/compiler/transforms/inferencer.py index 47145b9a9..a8ea47902 100644 --- a/artiq/compiler/transforms/inferencer.py +++ b/artiq/compiler/transforms/inferencer.py @@ -666,10 +666,6 @@ class Inferencer(algorithm.Visitor): pass else: diagnose(valid_forms()) - # TODO: add when it is clear what interface syscall() has - # elif types.is_builtin(typ, "syscall"): - # valid_Forms = lambda: [ - # ] def visit_CallT(self, node): self.generic_visit(node)