fail("Please use jasmin to compile " + className);
} catch (VerifyError e) {
fail("Verification error for " + className + ": " + e.getMessage());
}
cache(className);
MethodFlow flow = getFlow("simpleJSR");
assertEquals(3, flow.getBasicBlocks().size());
flow = getFlow("pausableJSR1");
// System.out.println(flow.getBasicBlocks());
assertEquals(4, flow.getBasicBlocks().size());
flow = getFlow("pausableJSR2");
ArrayList<BasicBlock> bbs = flow.getBasicBlocks();
assertEquals(7, bbs.size());
// make sure the blocks are unique
int flag = 1 << 12;
for (BasicBlock bb: bbs) {