forked from kscience/kmath
Remove hardcoded reference to SymbolIndexer in asm
This commit is contained in:
parent
b9f413b5ce
commit
b4b8f30b2a
@ -372,12 +372,12 @@ internal sealed class PrimitiveAsmBuilder<T : Number, out E : Expression<T>>(
|
|||||||
/**
|
/**
|
||||||
* ASM type for [java.lang.Number].
|
* ASM type for [java.lang.Number].
|
||||||
*/
|
*/
|
||||||
val NUMBER_TYPE: Type = getObjectType("java/lang/Number")
|
val NUMBER_TYPE: Type = getType(Number::class.java)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ASM type for [SymbolIndexer].
|
* ASM type for [SymbolIndexer].
|
||||||
*/
|
*/
|
||||||
val SYMBOL_INDEXER_TYPE: Type = getObjectType("space/kscience/kmath/expressions/SymbolIndexer")
|
val SYMBOL_INDEXER_TYPE: Type = getType(SymbolIndexer::class.java)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,8 +14,6 @@ import kotlin.contracts.InvocationKind
|
|||||||
import kotlin.contracts.contract
|
import kotlin.contracts.contract
|
||||||
import kotlin.jvm.JvmInline
|
import kotlin.jvm.JvmInline
|
||||||
|
|
||||||
//DO NOT MOVE THIS CLASS if you do not want ASM module to break
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An environment to easy transform indexed variables to symbols and back.
|
* An environment to easy transform indexed variables to symbols and back.
|
||||||
* TODO requires multi-receivers to be beautiful
|
* TODO requires multi-receivers to be beautiful
|
||||||
|
Loading…
Reference in New Issue
Block a user