langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
changeset 37754 7b4f67ce5cb5
parent 37753 dbc87c966861
child 39599 3c7da4996d8c
equal deleted inserted replaced
37753:dbc87c966861 37754:7b4f67ce5cb5
  1647         result = m.invoke();
  1647         result = m.invoke();
  1648     }
  1648     }
  1649 
  1649 
  1650     public void visitConditional(JCConditional tree) {
  1650     public void visitConditional(JCConditional tree) {
  1651         Chain thenExit = null;
  1651         Chain thenExit = null;
       
  1652         code.statBegin(tree.cond.pos);
  1652         CondItem c = genCond(tree.cond, CRT_FLOW_CONTROLLER);
  1653         CondItem c = genCond(tree.cond, CRT_FLOW_CONTROLLER);
  1653         Chain elseChain = c.jumpFalse();
  1654         Chain elseChain = c.jumpFalse();
  1654         if (!c.isFalse()) {
  1655         if (!c.isFalse()) {
  1655             code.resolve(c.trueJumps);
  1656             code.resolve(c.trueJumps);
  1656             int startpc = genCrt ? code.curCP() : 0;
  1657             int startpc = genCrt ? code.curCP() : 0;