diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-12-19 04:16:57 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-19 04:16:57 +0000 |
commit | 8783087f69989b2350c158890b26952977d8e437 (patch) | |
tree | 0ed12876890fd97732ec65ae8a5fe71a5b4da0f5 /utils/TableGen/X86DisassemblerShared.h | |
parent | 9e6d1d1f5034347d237941f1bf08fba5c1583cd3 (diff) |
More bzero -> memset that I missed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/X86DisassemblerShared.h')
-rw-r--r-- | utils/TableGen/X86DisassemblerShared.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/utils/TableGen/X86DisassemblerShared.h b/utils/TableGen/X86DisassemblerShared.h index 9003cbfbde..7fcd122b6b 100644 --- a/utils/TableGen/X86DisassemblerShared.h +++ b/utils/TableGen/X86DisassemblerShared.h @@ -12,18 +12,18 @@ #include <string> -#define INSTRUCTION_SPECIFIER_FIELDS \ - bool filtered; \ - InstructionContext insnContext; \ - std::string name; \ - \ - InstructionSpecifier() { \ - filtered = false; \ - insnContext = IC; \ - name = ""; \ - modifierType = MODIFIER_NONE; \ - modifierBase = 0; \ - bzero(operands, sizeof(operands)); \ +#define INSTRUCTION_SPECIFIER_FIELDS \ + bool filtered; \ + InstructionContext insnContext; \ + std::string name; \ + \ + InstructionSpecifier() { \ + filtered = false; \ + insnContext = IC; \ + name = ""; \ + modifierType = MODIFIER_NONE; \ + modifierBase = 0; \ + memset(operands, 0, sizeof(operands)); \ } #define INSTRUCTION_IDS \ |