diff --git a/vyper/venom/passes/function_inliner.py b/vyper/venom/passes/function_inliner.py index 996f86cae2..3b2b3efbfe 100644 --- a/vyper/venom/passes/function_inliner.py +++ b/vyper/venom/passes/function_inliner.py @@ -51,7 +51,9 @@ def _handle_invoke(self, invoke_inst, invoke_idx): bbs = list(target_function.get_basic_blocks()) - # TODO: the number of times a function is called globally is also important + # TODO: the number of times a function is called globally is also + # important + # TODO: check the threshold after the function is optimized if sum(len(bb.instructions) for bb in bbs) > self._threshold: return False