mirror of https://github.com/apache/lucene.git
LUCENE-5207: Thanks Robert for help with this opcode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1523360 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4304e0b484
commit
f676e3df79
|
@ -34,7 +34,6 @@ import static org.objectweb.asm.Opcodes.IFGT;
|
|||
import static org.objectweb.asm.Opcodes.IFLE;
|
||||
import static org.objectweb.asm.Opcodes.IFLT;
|
||||
import static org.objectweb.asm.Opcodes.IFNE;
|
||||
import static org.objectweb.asm.Opcodes.ILOAD;
|
||||
import static org.objectweb.asm.Opcodes.LAND;
|
||||
import static org.objectweb.asm.Opcodes.LOR;
|
||||
import static org.objectweb.asm.Opcodes.LSHL;
|
||||
|
@ -273,7 +272,7 @@ public class JavascriptCompiler {
|
|||
methodVisitor.loadArg(1);
|
||||
methodVisitor.push(index);
|
||||
methodVisitor.arrayLoad(FUNCTION_VALUES_TYPE);
|
||||
methodVisitor.visitVarInsn(ILOAD, 1);
|
||||
methodVisitor.loadArg(0);
|
||||
methodVisitor.invokeVirtual(FUNCTION_VALUES_TYPE, DOUBLE_VAL_METHOD);
|
||||
|
||||
methodVisitor.cast(Type.DOUBLE_TYPE, expected);
|
||||
|
|
Loading…
Reference in New Issue