JvmMangler

This commit is contained in:
Georgy Bronnikov
2019-11-11 08:08:55 +03:00
parent 2f5442800b
commit 92ebb092a2
3 changed files with 39 additions and 0 deletions
@@ -0,0 +1,20 @@
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
compile(project(":compiler:ir.tree"))
compile(project(":compiler:ir.serialization.common"))
compile(project(":compiler:ir.psi2ir"))
compile(project(":core:descriptors.jvm"))
compile(project(":core:metadata.jvm"))
compile(project(":compiler:frontend.java"))
}
sourceSets {
"main" {
projectDefault()
}
"test" {}
}
@@ -0,0 +1,17 @@
/*
* Copyright 2010-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.backend.jvm.serialization
import org.jetbrains.kotlin.backend.common.serialization.KotlinManglerImpl
import org.jetbrains.kotlin.ir.types.IrType
import org.jetbrains.kotlin.ir.util.isInlined
// Copied from JsMangler for now
object JvmMangler : KotlinManglerImpl() {
override val IrType.isInlined: Boolean
get() = this.isInlined()
}