One more thing: The JVM backend updates for invokedynamic.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@16748 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
84c6a6ea0f
commit
28832943f0
|
@ -973,6 +973,11 @@ abstract class GenJVM extends SubComponent {
|
|||
else javaName(call.hostClass)
|
||||
|
||||
style match {
|
||||
case InvokeDynamic =>
|
||||
jcode.emitINVOKEINTERFACE("java.dyn.Dynamic",
|
||||
javaName(method),
|
||||
javaType(method).asInstanceOf[JMethodType])
|
||||
|
||||
case Dynamic =>
|
||||
if (needsInterfaceCall(method.owner))
|
||||
jcode.emitINVOKEINTERFACE(owner,
|
||||
|
|
Loading…
Reference in New Issue