mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-29 07:45:55 +08:00
GP-6095: Removed null ListingField for instructions with string operand
This commit is contained in:
-3
@@ -449,9 +449,6 @@ abstract class OperandFieldHelper extends FieldFactory {
|
|||||||
|
|
||||||
private ListingField getFieldForInstruction(Instruction inst, ProxyObj<?> proxy, int varWidth) {
|
private ListingField getFieldForInstruction(Instruction inst, ProxyObj<?> proxy, int varWidth) {
|
||||||
int numOperands = inst.getNumOperands();
|
int numOperands = inst.getNumOperands();
|
||||||
if (numOperands == 0) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
OpFieldResults results = new OpFieldResults(proxy);
|
OpFieldResults results = new OpFieldResults(proxy);
|
||||||
OperandFieldElement separator = createLeadingSeparatorElement(inst);
|
OperandFieldElement separator = createLeadingSeparatorElement(inst);
|
||||||
|
|||||||
Reference in New Issue
Block a user