diff options
Diffstat (limited to 'dx/src/com/android/dx/cf/code/Simulator.java')
-rw-r--r-- | dx/src/com/android/dx/cf/code/Simulator.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dx/src/com/android/dx/cf/code/Simulator.java b/dx/src/com/android/dx/cf/code/Simulator.java index bbb4b2db2..7aeca7cd0 100644 --- a/dx/src/com/android/dx/cf/code/Simulator.java +++ b/dx/src/com/android/dx/cf/code/Simulator.java @@ -24,7 +24,6 @@ import com.android.dx.rop.cst.CstCallSiteRef; import com.android.dx.rop.cst.CstFieldRef; import com.android.dx.rop.cst.CstInteger; import com.android.dx.rop.cst.CstInterfaceMethodRef; -import com.android.dx.rop.cst.CstInvokeDynamic; import com.android.dx.rop.cst.CstMethodRef; import com.android.dx.rop.cst.CstType; import com.android.dx.rop.type.Prototype; @@ -712,12 +711,9 @@ public class Simulator { " (invokedynamic requires --min-sdk-version >= " + DexFormat.API_INVOKE_POLYMORPHIC + ")"); } - CstInvokeDynamic invokeDynamicRef = (CstInvokeDynamic) cst; + CstCallSiteRef invokeDynamicRef = (CstCallSiteRef) cst; Prototype prototype = invokeDynamicRef.getPrototype(); machine.popArgs(frame, prototype); - // Change the constant to be associated with instruction to - // a call site reference. - cst = invokeDynamicRef.addReference(); break; } case ByteOps.MULTIANEWARRAY: { |