reproduceYield(graph, receiver, args, block);
}
private void reproduceSideEffect(Graph graph, IRubyObject from, IRubyObject to) {
if (from instanceof MonomorphicObject && to instanceof MonomorphicObject) {
MonomorphicObject a = (MonomorphicObject) from;
MonomorphicObject b = (MonomorphicObject) to;
for (Map.Entry<TypeVariable, Vertex> entry : a.getTypeVarMap().entrySet()) {
Vertex src = entry.getValue();
Vertex dest = b.getTypeVarMap().get(entry.getKey());
if (dest != null) {
graph.propagateEdge(src, dest);
}
}
}