Package weasel.interpreter.bytecode

Examples of weasel.interpreter.bytecode.WeaselInstructionLoadConstShort


    }else if(constant instanceof Byte){
      returnType = new WeaselGenericClass(compiler.baseTypes.byteClass);
      instructionList.add(line, new WeaselInstructionLoadConstByte((Byte)constant));
    }else if(constant instanceof Short){
      returnType = new WeaselGenericClass(compiler.baseTypes.shortClass);
      instructionList.add(line, new WeaselInstructionLoadConstShort((Short)constant));
    }else if(constant instanceof Integer){
      returnType = new WeaselGenericClass(compiler.baseTypes.intClass);
      instructionList.add(line, new WeaselInstructionLoadConstInteger((Integer)constant));
    }else if(constant instanceof Long){
      returnType = new WeaselGenericClass(compiler.baseTypes.longClass);
View Full Code Here


        break;
      case WeaselPrimitive.BYTE:
        instructionList.add(line, new WeaselInstructionLoadConstByte(WeaselPrimitive.getByte(constant)));
        break;
      case WeaselPrimitive.SHORT:
        instructionList.add(line, new WeaselInstructionLoadConstShort(WeaselPrimitive.getShort(constant)));
        break;
      case WeaselPrimitive.INT:
        instructionList.add(line, new WeaselInstructionLoadConstInteger(WeaselPrimitive.getInteger(constant)));
        break;
      case WeaselPrimitive.LONG:
View Full Code Here

TOP

Related Classes of weasel.interpreter.bytecode.WeaselInstructionLoadConstShort

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.