#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 \
for (i = 0; i < 4; i++) {
Tables[i] = new ContextDecision;
- bzero(Tables[i], sizeof(ContextDecision));
+ memset(Tables[i], 0, sizeof(ContextDecision));
}
HasConflicts = false;