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
841841 else {
842842 if (ops[i].e.sym)
843843 goto error_relocate;
844− }
845− gen_le16(ops[i].e.v);
844+ gen_le16(ops[i].e.v);
846845 }
847846 } else {
848847 if (pa->instr_type & (OPC_JMP | OPC_SHORTJMP)) {
@@ -876,7 +875,6 @@ static void asm_opcode(TCCState *s1, int opcode) · 27 unmodified lines
876875 }
877876 }
878877 }
879−
880878 a32 = o32 = 0;
881879 }
882880
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
7474 ALT(DEF_ASM_OP2(btcw, 0x0fba, 7, OPC_MODRM | OPC_WL, OPT_IM8, OPT_REGW | OPT_EA))
7575
7676 /* prefixes */
77− DEF_ASM_OP0(addr32, 0x67)
78− DEF_ASM_OP0(data32, 0x66)
77+ DEF_ASM_OP0(a32, 0x67)
78+ DEF_ASM_OP0(o32, 0x66)
7979 DEF_ASM_OP0(lock, 0xf0)
8080 DEF_ASM_OP0(rep, 0xf3)
8181 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