[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (l
From: |
Aleksey Demakov |
Subject: |
[dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (libjit) branch, master, updated. 4a4a71232da86da63591b06a99c9505e6c533b19 |
Date: |
Fri, 01 Jul 2011 20:01:30 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "DotGNU Portable.NET Just In Time compiler (libjit)".
The branch, master has been updated
via 4a4a71232da86da63591b06a99c9505e6c533b19 (commit)
from 9f94c48d3f6a3009701256e4626f84d250a84bd5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/libjit.git/commit/?id=4a4a71232da86da63591b06a99c9505e6c533b19
commit 4a4a71232da86da63591b06a99c9505e6c533b19
Author: Aleksey Demakov <address@hidden>
Date: Sat Jul 2 03:00:31 2011 +0700
amend debug info in compile_block()
diff --git a/ChangeLog b/ChangeLog
index a1440c7..2d085f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-02 Aleksey Demakov <address@hidden>
+
+ * jit/jit-compile.c (compile_block): amend debug info
+
2010-11-28 Klaus Treichel <address@hidden>
* config/jit-opcodes.ops: Set the destination value type for the
diff --git a/jit/jit-compile.c b/jit/jit-compile.c
index 8910912..9246172 100644
--- a/jit/jit-compile.c
+++ b/jit/jit-compile.c
@@ -26,6 +26,7 @@
#include "jit-reg-alloc.h"
#include "jit-setjmp.h"
#ifdef _JIT_COMPILE_DEBUG
+# include <jit/jit-dump.h>
# include <stdio.h>
#endif
@@ -161,7 +162,7 @@ compile_block(jit_gencode_t gen, jit_function_t func,
jit_block_t block)
jit_insn_t insn;
#ifdef _JIT_COMPILE_DEBUG
- printf("Block #%d: %d\n", func->builder->block_count++, block->label);
+ printf("Block #%d: %d\n\n", func->builder->block_count++, block->label);
#endif
/* Iterate over all blocks in the function */
@@ -171,8 +172,9 @@ compile_block(jit_gencode_t gen, jit_function_t func,
jit_block_t block)
#ifdef _JIT_COMPILE_DEBUG
unsigned char *p1, *p2;
p1 = gen->posn.ptr;
- printf("Insn: %5d, Opcode: 0x%04x\n",
func->builder->insn_count++, insn->opcode);
- printf("Start of binary code: 0x%08x\n", p1);
+ printf("Insn #%d: ", func->builder->insn_count++);
+ jit_dump_insn(stdout, func, insn);
+ printf("\nStart of binary code: 0x%08x\n", p1);
#endif
switch(insn->opcode)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
jit/jit-compile.c | 8 +++++---
2 files changed, 9 insertions(+), 3 deletions(-)
hooks/post-receive
--
DotGNU Portable.NET Just In Time compiler (libjit)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [dotgnu-pnet-commits] [SCM] DotGNU Portable.NET Just In Time compiler (libjit) branch, master, updated. 4a4a71232da86da63591b06a99c9505e6c533b19,
Aleksey Demakov <=