Lines Matching defs:to

8  * particular file as subject to the "Classpath" exception as provided
18 * 2 along with this work; if not, write to the Free Software Foundation,
107 // Create an array to map name indexes to locals indexes.
116 // Create an array to map name indexes to locals indexes.
139 System.out.println("Dumping class files to "+DUMP_CLASS_FILES_DIR+"/...");
375 * NOTE: These load/store methods use the localsMap to find the correct index!
414 * @param type primitive type class to box.
427 * @param type wrapper type class to unbox.
478 * Emits an actual return instruction conforming to the given return type.
518 // Suppress this method in backtraces displayed to the user.
544 // store the result from evaluating to the target name in a local if required
545 // (if this is the last value, i.e., the one that is going to be returned,
584 // TODO more to come
598 // Sample classes from each package we are willing to bind to statically:
652 // in order to pass the verifier, we need to convert this to invokevirtual in all cases
686 * Check if MemberName is a call to MethodHandleImpl.selectAlternative.
689 * @return true if member is a call to MethodHandleImpl.selectAlternative
773 * Emits a return statement from a LF invoker. If required, the result type is cast to the correct return type.
790 // rtype is the return type of the invoker - generated code must conform to this
795 // possibly cast the primitive to the correct type for boxing
800 // cast primitive to reference ("boxing")
803 // to-primitive cast
805 // prim-to-prim cast
808 // ref-to-prim cast ("unboxing")
809 throw new InternalError("no ref-to-prim (unboxing) casts supported right now");
820 * Emit a type conversion bytecode casting from "from" to "to".
822 private void emitPrimCast(char from, char to) {
826 // to ----> boolean byte short char int long float double
835 if (from == to) {
840 Wrapper wto = Wrapper.forBasicType(to);
842 // cast from {byte,short,char,int} to anything
843 emitI2X(to);
845 // cast from {long,float,double} to anything
847 // cast to {byte,short,char,int}
851 emitI2X(to);
854 // cast to {long,float,double} - this is verbose
858 if (to == 'F') { mv.visitInsn(Opcodes.L2F); }
859 else if (to == 'D') { mv.visitInsn(Opcodes.L2D); }
863 if (to == 'J') { mv.visitInsn(Opcodes.F2L); }
864 else if (to == 'D') { mv.visitInsn(Opcodes.F2D); }
868 if (to == 'J') { mv.visitInsn(Opcodes.D2L); }
869 else if (to == 'F') { mv.visitInsn(Opcodes.D2F); }
877 throw new IllegalStateException("unhandled prim cast: " + from + "2" + to);
943 // Suppress this method in backtraces displayed to the user.
1008 // Suppress this method in backtraces displayed to the user.
1042 Wrapper dstWrapper = srcWrapper.isSubwordOrInt() ? Wrapper.INT : srcWrapper; // widen subword to int
1063 * Emit a bogus method that just loads some string constants. This is to get the constants into the constant pool