Examples of WeaselInstructionVerySame


Examples of weasel.interpreter.bytecode.WeaselInstructionVerySame

      instructions.addAll(wcr.getInstructions());
      if(wgc.getBaseClass().isPrimitive()||ret.getBaseClass().isPrimitive())
        ret = WeaselTree.autoCast(compiler, ret, wgc, operator.line, instructions, true);
      int primitiveID = WeaselPrimitive.getPrimitiveID(ret.getBaseClass());
      if(oper==WeaselOperator.VERY_SAME){
        instructions.add(operator.line, new WeaselInstructionVerySame(primitiveID));
      }else if(oper==WeaselOperator.NOT_VERY_SAME){
        instructions.add(operator.line, new WeaselInstructionNotVerySame(primitiveID));
      }else if(oper==WeaselOperator.EQUAL){
        instructions.add(operator.line, new WeaselInstructionEqual(primitiveID));
      }else if(oper==WeaselOperator.NOT_EQUAL){
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.