Signed-off-by: Tomek Grabiec <[email protected]>
---
arch/x86/lir-printer.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/x86/lir-printer.c b/arch/x86/lir-printer.c
index 910e8a5..682a73b 100644
--- a/arch/x86/lir-printer.c
+++ b/arch/x86/lir-printer.c
@@ -95,9 +95,9 @@ static int print_membase_reg(struct string *str, struct insn
*insn)
return print_reg(str, &insn->dest);
}
-static int print_memdisp_reg(struct string *str, struct insn *insn)
+static int print_tlmemdisp_reg(struct string *str, struct insn *insn)
{
- str_append(str, "(");
+ str_append(str, "gs:(");
print_imm(str, &insn->src);
str_append(str, "), ");
return print_reg(str, &insn->dest);
@@ -299,10 +299,10 @@ static int print_mov_membase_reg(struct string *str,
struct insn *insn)
return print_membase_reg(str, insn);
}
-static int print_mov_memdisp_reg(struct string *str, struct insn *insn)
+static int print_mov_tlmemdisp_reg(struct string *str, struct insn *insn)
{
print_func_name(str);
- return print_memdisp_reg(str, insn);
+ return print_tlmemdisp_reg(str, insn);
}
static int print_mov_memindex_reg(struct string *str, struct insn *insn)
@@ -506,7 +506,7 @@ static print_insn_fn insn_printers[] = {
[INSN_MOV_IMM_REG] = print_mov_imm_reg,
[INSN_MOV_MEMLOCAL_REG] = print_mov_memlocal_reg,
[INSN_MOV_MEMBASE_REG] = print_mov_membase_reg,
- [INSN_MOV_THREAD_LOCAL_MEMDISP_REG] = print_mov_memdisp_reg,
+ [INSN_MOV_THREAD_LOCAL_MEMDISP_REG] = print_mov_tlmemdisp_reg,
[INSN_MOV_MEMINDEX_REG] = print_mov_memindex_reg,
[INSN_MOV_REG_MEMBASE] = print_mov_reg_membase,
[INSN_MOV_REG_MEMINDEX] = print_mov_reg_memindex,
--
1.6.0.6
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel