mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-11-30 22:41:19 -06:00
Slight indent for asm to make it look like 'asm' for the asm mode
This commit is contained in:
+3
-3
@@ -169,17 +169,17 @@
|
||||
}).map(function (x) {
|
||||
return parseInt(x, 16);
|
||||
});
|
||||
var disasembly = match[4];
|
||||
var disassembly = " " + match[4];
|
||||
var links = null;
|
||||
var destMatch = line.match(destRe);
|
||||
if (destMatch) {
|
||||
links = [{
|
||||
offset: disasembly.indexOf(destMatch[1]),
|
||||
offset: disassembly.indexOf(destMatch[1]),
|
||||
length: destMatch[1].length,
|
||||
to: parseInt(destMatch[1], 16)
|
||||
}];
|
||||
}
|
||||
result.push({opcodes: opcodes, address: address, text: disasembly, source: source, links: links});
|
||||
result.push({opcodes: opcodes, address: address, text: disassembly, source: source, links: links});
|
||||
} else {
|
||||
//result.push({text: line, source: null});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user