Examples of Immediate


Examples of wyvern.targets.Common.wyvernIL.IL.Expr.Immediate

      BytecodeOperandVisitor opVisitor = new BytecodeOperandVisitor(context);
      BytecodeClass clas = (BytecodeClass) inv.getSource().accept(opVisitor);
      BytecodeValue val = clas.getContext().getValue(inv.getId());
      dest = (BytecodeRef) val;
    } else if(destExpr instanceof Immediate) {
      Immediate imm = (Immediate) destExpr;
      VarRef ref = (VarRef) imm.getInner();
      dest = (BytecodeRef) context.getValue(ref.getName());
    } else {
      throw new RuntimeException("assignment not using Inv or Imm");
    }
    BytecodeValue src = assign.getSrc().accept(visitor);
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.