diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-20 21:56:02 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-04-20 21:56:02 +0000 |
commit | 3c3410f139f0d3284d2edcd2abc61da0ddbb0a0b (patch) | |
tree | 0d6311c5b2d8267ac79e21e978619b6e48cbf883 /llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h | |
parent | ac15f1cda3d36954d017978f66585ea3dae34472 (diff) | |
download | llvm-3c3410f139f0d3284d2edcd2abc61da0ddbb0a0b.zip llvm-3c3410f139f0d3284d2edcd2abc61da0ddbb0a0b.tar.gz llvm-3c3410f139f0d3284d2edcd2abc61da0ddbb0a0b.tar.bz2 |
Remove some more C junk from these files.
llvm-svn: 206721
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h')
-rw-r--r-- | llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h b/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h index c533586..4acf17a 100644 --- a/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h +++ b/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h @@ -600,7 +600,7 @@ struct InternalInstruction { /* The instruction ID, extracted from the decode table */ uint16_t instructionID; /* The specifier for the instruction, from the instruction info table */ - const struct InstructionSpecifier *spec; + const InstructionSpecifier *spec; /* state for additional bytes, consumed during operand decode. Pattern: consumed___ indicates that the byte was already consumed and does not @@ -654,7 +654,7 @@ struct InternalInstruction { uint8_t sibScale; SIBBase sibBase; - const struct OperandSpecifier *operands; + const OperandSpecifier *operands; }; /* decodeInstruction - Decode one instruction and store the decoding results in @@ -673,12 +673,12 @@ struct InternalInstruction { * @param mode - The mode (16-bit, 32-bit, 64-bit) to decode in. * @return - Nonzero if there was an error during decode, 0 otherwise. */ -int decodeInstruction(struct InternalInstruction* insn, +int decodeInstruction(InternalInstruction *insn, byteReader_t reader, - const void* readerArg, + const void *readerArg, dlog_t logger, - void* loggerArg, - const void* miiArg, + void *loggerArg, + const void *miiArg, uint64_t startLoc, DisassemblerMode mode); |