[native] Drop deprecated Kotlin/Native targets (3/8)

This commit inlines some helper-APIs that became redundant after
dropping deprecated targets.

Full list:
- 'threadsAreAllowed' is always 'true' now
- 'indirectBranchesAreAllowed' is always 'true' now
- 'supportsThreads' is always 'true' now
- 'isMips' is always 'false' now
- 'tlsMode' is always 'LLVMGeneralDynamicTLSModel' now
- 'getBoxRange' is always equal to 'cache.defaultRange' now
-  `targetHasAddressDependency` is always true now, so memory order
   is always LLVMAtomicOrderingMonotonic now

^KT-64517
This commit is contained in:
Dmitry Savvinov
2024-01-16 14:53:50 +01:00
committed by Space Team
parent 85bcc8443d
commit 29e90d70c6
13 changed files with 72 additions and 139 deletions
@@ -489,7 +489,7 @@ standaloneTest("stack_trace_inline") {
}
standaloneTest("kt-49240-stack-trace-completeness") {
disabled = !PlatformInfo.supportsExceptions(project) || project.globalTestArgs.contains('-opt')
disabled = project.globalTestArgs.contains('-opt')
source = "runtime/exceptions/kt-49240-stack-trace-completeness.kt"
}