Package org.jreversepro.ast.intermediate

Examples of org.jreversepro.ast.intermediate.CompleteLine


        throw new IllegalArgumentException("Unsupported return code "
            + ins.opcode);
      }

    }
    statements.append(new CompleteLine(ins, expr));

  }
View Full Code Here


  protected void operateStoreInstruction(Instruction ins,
      int variableIndexToSymbolTable, Expression expr) {
    Variable lhs = new Variable(varTable, expr.getType(),
        variableIndexToSymbolTable, ins.currentPc);
    statements.append(new CompleteLine(ins, new Assignment(lhs, expr)));

    // Hint to the symbol table about the type.
    varTable.recordLocalDatatypeReference(variableIndexToSymbolTable, expr
        .getType(), ins.currentPc);
View Full Code Here

        .getArgUnsignedWide(), ins.currentPc);
    int constant = ins.getArgWide(1);

    if (constant < 0) {
      Constant ct = new Constant(-constant);
      statements.append(new CompleteLine(ins, new BinaryOpExpression(var,
          BinaryOperator.SMART_MINUS, ct, JVM_TYPE_INT)));
    } else {
      Constant ct = new Constant(constant);
      statements.append(new CompleteLine(ins, new BinaryOpExpression(var,
          BinaryOperator.SMART_PLUS, ct, JVM_TYPE_INT)));
    }

  }
View Full Code Here

TOP

Related Classes of org.jreversepro.ast.intermediate.CompleteLine

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.