MCPcopy Create free account
hub / github.com/dynjs/dynjs / getUsedVariables

Method getUsedVariables

src/main/java/org/dynjs/ir/Instruction.java:44–52  ·  view source on GitHub ↗

List of all variables used by this instruction.

()

Source from the content-addressed store, hash-verified

42 * List of all variables used by this instruction.
43 */
44 public List<Variable> getUsedVariables() {
45 ArrayList<Variable> vars = new ArrayList<Variable>();
46
47 for (Operand o : getOperands()) {
48 o.addUsedVariables(vars);
49 }
50
51 return vars;
52 }
53
54 public void simplifyOperands(Map<Operand, Operand> renameMap, boolean force) {
55 }

Callers 1

renameLocalVariablesMethod · 0.80

Calls 2

getOperandsMethod · 0.95
addUsedVariablesMethod · 0.45

Tested by

no test coverage detected