Package wyil.lang

Examples of wyil.lang.Code$Unit


  }

  @Override
  public Env propagate(int index, Entry entry, Env environment) {
    rewrites.put(index,null);
    Code code = entry.code;
    boolean isLive = true;
    environment = (Env) environment.clone();

    if (code instanceof Code.AbstractAssignable) {
      Code.AbstractAssignable aa = (Code.AbstractAssignable) code;
View Full Code Here


  protected BitSet infer(Code.Block block, int start, int end) {
    BitSet modified = new BitSet(block.numSlots());
    int size = block.size();
    for(int i=start;i<end;++i) {
      Code.Block.Entry entry = block.get(i);
      Code code = entry.code;

      if (code instanceof Code.AbstractAssignable) {
        Code.AbstractAssignable aa = (Code.AbstractAssignable) code;
        if(aa.target() != Codes.NULL_REG) {
          modified.set(aa.target());
View Full Code Here

      //String lin;
      String tag = "\t/* entry# " + idx + "*/";

      this.sourceTag = tag;
      bodyAddLineNL"// block.entry #" + idx  );
      Code cod = blkIn.code;
      tmp = this.writeSourceLineID(blkIn);
      bodyAddLine(tmp);

      String temp = cod.toString();
      bodyAddLineNL"//             Looks like " + safeString2(temp)  );

      String[] frags = temp.split(" ", 4);
      String opc = frags[0];
      if (cod instanceof Codes.Const) {
View Full Code Here

TOP

Related Classes of wyil.lang.Code$Unit

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.