Signed-off-by: Pekka Enberg <[email protected]>
---
arch/x86/emit-code.c | 7 -------
arch/x86/include/arch/instruction.h | 1 -
arch/x86/instruction.c | 1 -
arch/x86/lir-printer.c | 7 -------
4 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/arch/x86/emit-code.c b/arch/x86/emit-code.c
index 708ccb0..3d2f6fe 100644
--- a/arch/x86/emit-code.c
+++ b/arch/x86/emit-code.c
@@ -916,12 +916,6 @@ emit_mov_reg_membase(struct buffer *buf, struct operand
*src,
mach_reg(&dest->base_reg), dest->disp);
}
-static void
-emit_push_membase(struct buffer *buf, struct operand *src)
-{
- __emit_push_membase(buf, mach_reg(&src->base_reg), src->disp);
-}
-
static void emit_mov_reg_memlocal(struct buffer *buf, struct operand *src,
struct operand *dest)
{
@@ -1831,7 +1825,6 @@ struct emitter emitters[] = {
DECL_EMITTER(INSN_OR_REG_REG, emit_or_reg_reg, TWO_OPERANDS),
DECL_EMITTER(INSN_PUSH_IMM, emit_push_imm, SINGLE_OPERAND),
DECL_EMITTER(INSN_PUSH_REG, emit_push_reg, SINGLE_OPERAND),
- DECL_EMITTER(INSN_PUSH_MEMBASE, emit_push_membase, SINGLE_OPERAND),
DECL_EMITTER(INSN_PUSH_MEMLOCAL, emit_push_memlocal, SINGLE_OPERAND),
DECL_EMITTER(INSN_POP_MEMLOCAL, emit_pop_memlocal, SINGLE_OPERAND),
DECL_EMITTER(INSN_POP_REG, emit_pop_reg, SINGLE_OPERAND),
diff --git a/arch/x86/include/arch/instruction.h
b/arch/x86/include/arch/instruction.h
index 6789726..821037f 100644
--- a/arch/x86/include/arch/instruction.h
+++ b/arch/x86/include/arch/instruction.h
@@ -162,7 +162,6 @@ enum insn_type {
INSN_OR_REG_REG,
INSN_PUSH_IMM,
INSN_PUSH_REG,
- INSN_PUSH_MEMBASE,
INSN_PUSH_MEMLOCAL,
INSN_POP_MEMLOCAL,
INSN_POP_REG,
diff --git a/arch/x86/instruction.c b/arch/x86/instruction.c
index 3b55928..93de7cd 100644
--- a/arch/x86/instruction.c
+++ b/arch/x86/instruction.c
@@ -686,7 +686,6 @@ static unsigned long insn_flags[] = {
[INSN_POP_MEMLOCAL] = USE_SRC | DEF_NONE,
[INSN_POP_REG] = USE_NONE | DEF_SRC,
[INSN_PUSH_IMM] = USE_NONE | DEF_NONE,
- [INSN_PUSH_MEMBASE] = USE_SRC | DEF_NONE,
[INSN_PUSH_MEMLOCAL] = USE_SRC | DEF_NONE,
[INSN_PUSH_REG] = USE_SRC | DEF_NONE,
[INSN_RET] = USE_NONE | DEF_NONE |
TYPE_BRANCH,
diff --git a/arch/x86/lir-printer.c b/arch/x86/lir-printer.c
index f60907c..bc3f417 100644
--- a/arch/x86/lir-printer.c
+++ b/arch/x86/lir-printer.c
@@ -833,12 +833,6 @@ static int print_push_reg(struct string *str, struct insn
*insn)
return print_reg(str, &insn->operand);
}
-static int print_push_membase(struct string *str, struct insn *insn)
-{
- print_func_name(str);
- return print_membase(str, &insn->operand);
-}
-
static int print_push_memlocal(struct string *str, struct insn *insn)
{
print_func_name(str);
@@ -1066,7 +1060,6 @@ static print_insn_fn insn_printers[] = {
[INSN_OR_REG_REG] = print_or_reg_reg,
[INSN_PUSH_IMM] = print_push_imm,
[INSN_PUSH_REG] = print_push_reg,
- [INSN_PUSH_MEMBASE] = print_push_membase,
[INSN_PUSH_MEMLOCAL] = print_push_memlocal,
[INSN_POP_MEMLOCAL] = print_pop_memlocal,
[INSN_POP_REG] = print_pop_reg,
--
1.6.0.4
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel