Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inference: continue const-prop' when concrete-eval returns non-inline…
…able This commit fixes the regression in the following example: ```julia julia> stritr() = iterate(("1", '2'), 1); julia> @time stritr(); 0.000001 seconds (2 allocations: 64 bytes) # on master 0.000000 seconds # on 1.9 ``` The problem is that currently we don't inline result of concrete-eval when its result is not inlineable, although const-prop' or semi-concrete eval may be able to optimize and inline the method body. To improve the situation, this commit simply allows `abstract_call_method_with_const_args` to continue to semi-concrete eval and const-prop' when concrete-eval returned non-inlineable result.
- Loading branch information