Lines 81-87
Link Here
|
81 |
public LocalVariable getLocalVariable( ConstantPoolGen cp ) { |
81 |
public LocalVariable getLocalVariable( ConstantPoolGen cp ) { |
82 |
int start_pc = start.getPosition(); |
82 |
int start_pc = start.getPosition(); |
83 |
int length = end.getPosition() - start_pc; |
83 |
int length = end.getPosition() - start_pc; |
84 |
if (length > 0) { |
84 |
if (end.getNext() == null) { |
85 |
length += end.getInstruction().getLength(); |
85 |
length += end.getInstruction().getLength(); |
86 |
} |
86 |
} |
87 |
int name_index = cp.addUtf8(name); |
87 |
int name_index = cp.addUtf8(name); |