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

Method addEdge

src/main/java/org/dynjs/ir/representations/CFG.java:235–237  ·  view source on GitHub ↗
(BasicBlock source, BasicBlock destination, Object type)

Source from the content-addressed store, hash-verified

233 }
234
235 public void addEdge(BasicBlock source, BasicBlock destination, Object type) {
236 graph.findOrCreateVertexFor(source).addEdgeTo(destination, type);
237 }
238
239 private void addEdge(BasicBlock src, Label targetLabel, Map<Label, List<BasicBlock>> forwardRefs) {
240 BasicBlock target = bbMap.get(targetLabel);

Callers 3

buildMethod · 0.95
mergeBBsMethod · 0.95
buildExitBasicBlockMethod · 0.80

Calls 3

getMethod · 0.65
putMethod · 0.65
addMethod · 0.45

Tested by

no test coverage detected