[JVM IR] Use reference equality when comparing enums.

This commit is contained in:
Mark Punzalan
2020-03-06 01:35:05 -08:00
committed by Alexander Udalov
parent a732e8f5fe
commit 368b0d9b0b
14 changed files with 82 additions and 7 deletions
@@ -1801,6 +1801,11 @@ public class BytecodeTextTestGenerated extends AbstractBytecodeTextTest {
public void testKt18731() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/enum/kt18731.kt");
}
@TestMetadata("kt18731_2.kt")
public void testKt18731_2() throws Exception {
runTest("compiler/testData/codegen/bytecodeText/enum/kt18731_2.kt");
}
}
@TestMetadata("compiler/testData/codegen/bytecodeText/exclExcl")