}
assertSame(f, f.merge(g, /* localsOnly= */true, noUsage));
}
public void testIncompatibleMerge() {
Frame f = new Frame(4, 4);
f.setLocal(0, Value.make(0, D_OBJECT));
Frame g = new Frame(4, 4);
g.setLocal(0, Value.make(0, D_INT));
Usage usage = new Usage(4);
for (int i = 0; i < 4; i++) {
usage.setLiveIn(i); // set everything to READ
}