Use Array constructor with size to create Array of nulls

Change the constructor visibility from public to private as it should be.
This commit is contained in:
Zalim Bashorov
2023-04-20 15:46:30 +02:00
committed by Space Team
parent a6520a294b
commit 77491ded1b
7 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
// TARGET_BACKEND: WASM
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 14_217
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 12_295
// WASM_DCE_EXPECTED_OUTPUT_SIZE: mjs 5_579
// FILE: test.kt
+1 -1
View File
@@ -1,6 +1,6 @@
// TARGET_BACKEND: WASM
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 49_207
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 48_188
// WASM_DCE_EXPECTED_OUTPUT_SIZE: mjs 5_605
fun box(): String {
+1 -1
View File
@@ -1,6 +1,6 @@
// TARGET_BACKEND: WASM
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 15_582
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 13_660
// WASM_DCE_EXPECTED_OUTPUT_SIZE: mjs 6_134
// FILE: test.kt
+1 -1
View File
@@ -1,6 +1,6 @@
// TARGET_BACKEND: WASM
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 14_259
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 12_337
// WASM_DCE_EXPECTED_OUTPUT_SIZE: mjs 5_451
fun box() = "OK"