From ffa3d7c57a0ff54af6ed7406daaed26b9caa6dfa Mon Sep 17 00:00:00 2001 From: Georgy Bronnikov Date: Thu, 29 Nov 2018 12:48:34 +0300 Subject: [PATCH] Update test data --- .../src/org/jetbrains/kotlin/backend/jvm/JvmLower.kt | 2 +- compiler/testData/cli/js/jsExtraHelp.out | 7 +++++++ compiler/testData/cli/jvm/extraHelp.out | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/JvmLower.kt b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/JvmLower.kt index 3e97dd3f418..6757cd641aa 100644 --- a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/JvmLower.kt +++ b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/JvmLower.kt @@ -91,7 +91,7 @@ class JvmLower(val context: JvmBackendContext) { var state = irFile // TODO run lowering passes as callbacks in bottom-up visitor - context.rootPhaseManager(irFile).apply { + context.rootPhaseManager(irFile).apply { for (jvmPhase in jvmPhases) { state = phase(jvmPhase, context, state) } diff --git a/compiler/testData/cli/js/jsExtraHelp.out b/compiler/testData/cli/js/jsExtraHelp.out index 138cbf6d4be..4cd4974548f 100644 --- a/compiler/testData/cli/js/jsExtraHelp.out +++ b/compiler/testData/cli/js/jsExtraHelp.out @@ -9,23 +9,30 @@ where advanced options include: Should be a subset of sources passed as free arguments -Xcoroutines={enable|warn|error} Enable coroutines or report warnings or errors on declarations and use sites of 'suspend' modifier + -Xdisable-phases Disable backend phases -Xdump-perf= Dump detailed performance statistics to the specified file -Xeffect-system Enable experimental language feature: effect system -Xexperimental= Enable and propagate usages of experimental API for marker annotation with the given fully qualified name -Xintellij-plugin-root= Path to the kotlin-compiler.jar or directory where IntelliJ configuration files can be found -Xlegacy-smart-cast-after-try Allow var smart casts despite assignment in try block + -Xlist-phases List backend phases -Xmetadata-version Change metadata version of the generated binary files -Xmulti-platform Enable experimental language support for multi-platform projects -Xnew-inference Enable new experimental generic type inference algorithm -Xno-check-actual Do not check presence of 'actual' modifier in multi-platform projects -Xno-inline Disable method inlining + -Xphases-to-dump Dump backend state both before and after these phases + -Xphases-to-dump-after Dump backend state after these phases + -Xphases-to-dump-before Dump backend state before these phases -Xplugin= Load plugins from the given classpath + -Xprofile-phases Profile backend phases -Xproper-ieee754-comparisons Generate proper IEEE 754 comparisons in all cases if values are statically known to be of primitive numeric types -Xread-deserialized-contracts Enable reading of contracts from metadata -Xreport-output-files Report source to output files mapping -Xreport-perf Report detailed performance statistics -Xskip-metadata-version-check Load classes with bad metadata version anyway (incl. pre-release classes) -Xuse-experimental= Enable, but don't propagate usages of experimental API for marker annotation with the given fully qualified name + -Xverbose-phases Be verbose while performing these backend phases Advanced options are non-standard and may be changed or removed without any notice. OK diff --git a/compiler/testData/cli/jvm/extraHelp.out b/compiler/testData/cli/jvm/extraHelp.out index 6c5ee97354e..d5a6fe41095 100644 --- a/compiler/testData/cli/jvm/extraHelp.out +++ b/compiler/testData/cli/jvm/extraHelp.out @@ -70,23 +70,30 @@ where advanced options include: Should be a subset of sources passed as free arguments -Xcoroutines={enable|warn|error} Enable coroutines or report warnings or errors on declarations and use sites of 'suspend' modifier + -Xdisable-phases Disable backend phases -Xdump-perf= Dump detailed performance statistics to the specified file -Xeffect-system Enable experimental language feature: effect system -Xexperimental= Enable and propagate usages of experimental API for marker annotation with the given fully qualified name -Xintellij-plugin-root= Path to the kotlin-compiler.jar or directory where IntelliJ configuration files can be found -Xlegacy-smart-cast-after-try Allow var smart casts despite assignment in try block + -Xlist-phases List backend phases -Xmetadata-version Change metadata version of the generated binary files -Xmulti-platform Enable experimental language support for multi-platform projects -Xnew-inference Enable new experimental generic type inference algorithm -Xno-check-actual Do not check presence of 'actual' modifier in multi-platform projects -Xno-inline Disable method inlining + -Xphases-to-dump Dump backend state both before and after these phases + -Xphases-to-dump-after Dump backend state after these phases + -Xphases-to-dump-before Dump backend state before these phases -Xplugin= Load plugins from the given classpath + -Xprofile-phases Profile backend phases -Xproper-ieee754-comparisons Generate proper IEEE 754 comparisons in all cases if values are statically known to be of primitive numeric types -Xread-deserialized-contracts Enable reading of contracts from metadata -Xreport-output-files Report source to output files mapping -Xreport-perf Report detailed performance statistics -Xskip-metadata-version-check Load classes with bad metadata version anyway (incl. pre-release classes) -Xuse-experimental= Enable, but don't propagate usages of experimental API for marker annotation with the given fully qualified name + -Xverbose-phases Be verbose while performing these backend phases Advanced options are non-standard and may be changed or removed without any notice. OK