# HG changeset patch # User Stefan Anzinger # Date 1441121328 -7200 # Node ID 242e95e0617c3870ea54135a680f40a89a3f6a69 # Parent 4364dff053acb2771e76f7af6dd8171cf732dccf Enable commented out assertion diff -r 4364dff053ac -r 242e95e0617c src/cpu/sparc/vm/templateInterpreter_sparc.cpp --- 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 ");