Mercurial > hg > graal-jvmci-8
changeset 22499:242e95e0617c
Enable commented out assertion
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Tue, 01 Sep 2015 17:28:48 +0200 |
parents | 4364dff053ac |
children | 6fa5f9a1a371 |
files | src/cpu/sparc/vm/templateInterpreter_sparc.cpp |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/templateInterpreter_sparc.cpp Tue Sep 01 17:11:50 2015 +0200 +++ b/src/cpu/sparc/vm/templateInterpreter_sparc.cpp Tue Sep 01 17:28:48 2015 +0200 @@ -1721,12 +1721,8 @@ // make sure I5_savedSP and the entry frames notion of saved SP // agree. This assertion duplicate a check in entry frame code // but catches the failure earlier. - /* - * Sanzinger: This does not make sense to me, since when we call stub_call -> i2c, the i2c may change the - * sp, which then is not in sync with Lscratch anymore. - */ - /*assert(*caller->register_addr(Lscratch) == *interpreter_frame->register_addr(I5_savedSP), - "would change callers SP");*/ + assert(*caller->register_addr(Lscratch) == *interpreter_frame->register_addr(I5_savedSP), + "would change callers SP"); } if (caller->is_entry_frame()) { tty->print("entry ");