Deprecate KotlinJvmOptions.useIR

Starting from language version 1.5, JVM IR is enabled by default, so
this option has no effect. To rollback to the old JVM backend, the new
option useOldBackend can be used.

 #KT-45504 Fixed
This commit is contained in:
Alexander Udalov
2021-03-18 12:17:46 +01:00
parent a10ebcea51
commit 415d52fe54
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ where advanced options include:
Suppress deprecation warning about deprecated JVM target versions
-Xsuppress-missing-builtins-error
Suppress the "cannot access built-in declaration" error (useful with -no-stdlib)
-Xuse-ir Use the IR backend
-Xuse-ir Use the IR backend. This option has no effect unless the language version less than 1.5 is used
-Xuse-javac Use javac for Java source and class files analysis
-Xuse-old-backend Use the old JVM backend
-Xuse-old-class-files-reading Use old class files reading implementation. This may slow down the build and cause problems with Groovy interop.