Examples of UnboxedObject


Examples of org.vmmagic.unboxed.UnboxedObject

                } else if (jnodeField.isAddressType()) {
                    final Object value = jdkField.get(obj);
                    if (value == null) {
                        os.setWord(fldOffset, 0);
                    } else if (value instanceof UnboxedObject) {
                        final UnboxedObject uobj = (UnboxedObject) value;
                        os.setWord(fldOffset, uobj.toLong());
                    } else if (value instanceof Label) {
                        final Label lbl = (Label) value;
                        bis.setObjectRef(fldOffset, lbl);
                    } else {
                        throw new BuildException("Cannot handle magic type " + value.getClass().getName());
View Full Code Here

Examples of org.vmmagic.unboxed.UnboxedObject

            }
        } else if (f.isAddressType()) {
            if (val == null) {
                // Just do nothing
            } else if (val instanceof UnboxedObject) {
                final UnboxedObject uobj = (UnboxedObject) val;
                statics.setAddress(idx, uobj);
            } else if (val instanceof Label) {
                final Label lbl = (Label) val;
                statics.setAddress(idx, lbl);
            } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.