On Thu, 2009-06-25 at 01:02 +0200, Arthur HUILLET wrote:
> It is necessary for System.out.println
>
> Signed-off-by: Arthur HUILLET
Seems reasonable although I usually don't like merging something that
has no users. Anyway, applied!
-
On Wed, 2009-06-24 at 22:25 +0200, Arthur HUILLET wrote:
> Signed-off-by: Arthur HUILLET
> ---
> regression/jvm/ObjectStackTest.java |3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
Nice work! Applied.
--
On Wed, 2009-06-24 at 22:21 +0200, Arthur HUILLET wrote:
> @@ -276,6 +277,121 @@ out:
> return err;
> }
>
> +static void assign_temporary(struct basic_block *bb, int entry, int slotnb,
> + struct var_info *tmp_high, struct var_info *tmp_low)
> +{
Indentation gone crazy in this
On Wed, 2009-06-24 at 22:21 +0200, Arthur HUILLET wrote:
> This will be necessary for bc2ir to work.
>
> Signed-off-by: Arthur HUILLET
> @@ -235,6 +236,13 @@ struct expression {
>
> /* EXPR_ARRAY_SIZE_CHECK and EXPR_MULTIARRAY_SIZE_CHECK */
> struct tree_node *size_
On Wed, 2009-06-24 at 18:13 +0200, Arthur HUILLET wrote:
> diff --git a/test/jit/basic-block-assert.h
> b/test/jit/basic-block-assert.h
> index 8f00672..abec84c 100644
> --- a/test/jit/basic-block-assert.h
> +++ b/test/jit/basic-block-assert.h
> @@ -12,16 +12,28 @@ static void inline assert_basic_b
On Thu, 2009-06-25 at 00:53 +0200, Arthur Huillet wrote:
> I wasted several hours until I noticed that OP_AND was only implemented with
> (reg, EXPR_LOCAL).
>
> The (reg, reg) variant is missing for several binops, and it's very difficult
> with monoburg to notice it.
Yup, I think it's worth some
It is necessary for System.out.println
Signed-off-by: Arthur HUILLET
---
arch/x86/emit-code.c|7 +++
arch/x86/include/arch/instruction.h |1 +
arch/x86/insn-selector_32.brg | 15 +++
arch/x86/lir-printer.c |7 +++
arch/x86/use-
Hi,
I wasted several hours until I noticed that OP_AND was only implemented with
(reg, EXPR_LOCAL).
The (reg, reg) variant is missing for several binops, and it's very difficult
with monoburg to notice it.
Implementing the (reg, reg) variants for operations will be my work of tomorrow
as it is
Signed-off-by: Arthur HUILLET
---
regression/jvm/ObjectStackTest.java |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/regression/jvm/ObjectStackTest.java
b/regression/jvm/ObjectStackTest.java
index d49cc62..04efeca 100644
--- a/regression/jvm/ObjectStackTest.java
+++ b
Mimic stack is now correctly spilled and reloaded at basic block
boundaries.
Signed-off-by: Arthur HUILLET
---
jit/bytecode-to-ir.c | 155 +-
1 files changed, 141 insertions(+), 14 deletions(-)
diff --git a/jit/bytecode-to-ir.c b/jit/bytecode-to-
BC2IR needs it to properly replace them by temporaries.
Signed-off-by: Arthur HUILLET
---
include/jit/basic-block.h |3 +++
jit/basic-block.c | 26 --
2 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/include/jit/basic-block.h b/include/jit/ba
This will be necessary for bc2ir to work.
Signed-off-by: Arthur HUILLET
---
include/jit/expression.h | 16
jit/expression.c | 12
jit/tree-printer.c | 11 +--
3 files changed, 37 insertions(+), 2 deletions(-)
diff --git a/include/jit/exp
Signed-off-by: Arthur HUILLET
---
jit/basic-block.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/jit/basic-block.c b/jit/basic-block.c
index df984eb..5a4fa53 100644
--- a/jit/basic-block.c
+++ b/jit/basic-block.c
@@ -167,6 +167,7 @@ int __bb_add_neighbor(struct basic_b
The list of predecessors is not set yet, this is just the
infrastructure.
Signed-off-by: Arthur HUILLET
---
include/jit/basic-block.h |2 ++
jit/basic-block.c | 32 +++-
jit/trace-jit.c | 23 +++
test/jit/basic
Signed-off-by: Arthur HUILLET
---
jit/bytecode-to-ir.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/jit/bytecode-to-ir.c b/jit/bytecode-to-ir.c
index 76fd5a4..862a335 100644
--- a/jit/bytecode-to-ir.c
+++ b/jit/bytecode-to-ir.c
@@ -143,7 +143,7 @@ static int spill_exp
The rationale for this is the same as for
commit 3d406995e21bf1695f6abc743fb37d16cc387f9e
("jit: remove is_jit_method() and introduce is_native()")
Signed-off-by: Tomek Grabiec
---
arch/x86/include/arch/signal.h |2 +-
arch/x86/signal.c |9 ++---
vm/signal.c
A number of utility functions are introduced for backtrace traversal
to assist java stack trace collecting. Only JIT methods and VM natives
should appear in stack trace so all native functions and trampolines
must be filtered out.
A new per-thread variable bottom_stack_frame is introduced to detec
All VM natives should be placed in a .vm_native section to allow
stack traversal functions to distinguish between regular native functions
and native functions which implement native java methods. The former
ones do not appear in stack trace but the latter do.
Signed-off-by: Tomek Grabiec
---
Ma
The natives VMThrowable.fillInStackTrace and VMThrowable.getStackTrace
are implemented. The stack trace can not be printed yet by invoking
printStackTrace() on java.lang.Throwable instance because jato cannot
execute PrintStream.print() yet. The stack trace can be however
printed when printStackTra
fixup_direct_calls() should be called whenever return address (ret) is
not NULL, it should not depend on whether compilation unit is marked
as compiled. That's because native methods are never marked as
compiled and yet we can fixup the calls.
Signed-off-by: Tomek Grabiec
---
jit/trampoline.c |
It is not safe to execute jit code in signal handler context. One of
the reasons is that throwing-by-signal mechanisms don't work in code
executed from signal handler. That's becasue kernel will not execute
user defined signal handler for SIGSEGV when second signal occures
while executing the handl
Signed-off-by: Tomek Grabiec
---
arch/x86/include/arch/stack-frame.h |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/x86/include/arch/stack-frame.h
b/arch/x86/include/arch/stack-frame.h
index 3f27fae..3813668 100644
--- a/arch/x86/include/arch/stack-frame.h
22 matches
Mail list logo