More bzero -> memset that I missed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91757 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-12-19 04:16:57 +00:00
parent 9e6d1d1f50
commit 8783087f69
2 changed files with 13 additions and 13 deletions

View File

@ -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 \

View File

@ -238,7 +238,7 @@ DisassemblerTables::DisassemblerTables() {
for (i = 0; i < 4; i++) {
Tables[i] = new ContextDecision;
bzero(Tables[i], sizeof(ContextDecision));
memset(Tables[i], 0, sizeof(ContextDecision));
}
HasConflicts = false;