projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6006ff
)
x86insn: fix msvc error
author
David Schleef
<ds@schleef.org>
Wed, 1 Jun 2011 02:36:36 +0000
(19:36 -0700)
committer
David Schleef
<ds@schleef.org>
Wed, 1 Jun 2011 02:36:36 +0000
(19:36 -0700)
orc/orcx86insn.c
patch
|
blob
|
history
diff --git
a/orc/orcx86insn.c
b/orc/orcx86insn.c
index
44e1fd4
..
9611f99
100644
(file)
--- a/
orc/orcx86insn.c
+++ b/
orc/orcx86insn.c
@@
-516,7
+516,7
@@
orc_x86_insn_output_asm (OrcCompiler *p, OrcX86Insn *xinsn)
}
orc_uint8 nop_codes[][16] = {
- { },
+ {
0 /* MSVC wants something here */
},
{ 0x90 },
{ 0x66, 0x90 }, /* xchg %ax,%ax */
{ 0x0f, 0x1f, 0x00 }, /* nopl (%rax) */