use of dk.brics.soot.intermediate.representation.Variable in project soot by Sable.
the class StmtTranslator method caseInvokeStmt.
public void caseInvokeStmt(InvokeStmt stmt) {
InvokeExpr expr = stmt.getInvokeExpr();
Variable lvar = jt.makeVariable(expr);
et.translateExpr(lvar, stmt.getInvokeExprBox());
}
use of dk.brics.soot.intermediate.representation.Variable in project soot by Sable.
the class StmtTranslator method caseReturnStmt.
public void caseReturnStmt(ReturnStmt stmt) {
Variable rvar = jt.makeVariable(stmt.getOp());
Return r = new Return();
r.setAssignmentTarget(rvar);
addStatement(r);
}
use of dk.brics.soot.intermediate.representation.Variable in project soot by Sable.
the class StmtTranslator method getLocalVariable.
Variable getLocalVariable(Local l) {
if (local_var.containsKey(l)) {
return (Variable) local_var.get(l);
}
Variable var = jt.makeVariable(l);
local_var.put(l, var);
return var;
}
Aggregations