mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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:
parent
9e6d1d1f50
commit
8783087f69
@ -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 \
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user