MCPcopy Create free account
hub / github.com/acsoto/BUAA-Compiler / getVar

Method getVar

src/CodeGeneration/PCodeExecutor.java:53–59  ·  view source on GitHub ↗
(String ident)

Source from the content-addressed store, hash-verified

51 }
52
53 private Var getVar(String ident) {
54 if (varTable.containsKey(ident)) {
55 return varTable.get(ident);
56 } else {
57 return retInfos.get(0).getVarTable().get(ident);
58 }
59 }
60
61 public void run() {
62 int callArgsNum = 0;

Callers 1

runMethod · 0.95

Calls 1

getVarTableMethod · 0.80

Tested by

no test coverage detected