From 43f10c9e8f764ce26d9c77807b3c02cb43dcc11e Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Mon, 3 Oct 2016 09:58:00 +0300 Subject: [PATCH] g/c: removed unwanted patches --- backend.native/backend.native.patch | 34 -------------------- backend.native/fix_core_imports.patch | 25 -------------- backend.native/frontend.patch | 12 ------- backend.native/update_dependencies.xml.patch | 13 -------- 4 files changed, 84 deletions(-) delete mode 100644 backend.native/backend.native.patch delete mode 100644 backend.native/fix_core_imports.patch delete mode 100644 backend.native/frontend.patch delete mode 100644 backend.native/update_dependencies.xml.patch diff --git a/backend.native/backend.native.patch b/backend.native/backend.native.patch deleted file mode 100644 index e807e9881aa..00000000000 --- a/backend.native/backend.native.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --git a/compiler/backend/backend.iml b/compiler/backend/backend.iml -index 35bbf20..cfbb3dc 100644 ---- a/compiler/backend/backend.iml -+++ b/compiler/backend/backend.iml -@@ -15,5 +15,6 @@ - - - -+ - - -\ No newline at end of file -diff --git a/compiler/backend/src/org/jetbrains/kotlin/codegen/state/GenerationState.kt b/compiler/backend/src/org/jetbrains/kotlin/codegen/state/GenerationState.kt -index 39077d2..f0cbb87 100644 ---- a/compiler/backend/src/org/jetbrains/kotlin/codegen/state/GenerationState.kt -+++ b/compiler/backend/src/org/jetbrains/kotlin/codegen/state/GenerationState.kt -@@ -20,6 +20,7 @@ import com.intellij.openapi.project.Project - import com.intellij.openapi.util.ModificationTracker - import com.intellij.psi.PsiElement - import org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory -+import org.jetbrains.kotlin.backend.native.NativeIrCodegenFactory - import org.jetbrains.kotlin.builtins.ReflectionTypes - import org.jetbrains.kotlin.codegen.* - import org.jetbrains.kotlin.codegen.`when`.MappingsClassesForWhenByEnum -@@ -69,7 +70,8 @@ class GenerationState @JvmOverloads constructor( - // TODO: get rid of it with the proper module infrastructure - val outDirectory: File? = null, - private val onIndependentPartCompilationEnd: GenerationStateEventCallback = GenerationStateEventCallback.DO_NOTHING, -- val codegenFactory: CodegenFactory = if (configuration.getBoolean(JVMConfigurationKeys.IR)) JvmIrCodegenFactory else DefaultCodegenFactory -+ //val codegenFactory: CodegenFactory = if (configuration.getBoolean(JVMConfigurationKeys.IR)) NativeIrCodegenFactory else DefaultCodegenFactory -+ val codegenFactory: CodegenFactory = NativeIrCodegenFactory - ) { - abstract class GenerateClassFilter { - abstract fun shouldAnnotateClass(processingClassOrObject: KtClassOrObject): Boolean diff --git a/backend.native/fix_core_imports.patch b/backend.native/fix_core_imports.patch deleted file mode 100644 index 771b8cf1950..00000000000 --- a/backend.native/fix_core_imports.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/core/builtins/src/kotlin/Progressions.kt b/core/builtins/src/kotlin/Progressions.kt -index 704d49f..509baaa 100644 ---- a/core/builtins/src/kotlin/Progressions.kt -+++ b/core/builtins/src/kotlin/Progressions.kt -@@ -18,6 +18,7 @@ - - package kotlin.ranges - -+import java.lang.IllegalArgumentException - import kotlin.internal.getProgressionLastElement - - /** -diff --git a/core/builtins/src/kotlin/internal/progressionUtil.kt b/core/builtins/src/kotlin/internal/progressionUtil.kt -index 026c99f..f7a222e 100644 ---- a/core/builtins/src/kotlin/internal/progressionUtil.kt -+++ b/core/builtins/src/kotlin/internal/progressionUtil.kt -@@ -16,6 +16,8 @@ - - package kotlin.internal - -+import java.lang.IllegalArgumentException -+ - // a mod b (in arithmetical sense) - private fun mod(a: Int, b: Int): Int { - val mod = a % b diff --git a/backend.native/frontend.patch b/backend.native/frontend.patch deleted file mode 100644 index 67ecb985ce4..00000000000 --- a/backend.native/frontend.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/compiler/frontend/frontend.iml b/compiler/frontend/frontend.iml -index 15545cc..00b8bed 100644 ---- a/compiler/frontend/frontend.iml -+++ b/compiler/frontend/frontend.iml -@@ -15,5 +15,6 @@ - - - -+ - - -\ No newline at end of file diff --git a/backend.native/update_dependencies.xml.patch b/backend.native/update_dependencies.xml.patch deleted file mode 100644 index edc9ee99bff..00000000000 --- a/backend.native/update_dependencies.xml.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/update_dependencies.xml b/update_dependencies.xml -index cbfcb42..b5c029f 100644 ---- a/update_dependencies.xml -+++ b/update_dependencies.xml -@@ -74,7 +74,7 @@ - - - - -