> John, I wonder if invokeVarargs() with 0 argument should > use invokeGeneric instead of the genericInvoker. > Also it seems that there is no check in the VM that the default target > of a switch can be not taken. >
In fact, it's not related to a switch. C2 generates code even if the branch was never taken. In case of invoke varargs, the code that handles more than 10 arguments is generated even if it's never called. Rémi _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev