When a live interval ends at a basic block boundary and is spilled, the
spill instruction will appear after the final jump of the basic block.
In that case, bb_last_insn really ought to return the struct insn
corresponding to the jump, not the spill instructions that have been
added afterwards.
Thi
Signed-off-by: Arthur HUILLET
---
jit/spill-reload.c | 36 ++--
1 files changed, 22 insertions(+), 14 deletions(-)
diff --git a/jit/spill-reload.c b/jit/spill-reload.c
index 8750dae..520e6d7 100644
--- a/jit/spill-reload.c
+++ b/jit/spill-reload.c
@@ -186,31 +18
Signed-off-by: Arthur HUILLET
---
jit/spill-reload.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/jit/spill-reload.c b/jit/spill-reload.c
index 520e6d7..61b97ff 100644
--- a/jit/spill-reload.c
+++ b/jit/spill-reload.c
@@ -196,7 +196,7 @@ static void insert_mov_insns(s
We need that for the register allocator.
Signed-off-by: Arthur HUILLET
---
include/jit/vars.h |2 +-
jit/interval.c |1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/jit/vars.h b/include/jit/vars.h
index b567116..a697b1c 100644
--- a/include/jit/vars.h
+++
Hi,
On Fri, 24 Jul 2009 22:44:15 +0200
Arthur HUILLET wrote:
> Signed-off-by: Arthur HUILLET
> ---
> jit/spill-reload.c |4 ++--
> regression/jvm/RegisterAllocatorTortureTest.java |5 ++---
> 2 files changed, 4 insertions(+), 5 deletions(-)
This is the pa
Signed-off-by: Arthur HUILLET
---
jit/spill-reload.c |4 ++--
regression/jvm/RegisterAllocatorTortureTest.java |5 ++---
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/jit/spill-reload.c b/jit/spill-reload.c
index 489cefe..8750dae 100644
--- a
Signed-off-by: Arthur HUILLET
---
regression/jvm/PrintTest.java |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/regression/jvm/PrintTest.java b/regression/jvm/PrintTest.java
index d0789e6..6746a9b 100644
--- a/regression/jvm/PrintTest.java
+++ b/regression/jvm/PrintTest.