Lines 176-196
Link Here
|
176 |
this.codeStream.classFileOffset -= 3; |
176 |
this.codeStream.classFileOffset -= 3; |
177 |
this.forwardReferenceCount--; |
177 |
this.forwardReferenceCount--; |
178 |
// also update the PCs in the related debug attributes |
178 |
// also update the PCs in the related debug attributes |
179 |
/* OLD CODE |
|
|
180 |
int index = codeStream.pcToSourceMapSize - 1; |
181 |
while ((index >= 0) && (codeStream.pcToSourceMap[index][1] == oldPosition)) { |
182 |
codeStream.pcToSourceMap[index--][1] = position; |
183 |
} |
184 |
*/ |
185 |
// Beginning of new code |
186 |
int index = this.codeStream.pcToSourceMapSize - 2; |
187 |
if (this.codeStream.lastEntryPC == oldPosition) { |
179 |
if (this.codeStream.lastEntryPC == oldPosition) { |
188 |
this.codeStream.lastEntryPC = this.position; |
180 |
this.codeStream.lastEntryPC = this.position; |
189 |
} |
181 |
} |
190 |
if ((index >= 0) && (this.codeStream.pcToSourceMap[index] == this.position)) { |
|
|
191 |
this.codeStream.pcToSourceMapSize-=2; |
192 |
} |
193 |
// end of new code |
194 |
if ((this.codeStream.generateAttributes & ClassFileConstants.ATTR_VARS) != 0) { |
182 |
if ((this.codeStream.generateAttributes & ClassFileConstants.ATTR_VARS) != 0) { |
195 |
LocalVariableBinding locals[] = this.codeStream.locals; |
183 |
LocalVariableBinding locals[] = this.codeStream.locals; |
196 |
for (int i = 0, max = locals.length; i < max; i++) { |
184 |
for (int i = 0, max = locals.length; i < max; i++) { |