JVM IR: Avoid redundant coercions in ExpressionCodegen

This commit is contained in:
Steven Schäfer
2020-02-12 16:42:11 +01:00
committed by Dmitry Petrov
parent 2b2ae8a5f1
commit 5760c0be9c
10 changed files with 51 additions and 59 deletions

View File

@@ -12,6 +12,6 @@ fun f() {
// 1 LOCALVARIABLE c C L3 L\d+ 0
// JVM_IR_TEMPLATES
// 1 ISTORE 2\s+L5
// 1 ISTORE 2\s+L4
// 1 ILOAD 2\s+INVOKEVIRTUAL java/io/PrintStream.print \(C\)V
// 1 LOCALVARIABLE c C L5 L\d+ 2
// 1 LOCALVARIABLE c C L4 L\d+ 2