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:
dragos 2008-12-11 21:20:46 +00:00
parent 84c6a6ea0f
commit 28832943f0
1 changed files with 5 additions and 0 deletions

View File

@ -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,