WASM: NFC. Rename WasmPrimitive into WasmAutoboxed and add few comments.

This commit is contained in:
Igor Laevsky
2021-07-16 19:50:48 +03:00
committed by TeamCityServer
parent 59ad7e0e04
commit 9ccdffe8ad
7 changed files with 17 additions and 13 deletions
@@ -32,9 +32,11 @@ internal annotation class WasmArrayOf(
@Retention(AnnotationRetention.BINARY)
internal annotation class WasmReinterpret
// This tells backend to insert box/unbox intrinsics around the annotated class. It's used to represent built-in types without making them
// explicitly "inline" (or "value" in the newest terminology).
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.BINARY)
internal annotation class WasmPrimitive
internal annotation class WasmAutoboxed
/**
* Replace calls to this functions with specified Wasm instruction.