mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
Add temporary triage for #2986
This commit is contained in:
@@ -351,7 +351,11 @@ export class JavaCompiler extends BaseCompiler {
|
||||
method.instructions[currentInstr].instrOffset !== instrOffset
|
||||
) {
|
||||
if (currentSourceLine === -1) {
|
||||
logger.error('Skipping over instruction even though currentSourceLine == -1');
|
||||
// TODO: Triage for #2986
|
||||
logger.error(
|
||||
'Skipping over instruction even though currentSourceLine == -1',
|
||||
JSON.stringify(method.instructions.slice(0, currentInstr + 10)),
|
||||
);
|
||||
} else {
|
||||
// instructions without explicit line number get assigned the last explicit/same line number
|
||||
method.instructions[currentInstr].sourceLine = currentSourceLine;
|
||||
|
||||
Reference in New Issue
Block a user