use of org.mapleir.ir.locals.impl.BasicLocal in project maple-ir by LLVM-but-worse.
the class LocalsPool method get.
public BasicLocal get(int index, boolean isStack) {
String key = key(index, isStack);
if (cache.containsKey(key)) {
return (BasicLocal) cache.get(key);
} else {
BasicLocal v = new BasicLocal(base, index, isStack);
cache.put(key, v);
return v;
}
}
Aggregations