History

Fixed compilation error in i386-asm.c

Frederic Feret committed 17 years ago

Commit 3065e701 parent ae23c462 files · +3 −5Browse files

Unified · Split

2 files
  1. i386-asm.c +1 −3
  2. i386-asm.h +2 −2
i386-asm.c+1−3
@@ -841,8 +841,7 @@ static void asm_opcode(TCCState *s1, int opcode) · 840 unmodified lines
841 else {841 else {
842 if (ops[i].e.sym)842 if (ops[i].e.sym)
843 goto error_relocate;843 goto error_relocate;
844 }844 gen_le16(ops[i].e.v);
845 gen_le16(ops[i].e.v);
846 }845 }
847 } else {846 } else {
848 if (pa->instr_type & (OPC_JMP | OPC_SHORTJMP)) {847 if (pa->instr_type & (OPC_JMP | OPC_SHORTJMP)) {
@@ -876,7 +875,6 @@ static void asm_opcode(TCCState *s1, int opcode) · 27 unmodified lines
876 }875 }
877 }876 }
878 }877 }
879
880 a32 = o32 = 0;878 a32 = o32 = 0;
881}879}
882 880
i386-asm.h+2−2
@@ -74,8 +74,8 @@ ALT(DEF_ASM_OP2(btcw, 0x0fbb, 0, OPC_MODRM | OPC_WL, OPT_REGW, OPT_REGW | OPT_EA · 73 unmodified lines
74ALT(DEF_ASM_OP2(btcw, 0x0fba, 7, OPC_MODRM | OPC_WL, OPT_IM8, OPT_REGW | OPT_EA))74ALT(DEF_ASM_OP2(btcw, 0x0fba, 7, OPC_MODRM | OPC_WL, OPT_IM8, OPT_REGW | OPT_EA))
75 75
76 /* prefixes */76 /* prefixes */
77 DEF_ASM_OP0(addr32, 0x67)77 DEF_ASM_OP0(a32, 0x67)
78 DEF_ASM_OP0(data32, 0x66)78 DEF_ASM_OP0(o32, 0x66)
79 DEF_ASM_OP0(lock, 0xf0)79 DEF_ASM_OP0(lock, 0xf0)
80 DEF_ASM_OP0(rep, 0xf3)80 DEF_ASM_OP0(rep, 0xf3)
81 DEF_ASM_OP0(repe, 0xf3)81 DEF_ASM_OP0(repe, 0xf3)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t