Package weasel.interpreter.bytecode

Examples of weasel.interpreter.bytecode.WeaselInstructionLoadConstByte


    }else if(constant instanceof Character){
      returnType = new WeaselGenericClass(compiler.baseTypes.charClass);
      instructionList.add(line, new WeaselInstructionLoadConstChar((Character)constant));
    }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);
View Full Code Here


        break;
      case WeaselPrimitive.CHAR:
        instructionList.add(line, new WeaselInstructionLoadConstChar(WeaselPrimitive.getChar(constant)));
        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:
View Full Code Here

TOP

Related Classes of weasel.interpreter.bytecode.WeaselInstructionLoadConstByte

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.