[K/JS] Use intrinsics instead of new functions in IR backend.
This commit is contained in:
@@ -117,6 +117,10 @@ internal fun jsBitShiftL(a: Any?, b: Any?): Int
|
||||
@JsIntrinsic
|
||||
internal fun jsInstanceOfIntrinsic(a: Any?, b: Any?): Boolean
|
||||
|
||||
// @JsIntrinsic
|
||||
// To prevent people to insert @OptIn every time
|
||||
public external fun jsTypeOf(a: Any?): String
|
||||
|
||||
@JsIntrinsic
|
||||
internal fun jsNewTarget(a: Any?): Any?
|
||||
|
||||
@@ -216,4 +220,4 @@ internal fun <reified T : Any> jsClassIntrinsic(): JsClass<T>
|
||||
internal fun jsInIntrinsic(lhs: Any?, rhs: Any): Boolean
|
||||
|
||||
@JsIntrinsic
|
||||
internal fun jsDelete(e: Any?)
|
||||
internal fun jsDelete(e: Any?)
|
||||
Reference in New Issue
Block a user