Package org.jnode.vm.compiler

Examples of org.jnode.vm.compiler.CompileError


                dwreturn(jvmType, false);
                break;
            case JvmType.VOID:
                break;
            default:
                throw new CompileError("Unknown return type " + jvmType);
        }

        // Push the remaining vstack items to the stack
        vstack.push(eContext);
View Full Code Here


                os.writeRelativeObjectRef(helper.getInstrLabel(addresses[i]));
            }

            if ((l2Ofs - l1Ofs) != l12distance) {
                if (!os.isTextStream()) {
                    throw new CompileError("l12distance must be "
                        + (l2Ofs - l1Ofs));
                }
            }
            L1AHelper.releaseRegister(eContext, tmp);
        } else {
View Full Code Here

                dwreturn(jvmType, false);
                break;
            case JvmType.VOID:
                break;
            default:
                throw new CompileError("Unknown return type " + jvmType);
        }

        // Push the remaining vstack items to the stack
        vstack.push(eContext);
View Full Code Here

                os.writeRelativeObjectRef(helper.getInstrLabel(addresses[i]));
            }

            if ((l2Ofs - l1Ofs) != l12distance) {
                if (!os.isTextStream()) {
                    throw new CompileError("l12distance must be "
                        + (l2Ofs - l1Ofs));
                }
            }
            L1AHelper.releaseRegister(eContext, tmp);
        } else {
View Full Code Here

                        compiler.compileBootstrap(method, os, optLevel);
                        rc++;
                        // method.setModifier(true, Modifier.ACC_COMPILED);
                        // }
                    } catch (Throwable ex) {
                        throw new CompileError("Compile of " + method
                            + " failed", ex);
                    }
                }
            }
            state |= VmTypeState.ST_COMPILED;
View Full Code Here

TOP

Related Classes of org.jnode.vm.compiler.CompileError

Copyright © 2018 www.massapicom. 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.