1f4707ae0c
Static (direct) calls in the optimized JIT are performed through Code objects without passing Function objects. This is not compatible with bytecode interpreter calling conventions, so optimized JIT should avoid static calls to bytecode functions. This change disables devirtualized and guarded static calls to functions declared in bytecode. TEST=ci Closes https://github.com/dart-lang/sdk/issues/60716 Change-Id: I95e4fa0706f376355f4fa7aea7fddf44f303e0a0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/428340 Reviewed-by: Slava Egorov <vegorov@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>