aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/X86DisassemblerShared.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-19 04:16:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-19 04:16:57 +0000
commit8783087f69989b2350c158890b26952977d8e437 (patch)
tree0ed12876890fd97732ec65ae8a5fe71a5b4da0f5 /utils/TableGen/X86DisassemblerShared.h
parent9e6d1d1f5034347d237941f1bf08fba5c1583cd3 (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.h24
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 \