diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-09-22 17:37:16 +0400 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2011-09-25 03:01:33 +0400 |
commit | ea4d93553030d97ea25058308f96b93a8b6cbe9f (patch) | |
tree | 692761d8e0f59d617bdc3e81770e0c6ee7941067 | |
parent | d6135d91c1537523a04fd5f54396f79a6f33940d (diff) |
x86insn: Do not emit opcode for STACK
This fixes a bug introduced in
86ab82d6182b641aeac13b2b9b8b99ad74cec5a0 x86insn: regularize codegen output
-rw-r--r-- | orc/orcx86insn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/orc/orcx86insn.c b/orc/orcx86insn.c index e8ca66c..d8b885d 100644 --- a/orc/orcx86insn.c +++ b/orc/orcx86insn.c @@ -581,7 +581,6 @@ orc_x86_insn_output_opcode (OrcCompiler *p, OrcX86Insn *xinsn) break; case ORC_X86_INSN_TYPE_MEM: case ORC_X86_INSN_TYPE_REGM_REG: - case ORC_X86_INSN_TYPE_STACK: output_opcode (p, xinsn->opcode, xinsn->size, xinsn->src, xinsn->dest, FALSE); break; case ORC_X86_INSN_TYPE_REGM: @@ -609,6 +608,7 @@ orc_x86_insn_output_opcode (OrcCompiler *p, OrcX86Insn *xinsn) break; case ORC_X86_INSN_TYPE_LABEL: case ORC_X86_INSN_TYPE_BRANCH: + case ORC_X86_INSN_TYPE_STACK: break; default: ORC_ERROR("%d", xinsn->opcode->type); |