Skip to content

Commit 868e798

Browse files
committed
remove printInstructionBase from InstructionDetailsPrintable.swift
1 parent f2db908 commit 868e798

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Tests/CapstoneTests/InstructionDetailsPrintable.swift

-4
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ extension Access {
2525
}
2626

2727
extension Instruction {
28-
func printInstructionBase() {
29-
print("0x\(String(address, radix: 16)):\t\(mnemonic)\t\(operandsString)")
30-
}
31-
3228
func printOperandAccess(index i: Int, access: Access) {
3329
print("\t\toperands[\(i)].access: \(access.testDescription)")
3430
}

Tests/CapstoneTests/PlatformTest.swift

+6
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,9 @@ struct PlatformTest {
6767
capstoneOptions: [])
6868
}
6969
}
70+
71+
extension Instruction {
72+
func printInstructionBase() {
73+
print("0x\(String(address, radix: 16)):\t\(mnemonic)\t\(operandsString)")
74+
}
75+
}

0 commit comments

Comments
 (0)