[Wasm] Introducing private identityHashCode shared between Any's hashCode and toString
It splits the dependency of toString from hashCode that prevents keeping hashCode when toString is used.
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
// TARGET_BACKEND: WASM
|
||||
|
||||
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 146_345
|
||||
// WASM_DCE_EXPECTED_OUTPUT_SIZE: mjs 8_119
|
||||
// WASM_DCE_EXPECTED_OUTPUT_SIZE: wasm 139_781
|
||||
// WASM_DCE_EXPECTED_OUTPUT_SIZE: mjs 6_501
|
||||
|
||||
fun box() = "OK"
|
||||
Reference in New Issue
Block a user