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

Method addBasicBlock

src/main/java/org/dynjs/ir/representations/CFG.java:223–229  ·  view source on GitHub ↗
(BasicBlock bb)

Source from the content-addressed store, hash-verified

221 }
222
223 public void addBasicBlock(BasicBlock bb) {
224 graph.findOrCreateVertexFor(bb); // adds vertex to graph
225 bbMap.put(bb.getLabel(), bb);
226
227 // Reset so later dataflow analyses get all basic blocks
228 postOrderList = null;
229 }
230
231 public Scope getScope() {
232 return scope;

Callers 1

createBBMethod · 0.95

Calls 2

putMethod · 0.65
getLabelMethod · 0.45

Tested by

no test coverage detected