# this loop is traced and then aborted, because the trace is too
- # long. But then "rec" is marked as "don't inline"
- # next time we try to trace "rec", instead of inlining we compile
- # it separately and generate a call_assembler
+ # long. But then "rec" is marked as "don't inline". Since we
+ # already traced function from the start (because of number),
+ # now we can inline it as call assembler
j += rec(100) # ID: call_rec
log = self.run(fn, , threshold=18)
+ return fib(n - 1) + fib(n - 2) # ID: call_rec
+ log = self.run(fib, , function_threshold=15)
+ loop, = log.loops_by_filename(self.filepath, is_entry_bridge='*')
+ #assert loop.match_by_id('call_rec', '''
+ #p1 = call_assembler(..., descr=...)