mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-29 13:24:25 +00:00
Fix some may-be-uninitialized var warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91878 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -64,7 +64,7 @@ static inline InstructionContext contextForAttrs(uint8_t attrMask) {
|
|||||||
static inline int modRMRequired(OpcodeType type,
|
static inline int modRMRequired(OpcodeType type,
|
||||||
InstructionContext insnContext,
|
InstructionContext insnContext,
|
||||||
uint8_t opcode) {
|
uint8_t opcode) {
|
||||||
const struct ContextDecision* decision;
|
const struct ContextDecision* decision = 0;
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case ONEBYTE:
|
case ONEBYTE:
|
||||||
@ -714,8 +714,8 @@ static int getID(struct InternalInstruction* insn) {
|
|||||||
* @return - 0 if the SIB byte was successfully read; nonzero otherwise.
|
* @return - 0 if the SIB byte was successfully read; nonzero otherwise.
|
||||||
*/
|
*/
|
||||||
static int readSIB(struct InternalInstruction* insn) {
|
static int readSIB(struct InternalInstruction* insn) {
|
||||||
SIBIndex sibIndexBase;
|
SIBIndex sibIndexBase = 0;
|
||||||
SIBBase sibBaseBase;
|
SIBBase sibBaseBase = 0;
|
||||||
uint8_t index, base;
|
uint8_t index, base;
|
||||||
|
|
||||||
dbgprintf(insn, "readSIB()");
|
dbgprintf(insn, "readSIB()");
|
||||||
|
Reference in New Issue
Block a user