| 180 | } |
| 181 | |
| 182 | protected void ensureCapacity(int n) { |
| 183 | if ( (ip+n)>=impl.instrs.length ) { // ensure room for full instruction |
| 184 | byte[] c = new byte[impl.instrs.length*2]; |
| 185 | System.arraycopy(impl.instrs, 0, c, 0, impl.instrs.length); |
| 186 | impl.instrs = c; |
| 187 | Interval[] sm = new Interval[impl.sourceMap.length*2]; |
| 188 | System.arraycopy(impl.sourceMap, 0, sm, 0, impl.sourceMap.length); |
| 189 | impl.sourceMap = sm; |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | public void indent(CommonTree indent) { |
| 194 | emit1(indent, Bytecode.INSTR_INDENT, indent.getText()); |